joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4636dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4636f3
add esp, 0xfffffff0
call fcn.00403d2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041af34
mov eax, dword [0x4b30a8]
cmp word [eax + 2], 0
jne 0x46371b
mov eax, dword [0x4b30a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465234
mov eax, dword [0x4b3160]
cmp word [eax + 2], 0
jne 0x463735
mov eax, dword [0x4b3160]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465440
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412a80]
call fcn.004039d8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412a80]
call fcn.004039d8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412a80]
call fcn.004039d8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x420b84]
call fcn.00428ca4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4638ec
mov eax, dword [0x4b2fb4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429078
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x465b10
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b2fb4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d3cc
test eax, eax
je 0x46383c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004093cc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d400
test eax, eax
je 0x463850
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b78
mov byte [ebx + 0xd4], 0
push ebx
push 0x464d7c
call fcn.0041c0b0
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4b2e64]
cmp byte [eax], 0
jne 0x4638a1
mov eax, ebx
call fcn.00463a30
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00465cec
mov eax, ebx
call fcn.0046684c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4638e1
call fcn.00403d84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463cb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b75b0]
cmp dword [eax + 0x30], 0
je 0x463d5a
cmp dword [ebx + 0x94], 0
jne 0x463d54
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463c40
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463d54
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x463d1a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463d54
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414e9c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463d29
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464a74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x464aa9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004049f8
jmp 0x464ab6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040495c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465ed0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465f3e
mov eax, esi
call fcn.0044fe88
test al, al
je 0x465f3e
mov eax, dword [ebx + 0x84]
call fcn.0044fae8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465f3e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x465f32
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044fae8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00447ea8
jmp 0x465f3e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00465d0c
pop esi
pop ebx
ret
Function at 0x469774
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4697a2
mov eax, ebx
call fcn.0046a228
cmp dword [ebx + 0x40], 0
je 0x46979b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x469813
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x469805
cmp dword [ebx + 8], 0
je 0x4697c4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4697d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x469805
cmp dword [ebx + 8], 0
je 0x4697b7
cmp eax, 3
je 0x4697e9
dec eax
jne 0x4697b7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4697b7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4697b7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x469831
cmp dword [ebx + 0x14], 0xcc
je 0x469831
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046983c
pop ebx
ret

Function at 0x4835f4
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
add eax, 0x11
mov edx, 0xe38e38e4
mul edx
shr edx, 5
mov eax, edx
or eax, eax
je 0x483697
mov ecx, dword [esp + 4]
add ecx, 0x484
nop
fld dword [ecx - 0x400]
xor byte [ecx - 0x2fd], 0x80
fld dword [ecx - 0x200]
fxch st(1)
fchs
fxch st(1)
fchs
fstp dword [ecx - 0x200]
fstp dword [ecx - 0x400]
fld dword [ecx - 0x100]
xor byte [ecx + 3], 0x80
fld dword [ecx + 0x100]
fxch st(1)
fchs
fxch st(1)
fchs
fstp dword [ecx + 0x100]
fstp dword [ecx - 0x100]
fld dword [ecx + 0x200]
xor byte [ecx + 0x303], 0x80
fld dword [ecx + 0x400]
fxch st(1)
fchs
fxch st(1)
fchs
fstp dword [ecx + 0x400]
fstp dword [ecx + 0x200]
add ecx, 8
dec eax
jne 0x48361c
ret

Function at 0x48b93c
Capabilities:
Resume thread

Disassembly:
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_ResumeThread
ret
Function at 0x490ac8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
cmp ebx, 0x64
jl 0x490b2a
mov eax, dword [ebp - 4]
mov dword [eax + 0x90], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
push ebp
push 0x490b23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd4]
mov dword [eax + 0x30], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490b2a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 4]
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404dcc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x496628
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
test dl, dl
je 0x49663f
add esp, 0xfffffff0
call fcn.00403d2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041af34
mov dl, 1
mov eax, dword [0x420074]
call fcn.00421968
mov dword [ebx + 0x38], eax
mov byte [ebx + 0xb8], 0
mov eax, dword [ebx + 0x38]
call fcn.004994c8
mov eax, dword [ebx + 4]
mov edx, dword [0x458b0c]
call fcn.00403bb8
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x65], 1
mov dword [ebx + 0x3c], 0xff00000f
mov dword [ebx + 0x40], 0xff00000f
mov dword [ebx + 0x54], 0xff00000d
mov dword [ebx + 0x50], 0xff00000d
mov dword [ebx + 0x44], 0xff00000f
mov dword [ebx + 0x58], 0xff000003
mov dword [ebx + 0x4c], 0xff00000f
mov dword [ebx + 0x48], 0xff00000d
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0xa7], 0xa
mov byte [ebx + 0xa8], 0x1e
mov dword [ebx + 0x60], 0x18
mov byte [ebx + 0x64], 1
movzx edx, word [0x4967a8]
mov eax, ebx
call fcn.0049940c
mov edx, dword [0x4967ac]
mov eax, ebx
call fcn.00499464
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x49670c
mov eax, esi
call fcn.0045e320
mov edx, eax
mov eax, ebx
call fcn.004982ac
mov byte [ebx + 0x66], 0
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
mov byte [ebx + 0xb6], 0
mov byte [ebx + 0xb5], 0
mov byte [ebx + 0xb7], 0
cmp dword [ebp - 0x88], 2
jne 0x49677d
mov byte [ebx + 0xb7], 1
cmp dword [ebp - 0x94], 5
jne 0x496764
cmp dword [ebp - 0x90], 0
jne 0x496764
mov byte [ebx + 0xb5], 1
cmp dword [ebp - 0x94], 5
jne 0x49677d
cmp dword [ebp - 0x90], 1
jne 0x49677d
mov byte [ebx + 0xb6], 1
test byte [ebx + 0x1c], 0x10
jne 0x496788
call fcn.00496580
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49679f
call fcn.00403d84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x499bec
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x499c02
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x499bfb
mov eax, esp
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, esi
test edi, edi
jl 0x499c5e
inc edi
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.004215d0
mov ecx, eax
mov eax, ecx
and eax, 0xff
cdq
idiv esi
add dword [ebp - 8], eax
mov eax, ecx
and eax, 0xff00
shr eax, 8
cdq
idiv esi
add dword [ebp - 0xc], eax
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
cdq
idiv esi
add dword [ebp - 0x10], eax
add ebx, 4
dec edi
jne 0x499c22
movzx eax, byte [ebp - 8]
movzx edx, byte [ebp - 0xc]
shl edx, 8
or eax, edx
movzx edx, byte [ebp - 0x10]
shl edx, 0x10
or eax, edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4011d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
push 0x104
mov ecx, edi
mov dword [esp + 0xc], 0x104
mov dword [esp + 0x10], 1
call sub.MFC42u.DLL_CString::GetBuffer
mov esi, eax
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREIBMPWRMGRPath
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40123e
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push esi
push edx
push eax
mov eax, dword [esp + 0x24]
push 0x403a64
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
mov ecx, edi
call sub.MFC42u.DLL_CString::ReleaseBuffer
pop edi
pop esi
add esp, 8
ret

Function at 0x401670
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 8], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
mov cx, word [esp + 0x64]
mov dword [esp + 0x10], eax
lea edx, [esp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
mov word [esp + 0x5c], cx
mov ecx, dword [esp + 0x74]
push 0
push 0
push 0
push ecx
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x4016e1
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 8]
push eax
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret 8
Function at 0x401920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4024f8
push 0x401c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
or ebx, 0xffffffff
mov dword [0x405d1c], ebx
mov dword [0x405d20], ebx
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x405d10]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x405d0c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x405d18], ecx
call fcn.00401c70
mov eax, dword [0x403958]
test eax, eax
jne 0x4019ac
push 0x401c60
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00401c40
push 0x403018
push 0x403014
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x405d08]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x405d04]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___wgetmainargs]
add esp, 0x14
push 0x403010
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__wcmdln]
mov esi, dword [edx]
test esi, esi
jne 0x401a1e
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x74], esi
cmp word [esi], 0x22
jne 0x401af7
add esi, 2
mov dword [ebp - 0x74], esi
mov ax, word [esi]
test ax, ax
je 0x401a3f
cmp ax, 0x22
jne 0x401a2b
cmp word [esi], 0x22
jne 0x401a4b
add esi, 2
mov dword [ebp - 0x74], esi
mov ax, word [esi]
test ax, ax
je 0x401a61
cmp ax, 0x20
ja 0x401a61
add esi, 2
mov dword [ebp - 0x74], esi
jmp 0x401a4b
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x30], 1
je 0x401a82
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x401a87
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esi], 0x20
jbe 0x401a4b
add esi, 2
mov dword [ebp - 0x74], esi
jmp 0x401af7
Function at 0x40b9c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46fbab
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.004643eb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ba42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00462000
mov eax, dword [eax]
push 0x5e6200
push eax
call fcn.004542b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00464676
test bl, bl
je 0x40ba42
push 0x5e6200
lea ecx, [esp + 0xc]
call fcn.00464a06
push 0x5e9d74
lea ecx, [esp + 0xc]
call fcn.00464a06
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 0x40ba7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00464676
jmp 0x40bb49
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 0x40bb02
lea edx, [esp + 0x7c]
push 0x5e9d70
push edx
call fcn.004542b4
add esp, 8
test eax, eax
je 0x40bb02
lea eax, [esp + 0x7c]
push 0x5e9d6c
push eax
call fcn.004542b4
add esp, 8
test eax, eax
je 0x40bb02
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 0x40ba92
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.00464676
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 0x40c340
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40c3a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40c3b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46fc2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5f07b0]
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 0x40c4e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c416
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00464676
xor eax, eax
jmp 0x40c55f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004647b3
push esi
lea ecx, [esp + 0xc]
call fcn.00464a42
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5e9dac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c53d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040c340
test eax, eax
jne 0x40c53d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040c340
test eax, eax
jne 0x40c53d
lea eax, [esp + 0x14]
push 0x5e9d88
push eax
call fcn.004552f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c51c
lea ecx, [esp + 0x14]
push 0x5e9d84
push ecx
call fcn.00455270
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c51c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c51f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00464763
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c42e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00464676
xor eax, eax
jmp 0x40c55f
mov byte [esi], 0
push 0x5e9d80
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.00464676
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 0x41dad0
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 0x41db3e
cmp si, 0x69
ja 0x41db3e
add esi, 0xffd0
cmp si, 0x11
je 0x41db0e
push 0x11
call edi
test ax, ax
jge 0x41db0e
or esi, 0x2000
cmp si, 0x10
je 0x41db23
push 0x10
call edi
test ax, ax
jge 0x41db23
or esi, 0x4000
cmp si, 0x12
je 0x41db38
push 0x12
call edi
test ax, ax
jge 0x41db38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41db4b
mov esi, 0xbd
jmp 0x41daff
cmp si, 0x6e
jne 0x41db58
mov esi, 0xbe
jmp 0x41daff
cmp si, 0x6f
jne 0x41daf9
mov esi, 0xbf
jmp 0x41daff

Function at 0x41f1f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x600ec0]
xor edx, edx
cmp eax, edx
jne 0x41f216
xor eax, eax
mov byte [eax + 0x600dc0], al
inc eax
cmp eax, 0x100
jl 0x41f1fe
mov dword [0x600ec0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x600dc0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41f2a7
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 0x41f27a
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 0x41f248
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41f320
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 0x41f373
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 0x41f35a
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