joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40165c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.0040161c
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
push ecx
push eax
mov dword [esi + 8], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esi], eax
test eax, eax
je 0x401780
push ebx
xor ebx, ebx
inc ebx
push edi
mov edi, ebx
cmp dword [esi + 0xc], ebx
jle 0x401767
mov eax, dword [esi]
push 0x4011c8
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4016b2
mov dword [esi + 4], 0x401088
jmp 0x40175d
mov eax, dword [esi]
push 0x4011e4
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4016ce
mov byte [esi + 0x14], bl
jmp 0x40175d
mov eax, dword [esi]
push 0x4011f8
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4016e7
mov byte [esi + 0x15], bl
jmp 0x40175d
mov eax, dword [esi]
push 0x401218
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40175a
mov eax, dword [esi]
push 0x401230
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40175a
mov eax, dword [esi]
push 0x401250
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401728
mov byte [esi + 0x17], bl
jmp 0x40175d
mov eax, dword [esi]
push 0x401270
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401741
mov byte [esi + 0x18], bl
jmp 0x40175d
mov eax, dword [esi]
push 0x401290
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40175d
mov dword [esi + 0x10], ebx
jmp 0x40175d
mov byte [esi + 0x16], bl
inc edi
cmp edi, dword [esi + 0xc]
jl 0x401692
cmp byte [esi + 0x17], 0
jne 0x40177e
cmp byte [esi + 0x15], 0
jne 0x401779
cmp byte [esi + 0x16], 0
je 0x40177b
xor ebx, ebx
mov byte [esi + 0x14], bl
pop edi
pop ebx
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ebp
ret 4
Function at 0x4018f3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [section..data]
sub esp, 0x208
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x401978
push 0x206
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.00402b6e
add esp, 0xc
mov esi, ebx
xor eax, eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [esi + 0x4012a4]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x401960
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [section..data], eax
jmp 0x401965
mov eax, dword [section..data]
test eax, eax
jne 0x401978
add esi, 4
cmp esi, 0xc
jb 0x401920
mov eax, dword [0x40300c]
jmp 0x4019af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401378
push eax
call esi
push 0x401384
push dword [section..data]
mov dword [0x403004], eax
call esi
push 0x401390
push dword [section..data]
mov dword [0x403008], eax
call esi
mov dword [0x40300c], eax
cmp dword [0x403004], ebx
je 0x4019c6
cmp dword [0x403008], ebx
je 0x4019c6
test eax, eax
je 0x4019c6
xor ebx, ebx
inc ebx
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401cb1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov edi, 0x104
push edi
push esi
call fcn.00402cb2
add esp, 0xc
test al, al
je 0x401d60
push 0x40143c
push edi
push esi
call fcn.00402c8a
add esp, 0xc
test al, al
je 0x401d60
push edi
push esi
call fcn.00402ced
mov ebx, eax
sub edi, ebx
pop ecx
pop ecx
cmp edi, 0xb
jb 0x401d60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
shr ecx, 0xc
xor eax, ecx
lea ecx, [esi + ebx*2]
push 0xa
mov dword [ebp + 0xc], eax
pop eax
push edi
dec eax
push ecx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push 4
push eax
call fcn.00402c2f
add esp, 0x10
test al, al
je 0x401d60
lea eax, [ebx + 5]
mov ecx, esi
push eax
call fcn.00402b51
push 0x401534
push 0x104
push esi
call fcn.00402c8a
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401d69
inc dword [ebp + 0xc]
lea ecx, [esi + ebx*2]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401d10
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x401540
push 0x104
push esi
call fcn.00402c8a
add esp, 0xc
jmp 0x401d62
Function at 0x401d7e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push dword [ebp + 8]
xor eax, eax
mov ebx, 0x104
mov word [ebp - 0x254], ax
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00402cb2
add esp, 0xc
test al, al
je 0x401ebc
push dword [ebp + 0xc]
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00402c8a
add esp, 0xc
test al, al
je 0x401ebc
push 0x401550
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00402c8a
add esp, 0xc
test al, al
je 0x401ebc
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x24c]
push 0x24c
push esi
push eax
mov dword [ebp - 0x250], esi
call fcn.00402b6e
add esp, 0xc
lea eax, [ebp - 0x250]
push esi
push esi
push 1
push eax
push esi
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401eba
xor eax, eax
mov word [ebp - 0x460], ax
mov word [ebp - 0x668], ax
test byte [ebp - 0x250], 0x10
je 0x401ea1
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea esi, [ebp - 0x1c]
cmove esi, eax
push esi
call fcn.00402137
pop ecx
test al, al
jne 0x401ea1
push dword [ebp + 8]
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.00402cb2
add esp, 0xc
test al, al
je 0x401ea1
push esi
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.00402c8a
add esp, 0xc
test al, al
je 0x401ea1
lea eax, [ebp - 0x668]
push eax
call fcn.004023d9
pop ecx
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401e43
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401ee1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor eax, eax
push esi
mov word [ebp - 4], ax
mov esi, 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x401f31
cmp eax, esi
jae 0x401f31
xor esi, esi
push dword [esi + 0x401558]
lea eax, [ebp - 0x20c]
push eax
call fcn.00401d7e
add esi, 4
pop ecx
pop ecx
cmp esi, 8
jb 0x401f15
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4023d9
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x104
push ebx
push esi
call fcn.00402ced
push 0x401544
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.00402c8a
add esp, 0x14
test al, al
je 0x4024be
and dword [ebp - 0x250], 0
lea eax, [ebp - 0x24c]
push edi
push 0x24c
push 0
push eax
call fcn.00402b6e
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4024ac
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea ebx, [ebp - 0x1c]
cmove ebx, eax
push ebx
call fcn.00402137
pop ecx
test al, al
jne 0x402493
mov eax, dword [ebp + 8]
mov ecx, esi
inc eax
push eax
call fcn.00402b51
push ebx
push 0x104
push esi
call fcn.00402c8a
add esp, 0xc
test al, al
je 0x402493
test byte [ebp - 0x250], 0x10
push esi
je 0x40248d
call fcn.004023d9
pop ecx
jmp 0x402493
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402440
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
mov ecx, esi
call fcn.00402b51
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4024c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push 0x40
xor ebx, ebx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00402b6e
add esp, 0xc
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402511
xor al, al
jmp 0x402552
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40252f
xor bl, bl
jmp 0x402547
cmp dword [ebp + 0x10], 0
je 0x402547
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
neg eax
sbb al, al
and bl, al
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402e79
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402e93
xor al, al
jmp 0x402f03
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x402ea5
xor al, al
jmp 0x402f02
push ebx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x402ef2
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x402ef6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x402f01
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x419220
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a088
push 0x419360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x42ce64], 0xffffffff
or dword [0x42ce68], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x42ce0c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x42ce08]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x42ce6c], eax
call fcn.00419351
cmp dword [0x41b718], 0
jne 0x4192a3
push 0x41934e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0041933c
push 0x41b00c
push 0x41b008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x42ce04]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x42ce00]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x41b004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00419370
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41e090
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d18bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c5e95
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41e112
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c39c0
mov eax, dword [eax]
push 0x64f230
push eax
call fcn.004b4ec4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c6120
test bl, bl
je 0x41e112
push 0x64f230
lea ecx, [esp + 0xc]
call fcn.004c64b0
push 0x652dec
lea ecx, [esp + 0xc]
call fcn.004c64b0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41e14e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c6120
jmp 0x41e219
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41e1d2
lea edx, [esp + 0x7c]
push 0x652de8
push edx
call fcn.004b4ec4
add esp, 8
test eax, eax
je 0x41e1d2
lea eax, [esp + 0x7c]
push 0x652de4
push eax
call fcn.004b4ec4
add esp, 8
test eax, eax
je 0x41e1d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41e162
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c6120
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x41ea30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d193b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6675d8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41eb68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41ea96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c6120
xor eax, eax
jmp 0x41ebdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c625d
push esi
lea ecx, [esp + 0xc]
call fcn.004c64ec
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x652e24
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41ebbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x652e1c
push closesocket
call fcn.004755e0
test eax, eax
jne 0x41ebbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x652e08
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004755e0
test eax, eax
jne 0x41ebbd
lea eax, [esp + 0x14]
push 0x652e00
push eax
call fcn.004b5f00
mov esi, eax
add esp, 8
test esi, esi
jne 0x41eb9c
lea ecx, [esp + 0x14]
push 0x652dfc
push ecx
call fcn.004b5e80
mov esi, eax
add esp, 8
test esi, esi
jne 0x41eb9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41eb9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c620d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41eaae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c6120
xor eax, eax
jmp 0x41ebdf
mov byte [esi], 0
push 0x652df8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c6120
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x432cf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x432d5e
cmp si, 0x69
ja 0x432d5e
add esi, 0xffd0
cmp si, 0x11
je 0x432d2e
push 0x11
call edi
test ax, ax
jge 0x432d2e
or esi, 0x2000
cmp si, 0x10
je 0x432d43
push 0x10
call edi
test ax, ax
jge 0x432d43
or esi, 0x4000
cmp si, 0x12
je 0x432d58
push 0x12
call edi
test ax, ax
jge 0x432d58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x432d6b
mov esi, 0xbd
jmp 0x432d1f
cmp si, 0x6e
jne 0x432d78
mov esi, 0xbe
jmp 0x432d1f
cmp si, 0x6f
jne 0x432d19
mov esi, 0xbf
jmp 0x432d1f

Function at 0x4347c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x677e08]
xor edx, edx
cmp eax, edx
jne 0x4347e6
xor eax, eax
mov byte [eax + 0x677d08], al
inc eax
cmp eax, 0x100
jl 0x4347ce
mov dword [0x677e08], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x677d08
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x434877
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43484a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x434818
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4348f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x434943
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43492a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b7a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x43b938
cmp ebp, ebx
jle 0x43b938
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x43b7fe
dec eax
or eax, 0xfffffff8
inc eax
je 0x43b805
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x43b814
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43b81b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004c5e61
add esp, 4
cmp eax, ebx
je 0x43b83c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004c5e61
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43b92e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x43b915
mov al, byte [edx]
cmp al, 0xc0
jbe 0x43b901
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x43b8f6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x43b904
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x43b904
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x43b8a0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x43b891
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x43e8d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d3388
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x43e909
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004cd948
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004cd994
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0043e990
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004cd9d1
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24