joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a44f
Capabilities:
Accept command line arguments
Query environment variable
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x41c238
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x4cd14c], eax
mov al, ah
and eax, 0xff
mov dword [0x4cd158], eax
mov eax, dword [0x4cd14c]
shr dword [0x4cd14c], 0x10
and eax, 0xff
mov dword [0x4cd154], eax
shl eax, 8
add eax, dword [0x4cd158]
mov dword [0x4cd150], eax
call fcn.0041c18e
mov dword [ebp - 4], 0
call fcn.0041c0a0
call fcn.0041c095
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x425128], eax
call fcn.0041bc09
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x4cd124], eax
call fcn.0041bb3e
call fcn.0041a5cf
mov esi, dword [0x425128]
mov al, byte [esi]
cmp al, 0x22
jne 0x41a50d
mov al, byte [ebp - 0x28]
inc esi
mov al, byte [esi]
test al, al
je 0x41a505
cmp al, 0x22
jne 0x41a4fa
cmp byte [esi], 0x22
jne 0x41a517
inc esi
jmp 0x41a517
cmp al, 0x20
jbe 0x41a517
inc esi
cmp byte [esi], 0x20
ja 0x41a511
cmp byte [esi], 0
je 0x41a527
cmp byte [esi], 0x20
ja 0x41a527
inc esi
cmp byte [esi], 0
jne 0x41a51c
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
je 0x41a547
movzx eax, word [ebp - 0x40]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0041a5ff
jmp 0x41a583
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a621
Capabilities:
Terminate process

Disassembly:
mov dword [0x4cd184], 1
cmp dword [esp + 8], 0
push ebx
push esi
mov ebx, dword [esp + 0x14]
mov byte [0x4cd180], bl
jne 0x41a67d
cmp dword [0x425124], 0
je 0x41a66b
mov esi, dword [0x425120]
sub esi, 4
cmp dword [0x425124], esi
ja 0x41a66b
mov eax, dword [esi]
test eax, eax
je 0x41a660
call eax
sub esi, 4
cmp dword [0x425124], esi
jbe 0x41a658
push 0x4ce440
push 0x4ce438
call fcn.0041a6a0
add esp, 8
push 0x4ce448
push 0x4ce444
call fcn.0041a6a0
add esp, 8
test ebx, ebx
jne 0x41a69d
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret

Function at 0x41affb
Capabilities:
Delete file

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov eax, 0
jne 0x41b014
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41b028
push eax
call fcn.0041d934
add esp, 4
mov eax, 0xffffffff
jmp 0x41b02a
xor eax, eax
ret
Function at 0x41dc65
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
cmp esi, dword [0x4cd478]
jb 0x41dc97
mov dword [0x4cd140], 9
mov dword [0x4cd144], 0
mov eax, 0xffffffff
jmp 0x41de58
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], 0
test edx, edx
je 0x41de56
mov al, byte [esi + 0x4cd480]
test al, 2
jne 0x41de56
test al, 0x48
je 0x41dcda
mov al, byte [esi + str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_f]
cmp al, 0xa
je 0x41dcda
dec edx
mov byte [ecx], al
mov dword [ebp - 8], 1
mov byte [esi + str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_f], 0xa
inc ecx
push 0
lea eax, [ebp - 0x10]
push eax
push edx
push ecx
push dword [esi*4 + 0x4cd4c0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41dd33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41dd17
mov dword [0x4cd140], 9
mov dword [0x4cd144], eax
mov eax, 0xffffffff
jmp 0x41de58
cmp eax, 0x6d
je 0x41de56
push eax
call fcn.0041d934
add esp, 4
mov eax, 0xffffffff
jmp 0x41de58
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
mov al, byte [esi + 0x4cd480]
test al, 0x80
je 0x41de51
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0xa
jne 0x41dd53
or al, 4
jmp 0x41dd55
and al, 0xfb
mov ebx, dword [ebp + 0xc]
mov byte [esi + 0x4cd480], al
mov edi, ebx
mov eax, dword [ebp - 8]
add eax, ebx
mov dword [ebp - 0xc], eax
cmp ebx, eax
jae 0x41de4b
mov al, byte [edi]
cmp al, 0x1a
je 0x41de39
cmp al, 0xd
je 0x41dd86
inc edi
mov byte [ebx], al
jmp 0x41de2d
mov ecx, dword [ebp - 0xc]
dec ecx
cmp ecx, edi
jbe 0x41ddaa
lea ecx, [edi + 1]
cmp byte [ecx], 0xa
jne 0x41dda1
add edi, 2
mov byte [ebx], 0xa
jmp 0x41de2d
mov edi, ecx
mov byte [ebx], al
jmp 0x41de2d
inc edi
push 0
lea eax, [ebp - 0x10]
lea ecx, [ebp - 1]
mov dword [ebp - 8], 0
push eax
push 1
push ecx
push dword [esi*4 + 0x4cd4c0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41ddd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41de2a
cmp dword [ebp - 0x10], 0
je 0x41de2a
test byte [esi + 0x4cd480], 0x48
je 0x41de07
cmp byte [ebp - 1], 0xa
jne 0x41ddf8
mov byte [ebx], 0xa
jmp 0x41de2d
mov byte [ebx], 0xd
inc ebx
mov al, byte [ebp - 1]
mov byte [esi + str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_f], al
jmp 0x41de2e
cmp dword [ebp + 0xc], ebx
jne 0x41de17
cmp byte [ebp - 1], 0xa
jne 0x41de17
mov byte [ebx], 0xa
jmp 0x41de2d
push 1
push 0xffffffffffffffff
push esi
call fcn.0041de5f
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x41de2e
mov byte [ebx], 0xd
inc ebx
cmp edi, dword [ebp - 0xc]
jb 0x41dd70
jmp 0x41de4b
mov al, byte [esi + 0x4cd480]
test al, 0x40
jne 0x41de4b
or al, 2
mov byte [esi + 0x4cd480], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x41de58
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e6b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov ebp, esp
sub esp, 0x410
cmp eax, dword [0x4cd478]
push ebx
push esi
push edi
jb 0x41e6ef
mov dword [0x4cd140], 9
mov dword [0x4cd144], 0
mov eax, 0xffffffff
jmp 0x41e84b
xor esi, esi
mov dword [ebp - 8], esi
cmp dword [ebp + 0x10], esi
jne 0x41e700
xor eax, eax
jmp 0x41e84b
mov eax, dword [ebp + 8]
test byte [eax + 0x4cd480], 0x20
je 0x41e719
push 2
push 0
push eax
call fcn.0041de5f
add esp, 0xc
mov eax, dword [ebp + 8]
test byte [eax + 0x4cd480], 0x80
je 0x41e7a3
mov dword [ebp - 0xc], 0
mov edi, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x41e7db
lea ebx, [ebp - 0x410]
mov eax, edi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x41e76d
mov al, byte [edi]
inc edi
cmp al, 0xa
jne 0x41e759
inc esi
mov byte [ebx], 0xd
inc ebx
lea ecx, [ebp - 0x410]
mov byte [ebx], al
inc ebx
mov eax, ebx
sub eax, ecx
cmp eax, 0x400
jl 0x41e743
lea eax, [ebp - 0x410]
push 0
sub ebx, eax
lea ecx, [ebp - 0x410]
lea eax, [ebp - 4]
push eax
push ebx
push ecx
mov eax, dword [ebp + 8]
push dword [eax*4 + 0x4cd4c0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41e7d2
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
cmp eax, ebx
jge 0x41e72f
jmp 0x41e7db
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax*4 + 0x4cd4c0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41e7d2
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x41e7db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jne 0x41e846
cmp dword [ebp - 0xc], 0
je 0x41e813
cmp dword [ebp - 0xc], 5
jne 0x41e801
mov dword [0x4cd140], 9
mov eax, dword [ebp - 0xc]
mov dword [0x4cd144], eax
jmp 0x41e80c
push dword [ebp - 0xc]
call fcn.0041d934
add esp, 4
mov eax, 0xffffffff
jmp 0x41e84b
mov eax, dword [ebp + 8]
test byte [eax + 0x4cd480], 0x40
je 0x41e82b
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x41e82b
xor eax, eax
jmp 0x41e84b
mov dword [0x4cd140], 0x1c
mov dword [0x4cd144], 0
mov eax, 0xffffffff
jmp 0x41e84b
mov eax, dword [ebp - 8]
sub eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420a06
Capabilities:
Clear file content

Disassembly:
push ebp
mov eax, 0x1008
mov ebp, esp
call fcn.0041b6ac
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [0x4cd478], esi
ja 0x420a37
mov dword [0x4cd140], 9
jmp 0x420b2e
push 1
push 0
push esi
call fcn.0041de5f
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x420b2e
push 2
push 0
push esi
call fcn.0041de5f
add esp, 0xc
cmp eax, 0xffffffff
je 0x420b2e
mov ecx, dword [ebp + 0xc]
mov ebx, ecx
sub ebx, eax
test ebx, ebx
jle 0x420adb
lea edi, [ebp - 0x1008]
xor eax, eax
mov ecx, 0x400
push 0x8000
rep stosd dword es:[edi], eax
push esi
call fcn.00420bee
add esp, 8
mov edi, eax
mov eax, 0x1000
cmp ebx, eax
jge 0x420a9b
mov eax, ebx
push eax
lea ecx, [ebp - 0x1008]
push ecx
push esi
call fcn.0041e6b9
add esp, 0xc
cmp eax, 0xffffffff
je 0x420ab9
sub ebx, eax
test ebx, ebx
jg 0x420a90
jmp 0x420acf
cmp dword [0x4cd144], 5
jne 0x420acc
mov dword [0x4cd140], 0xd
mov dword [ebp - 4], eax
push edi
push esi
call fcn.00420bee
add esp, 8
jmp 0x420b1b
jge 0x420b1b
push 0
push ecx
push esi
call fcn.0041de5f
add esp, 0xc
push esi
call fcn.0041fb45
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
sbb ecx, ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xffffffff
jne 0x420b1b
mov dword [0x4cd140], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4cd144], eax
push 0
push dword [ebp - 8]
push esi
call fcn.0041de5f
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x420b33
mov eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421154
Capabilities:
Set environment variable

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
test esi, esi
je 0x421344
push 0x3d
push esi
call fcn.0042141e
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x421344
cmp ebp, esi
je 0x421344
cmp byte [ebp + 1], 1
sbb eax, eax
mov ecx, dword [0x4cd16c]
neg eax
mov dword [esp + 0x10], eax
cmp dword [0x4cd168], ecx
jne 0x4211b1
mov eax, dword [0x4cd168]
push eax
call fcn.004213ae
add esp, 4
mov dword [0x4cd168], eax
cmp dword [0x4cd168], 0
jne 0x421240
cmp dword [esp + 0x1c], 0
je 0x4211dc
cmp dword [0x4cd170], 0
je 0x4211dc
call fcn.00420e36
test eax, eax
je 0x421240
jmp 0x421344
cmp dword [esp + 0x10], 0
je 0x4211ea
xor eax, eax
jmp 0x421349
cmp dword [0x4cd168], 0
jne 0x421215
push 4
call fcn.0041a6c0
add esp, 4
mov dword [0x4cd168], eax
test eax, eax
je 0x421344
mov eax, dword [0x4cd168]
mov dword [eax], 0
cmp dword [0x4cd170], 0
jne 0x421240
push 4
call fcn.0041a6c0
add esp, 4
mov dword [0x4cd170], eax
test eax, eax
je 0x421344
mov eax, dword [0x4cd170]
mov dword [eax], 0
mov edi, dword [0x4cd168]
sub ebp, esi
push ebp
push esi
call fcn.00421351
add esp, 8
mov ebx, eax
test ebx, ebx
jl 0x421296
cmp dword [edi], 0
je 0x421296
cmp dword [esp + 0x10], 0
je 0x421291
lea eax, [edi + ebx*4]
cmp dword [eax], 0
je 0x42127a
mov ecx, dword [eax + 4]
inc ebx
mov dword [eax], ecx
add eax, 4
cmp dword [eax], 0
jne 0x42126c
lea eax, [ebx*4]
push eax
push edi
call fcn.0041b559
add esp, 8
test eax, eax
je 0x4212d1
jmp 0x4212cc
mov dword [edi + ebx*4], esi
jmp 0x4212d1
cmp dword [esp + 0x10], 0
jne 0x421340
test ebx, ebx
jge 0x4212a7
neg ebx
lea eax, [ebx*4 + 8]
push eax
push edi
call fcn.0041b559
add esp, 8
test eax, eax
je 0x421344
lea ecx, [eax + ebx*4]
mov dword [ecx], esi
mov dword [ecx + 4], 0
mov dword [0x4cd168], eax
cmp dword [esp + 0x1c], 0
je 0x42133c
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.0041a6c0
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x42133c
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 1
sbb eax, eax
lea ecx, [ebp + ebx]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [ecx], 0
lea ecx, [ecx + 1]
and eax, ecx
push eax
push ebx
call ebp
push ebx
call fcn.0041a905
add esp, 4
xor eax, eax
jmp 0x421349
xor eax, eax
jmp 0x421349
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x421515
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42153a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d934
add esp, 4
mov eax, 0xffffffff
jmp 0x421562
test al, 1
je 0x421560
test byte [esp + 8], 2
je 0x421560
mov dword [0x4cd140], 0xd
mov dword [0x4cd144], 5
mov eax, 0xffffffff
jmp 0x421562
xor eax, eax
ret
Function at 0x419410
Capabilities:
Get disk information

Disassembly:
sub esp, 8
mov eax, dword [0x4d1030]
mov edx, dword [0x4d1034]
mov dword [esp + 4], 0
push 0x4d1064
lea ecx, [eax + eax]
or ecx, edx
mov dword [esp + 4], ecx
fild qword [esp + 4]
fadd qword [0x4d1058]
fstp qword [0x4d1058]
invalid
invalid
invalid

Function at 0x4c6ecd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d13a0
cmp edx, dword [eax]
je 0x4c6eef
add eax, 8
inc ecx
cmp eax, 0x4d1430
jl 0x4c6ee0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d13a0]
jne 0x4c701d
mov eax, dword [0x4d6dd0]
cmp eax, 1
je 0x4c6ff7
test eax, eax
jne 0x4c6f20
cmp dword [0x4d12c8], 1
je 0x4c6ff7
cmp edx, 0xfc
je 0x4c701d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6f57
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c78b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7d40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c6f9a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7d40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cce24
push edi
call fcn.004c9c10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c78b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c78c0
lea eax, [ebp - 0xa0]
push 0x4cce04
push eax
call fcn.004c78c0
push dword [esi + 0x4d13a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c78c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c9b84
add esp, 0x2c
pop edi
jmp 0x4c701d
lea eax, [ebp + 8]
lea esi, [esi + 0x4d13a4]
push 0
push eax
push dword [esi]
call fcn.004c7d40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x44bad0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [esi], 0
add byte [eax], al
add byte [eax + 0x66104a], ah
mov cl, byte [0x66104d]
mov edx, dword [0x661030]
and cl, al
mov eax, dword [0x661034]
mov byte [0x66104d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x661043]
mov dword [0x661030], edx
mov edx, dword [0x661038]
or edx, 7
imul edx, ecx
and eax, edx
mov dword [0x661034], eax
call fcn.0044ba10
mov edx, dword [0x664aac]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [esi], eax
mov eax, dword [0x664aac]
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
push 0
call sub.comdlg32.dll_FindTextW
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44bb5b
or dword [esi], 0x2000000
mov eax, esi
pop edi
pop esi
ret

Function at 0x4eda45
Capabilities:
Encode data using xor

Disassembly:
pushfd
test al, 0xcd
mov esp, 0xc27e4fc5
dec eax
insb byte es:[edi], dx
in al, dx
in eax, 0xc8
and ecx, dword [ecx - 0x48]
push esi
xchg edi, eax
test eax, 0x87b54ec
cdq
mov word [ecx + 0x5f], cs
lds ebp, [eax - 0x5f]
pop eax
lea ebx, [0x465925a8]
imul ebp, dword [edx - 8], 0x28f5496a
push ebx
inc edx
dec ebx
jb 0x4eda23
jp 0x4eda10
jmp 0xb1705400
iretd
dec ebx
stc
mov esp, 0x7aa62816
mov eax, ebx
jmp 0xd9ad4693
movsb byte es:[edi], byte [esi]
add eax, 0xe36e5aa8
xchg ebx, eax
jecxz 0x4ed9bd
adc al, 0xc0
movsb byte es:[edi], byte [esi]
pop ss
pop esi
add byte [ebx + 0x1828249a], bl
lcall 0x297e, 0xc14ccb1e
xchg byte [0x9205f095], ah
aas
ror edi, 1
xor ebx, dword [ebp - 0x60ac62b8]
sti
jg 0x4edaa2
nop
insb byte es:[edi], dx
jecxz 0x4ed9fb
js 0x4eda28
mov esi, 0xa6ca18ad
lodsd eax, dword [esi]
sbb dl, cl
cmpsb byte [esi], byte es:[edi]
xor dh, byte [esi]
mov al, byte [0xc548b35]
daa
adc dword [ebx - 0x22b6a99], ebp
js 0x4eda55
sub dword [esi - 0x721b7c5e], edi
mov edi, 0x6b687c7b
xor bl, bl
pop ebp
add esp, 0x39
invalid
and al, 0x5b
movsb byte es:[edi], byte [esi]
cmp bh, ah
arpl bp, bp
mov al, byte [0x2aecd89a]
xor cl, cl
jbe 0x4edaf1
push ss
stc
xchg esi, eax
fcmovnb st(0), st(6)
pop esi
sbb dword [esi + edi*8 + 0x3d], 0x6dc8b461
pop ebp
iretd
imul edi, dword [eax + 0x13cb4968], 0xebaa48c8
call 0xd7a3ba5c
mov al, byte [0x886734ab]
out 0x24, eax
inc esp
mov ebp, 0x4f17949b
sahf
or al, 0xa8
xchg edx, eax
ret
Function at 0x58a329
Capabilities:
Encode data using xor

Disassembly:
and al, 0x72
js 0x58a293
loope 0x58a31a
add dword [ecx], 0x74
pop edx
invalid
pop es
or byte [eax], dl
insb byte es:[edi], dx
or byte [eax + 0x31], al
adc byte [ebp - 0xbba6cb4], dh
cmp al, 0xc2
lcall 0xe60a, 0x2892d479
or ah, dh
out 0x4c, eax
mov bh, 0xd4
jo 0x58a39f
xchg byte [ecx], bl
or bh, byte [eax + eax*8 + 0x74]
mov ch, 0x36
mov word [esi + 0x35faac6c], ss
ja 0x58a35e
push ebx
inc ebx
inc esp
or al, 0x20
jae 0x58a3d3
mov dword [0xa2f37457], eax
in al, dx
cmpsd dword [esi], dword es:[edi]
stosd dword es:[edi], eax
and eax, 0x9dc085c0
sub dl, byte [ecx + 0x7183ebec]
jg 0x58a33c
mov byte [0x25aba7ec], al
rol byte [ebp - 0x6ed56240], 0xec
jmp 0x58a2f0
xor dword [ecx + 0x7f], 0xffffffcc
out dx, al
and esi, eax
invalid
outsd dx, dword [esi]
mov ecx, 0xbb9722d
cmp ebx, dword [esp + ebp - 0x506a1b43]
push edx
xchg ebx, eax
shr dword [edx + 0x64], cl
jnp 0x58a418
add ch, byte [edi]
das
rcl dword [eax], cl
pop edi
xor eax, 0xacba7642
add dword [esi - 0x6b0cbbe8], 0xffffffd3
je 0x58a3b5
je 0x58a36c
sub ebp, dword [edi - 0x3a]
ret 0xd7f3
jo 0x58a42c
dec esp
mov edx, 0xb2624fa2
xchg dword [ebx - 0x7a90b77b], esi
push edi
ljmp 0x4705
invalid
jecxz 0x58a3fc
lea esp, [0x3f595846]
pop ecx
aas
outsd dx, dword [esi]
outsd dx, dword [esi]
jge 0x58a400
ret 0xa8c3
and byte [esi + edi*2], dh
bound edx, qword [esp + esi + 0x53]
rcr dword [edx + edi], 0xfc
adc ah, cl
jnp 0x58a406
popfd
mov cl, 0x37
aaa
invalid
xor eax, 0x9f2197f3
and edx, dword [ebp + eax*2 - 0x1ae36ce5]
xor al, 0x67
pushal
xchg ecx, eax
adc edi, ecx
loope 0x58a429
mov bl, 0xef
xchg ebx, eax
dec edx
inc ecx
retf 0xed5b

Function at 0x6208e9
Capabilities:
Encode data using xor

Disassembly:
lcall 0x7bf9, 0x1b22edf9
sbb ch, byte [eax]
xchg esi, eax
mov esp, 0xa1a99c37
popal
invalid
Function at 0x65994d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x661398
cmp edx, dword [eax]
je 0x65996f
add eax, 8
inc ecx
cmp eax, 0x661428
jl 0x659960
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x661398]
jne 0x659a9d
mov eax, dword [0xa5dd74]
cmp eax, 1
je 0x659a77
test eax, eax
jne 0x6599a0
cmp dword [0x6612c4], 1
je 0x659a77
cmp edx, 0xfc
je 0x659a9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6599d7
lea eax, [ebp - 0x1a4]
push 0x65e9c8
push eax
call fcn.0065a330
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a7c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659a1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a7c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e9c4
push edi
call fcn.0065c690
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65e9a8
push eax
call fcn.0065a330
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a340
lea eax, [ebp - 0xa0]
push 0x65e9a4
push eax
call fcn.0065a340
push dword [esi + 0x66139c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a340
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65e97c
push eax
call fcn.0065c604
add esp, 0x2c
pop edi
jmp 0x659a9d
lea eax, [ebp + 8]
lea esi, [esi + 0x66139c]
push 0
push eax
push dword [esi]
call fcn.0065a7c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401880
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4853a9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1598]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], edi
mov dword [esp + 0x24], ebp
mov byte [ebp + 4], 0
xor esi, esi
cmp dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], 1
je 0x401a62
mov eax, dword [esp + 0x3c]
mov cl, byte [eax]
sub dword [esp + 0x40], 1
mov byte [esp + esi + 0x18], cl
mov bl, byte [esp + 0x19]
add esi, 1
add eax, 1
cmp esi, 3
mov dword [esp + 0x3c], eax
jne 0x401984
mov al, byte [esp + 0x18]
mov dl, al
shr dl, 2
and al, 3
shl al, 4
mov byte [esp + 0x14], dl
mov cl, bl
shr cl, 4
add al, cl
mov byte [esp + 0x15], al
mov al, byte [esp + 0x1a]
mov dl, bl
and dl, 0xf
add dl, dl
mov cl, al
add dl, dl
shr cl, 6
add dl, cl
and al, 0x3f
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], al
xor esi, esi
mov edi, edi
movzx edi, byte [esp + esi + 0x14]
cmp edi, dword [0x4b1018]
jbe 0x401952
call fcn.004113d1
cmp dword [0x4b101c], 0x10
mov eax, dword [0x4b1008]
jae 0x401965
mov eax, 0x4b1008
mov dl, byte [eax + edi]
mov byte [esp + 0x1c], dl
mov eax, dword [esp + 0x1c]
push eax
push 1
mov ecx, ebp
call fcn.004015f0
add esi, 1
cmp esi, 4
jl 0x401940
xor esi, esi
xor edi, edi
cmp dword [esp + 0x40], edi
jne 0x4018db
cmp esi, edi
je 0x401a62
cmp esi, 3
jge 0x4019b7
mov ecx, 3
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x1c]
push edi
push eax
call fcn.00410e00
mov bl, byte [esp + 0x25]
add esp, 0xc
mov al, byte [esp + 0x18]
mov dl, al
mov cl, bl
and al, 3
shl al, 4
shr cl, 4
add al, cl
shr dl, 2
and bl, 0xf
mov byte [esp + 0x15], al
mov al, byte [esp + 0x1a]
add bl, bl
mov byte [esp + 0x14], dl
mov dl, al
add bl, bl
shr dl, 6
add bl, dl
mov byte [esp + 0x16], bl
and al, 0x3f
lea ebx, [esi + 1]
test ebx, ebx
mov byte [esp + 0x17], al
jle 0x401a46
jmp 0x401a00
movzx eax, byte [esp + edi + 0x14]
cmp eax, dword [0x4b1018]
jbe 0x401a12
call fcn.004113d1
cmp dword [0x4b101c], 0x10
mov eax, dword [0x4b1008]
jae 0x401a25
mov eax, 0x4b1008
movzx ecx, byte [esp + edi + 0x14]
mov al, byte [eax + ecx]
mov byte [esp + 0x1c], al
mov ecx, dword [esp + 0x1c]
push ecx
push 1
mov ecx, ebp
call fcn.004015f0
add edi, 1
cmp edi, ebx
jl 0x401a00
cmp esi, 3
jge 0x401a62
mov edi, 3
sub edi, esi
push 0x3d
push 1
mov ecx, ebp
call fcn.004015f0
sub edi, 1
jne 0x401a52
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret