joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4126f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x412714
cmp dword [edi + 0x54], 0
jne 0x412714
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004141b4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004126b1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4157d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4157ef
mov edi, dword [esi + 0xc]
jmp 0x41582f
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x415808
call fcn.0040e206
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x41581d
call fcn.0040e206
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x41582f
call fcn.0040e206
call fcn.004141b4
cmp dword [eax + 0x3c], 0
je 0x415844
push edi
mov ecx, ebx
call fcn.00414619
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004156fd
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x415862
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x41586e
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4282fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bd7f4]
jne 0x428306
repz ret
jmp fcn.0042f5c6
Function at 0x43a2b2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042efd5
and dword [ebp - 4], 0
cmp dword [0x4c19d0], 0
mov ebx, eax
jne 0x43a363
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43a414
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43a414
push eax
call fcn.0042ef63
mov dword [esp], 0x49b6f4
push edi
mov dword [0x4c19d0], eax
call esi
push eax
call fcn.0042ef63
mov dword [esp], 0x49b6e0
push edi
mov dword [0x4c19d4], eax
call esi
push eax
call fcn.0042ef63
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c19d8], eax
call esi
push eax
call fcn.0042ef63
pop ecx
mov dword [0x4c19e0], eax
test eax, eax
je 0x43a363
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042ef63
pop ecx
mov dword [0x4c19dc], eax
mov eax, dword [0x4c19dc]
cmp eax, ebx
je 0x43a3bb
cmp dword [0x4c19e0], ebx
je 0x43a3bb
push eax
call fcn.0042efde
push dword [0x4c19e0]
mov esi, eax
call fcn.0042efde
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43a3bb
test edi, edi
je 0x43a3bb
call esi
test eax, eax
je 0x43a3b2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43a3b2
test byte [ebp - 0xc], 1
jne 0x43a3bb
or dword [ebp + 0x10], 0x200000
jmp 0x43a3f4
mov eax, dword [0x4c19d4]
cmp eax, ebx
je 0x43a3f4
push eax
call fcn.0042efde
pop ecx
test eax, eax
je 0x43a3f4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43a3f4
mov eax, dword [0x4c19d8]
cmp eax, ebx
je 0x43a3f4
push eax
call fcn.0042efde
pop ecx
test eax, eax
je 0x43a3f4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c19d0]
call fcn.0042efde
pop ecx
test eax, eax
je 0x43a414
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43a416
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44e460
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x49f7e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
push 0x49f800
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x49f814
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x4c1a90], 2
jne 0x44e4b0
movzx ecx, word [ebp + 0xc]
shl ecx, 0xa
movzx edx, word [ebp + 8]
or ecx, edx
push ecx
call dword [ebp - 4]
jmp 0x44e4c4
movzx eax, word [ebp + 0xc]
shl eax, 0xa
movzx ecx, word [ebp + 8]
or eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x463d40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491009
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4bd7f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push 0x4a0b0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
push 0x4a0b28
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
push 0x4a0b3c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x4c1a90], 2
jne 0x463daf
movzx ecx, word [ebp + 0xc]
shl ecx, 0xa
movzx edx, word [ebp + 8]
or ecx, edx
push ecx
call dword [ebp - 0x10]
jmp 0x463dc3
movzx eax, word [ebp + 0xc]
shl eax, 0xa
movzx ecx, word [ebp + 8]
or eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
lea ecx, [ebp - 0x14]
call fcn.004015e0
mov dword [ebp - 4], 0
push 0x6e
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x438
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0x6f
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x439
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0x70
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x43a
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0x72
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x43b
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0x73
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x43c
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0x71
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x43d
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x3f2
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x3f6
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x43e
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0xad
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x3f1
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0xb0
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x3ed
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0xdb
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x3f0
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0xf2
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x3f3
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
push 0xfb
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x55f
mov ecx, dword [ebp - 0x20]
call fcn.0040ce7d
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401680
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x467560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1002c
call fcn.0042c900
mov eax, dword [0x4bd7f4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1002c], ecx
push 0x4abdc8
lea ecx, [ebp + 8]
call fcn.00401060
push eax
call fcn.00429877
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x10014], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
call fcn.00429981
add esp, 4
test eax, eax
jne 0x4676b1
push 0x10000
push 0
lea ecx, [ebp - 0x10010]
push ecx
call fcn.00428440
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
push 0x10000
push 1
lea eax, [ebp - 0x10010]
push eax
call fcn.00429c89
add esp, 0x10
mov dword [ebp - 0x10018], eax
cmp dword [ebp - 0x10018], 0x10000
jne 0x46760d
mov ecx, dword [ebp - 8]
push ecx
call fcn.00429981
add esp, 4
test eax, eax
je 0x467667
mov dword [ebp - 0x1001c], 0
jmp 0x467628
mov edx, dword [ebp - 0x1001c]
add edx, 1
mov dword [ebp - 0x1001c], edx
mov eax, dword [ebp - 0x10018]
sub eax, 4
cmp dword [ebp - 0x1001c], eax
jge 0x467655
mov ecx, dword [ebp - 0x1001c]
movzx edx, byte [ebp + ecx - 0x10010]
add edx, dword [ebp - 0x10014]
mov dword [ebp - 0x10014], edx
jmp 0x467619
mov eax, dword [ebp - 0x10018]
mov ecx, dword [ebp + eax - 0x10014]
mov dword [ebp - 4], ecx
jmp 0x4676ac
mov dword [ebp - 0x10020], 0
jmp 0x467682
mov edx, dword [ebp - 0x10020]
add edx, 1
mov dword [ebp - 0x10020], edx
mov eax, dword [ebp - 0x10020]
cmp eax, dword [ebp - 0x10018]
jge 0x4676ac
mov ecx, dword [ebp - 0x10020]
movzx edx, byte [ebp + ecx - 0x10010]
add edx, dword [ebp - 0x10014]
mov dword [ebp - 0x10014], edx
jmp 0x467673
jmp 0x4675a7
mov eax, dword [ebp - 8]
push eax
call fcn.00429905
add esp, 4
mov ecx, dword [ebp - 0x10014]
cmp ecx, dword [ebp - 4]
je 0x4676e2
mov dword [ebp - 0x10024], 1
lea ecx, [ebp + 8]
call fcn.00401680
mov eax, dword [ebp - 0x10024]
jmp 0x4676fa
mov dword [ebp - 0x10028], 0
lea ecx, [ebp + 8]
call fcn.00401680
mov eax, dword [ebp - 0x10028]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004282fc
mov esp, ebp
pop ebp
ret 4
Function at 0x467b00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49106a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4bd7f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push 0x4a345c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
push str.SetThreadUILanguage
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
push str.012345
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x4c1a90], 2
jne 0x467b6f
movzx ecx, word [ebp + 0xc]
shl ecx, 0xa
movzx edx, word [ebp + 8]
or ecx, edx
push ecx
call dword [ebp - 0x10]
jmp 0x467b83
movzx eax, word [ebp + 0xc]
shl eax, 0xa
movzx ecx, word [ebp + 8]
or eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
lea ecx, [ebp - 0x14]
call fcn.004015e0
mov dword [ebp - 4], 0
push 0x6b
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 4
mov ecx, dword [ebp - 0x20]
call fcn.0040ce2a
mov ecx, eax
call fcn.0040cf6a
push 0xaf
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 5
mov ecx, dword [ebp - 0x20]
call fcn.0040ce2a
mov ecx, eax
call fcn.0040cf6a
push 0x9a
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 2
mov ecx, dword [ebp - 0x20]
call fcn.0040ce2a
mov ecx, eax
call fcn.0040cf6a
push 0x74
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 0x457
mov ecx, dword [ebp - 0x20]
call fcn.0040ce2a
mov ecx, eax
call fcn.0040cf6a
push 0xa7
lea ecx, [ebp - 0x14]
call fcn.00402350
lea ecx, [ebp - 0x14]
call fcn.00401060
push eax
push 3
mov ecx, dword [ebp - 0x20]
call fcn.0040ce2a
mov ecx, eax
call fcn.0040cf6a
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401680
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x48aa30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x100
jne 0x48aad3
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x48aad3
cmp dword [ebp - 4], 9
je 0x48aa71
cmp dword [ebp - 4], 0x21
je 0x48aa71
cmp dword [ebp - 4], 0x22
jne 0x48aad3
cmp dword [ebp - 4], 0x21
je 0x48aa9e
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x48aa9e
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00401ff0
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0048a930
mov dword [ebp - 0x10], eax
jmp 0x48aab4
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00401ff0
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0048a8c0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jl 0x48aacc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0048a9b0
mov eax, 1
jmp 0x48aad5
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x412c00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49280b
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.00487600
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412c82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048537a
mov eax, dword [eax]
push 0x555ce8
push eax
call fcn.004771c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048788b
test bl, bl
je 0x412c82
push 0x555ce8
lea ecx, [esp + 0xc]
call fcn.00487c1b
push 0x555cf4
lea ecx, [esp + 0xc]
call fcn.00487c1b
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 0x412cbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048788b
jmp 0x412d89
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 0x412d42
lea edx, [esp + 0x7c]
push 0x555cf0
push edx
call fcn.004771c4
add esp, 8
test eax, eax
je 0x412d42
lea eax, [esp + 0x7c]
push 0x555cec
push eax
call fcn.004771c4
add esp, 8
test eax, eax
je 0x412d42
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 0x412cd2
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.0048788b
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 0x413580
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 0x4135e2
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 0x4135f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49288b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5958e8]
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 0x413728
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x413656
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048788b
xor eax, eax
jmp 0x41379f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004879c8
push esi
lea ecx, [esp + 0xc]
call fcn.00487c57
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41377d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00413580
test eax, eax
jne 0x41377d
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 closesocket
mov ecx, edi
call fcn.00413580
test eax, eax
jne 0x41377d
lea eax, [esp + 0x14]
push 0x555d04
push eax
call fcn.00478240
mov esi, eax
add esp, 8
test esi, esi
jne 0x41375c
lea ecx, [esp + 0x14]
push 0x555d00
push ecx
call fcn.004781c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41375c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41375f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00487978
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41366e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048788b
xor eax, eax
jmp 0x41379f
mov byte [esi], 0
push 0x555cfc
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.0048788b
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 0x424360
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 0x4243ce
cmp si, 0x69
ja 0x4243ce
add esi, 0xffd0
cmp si, 0x11
je 0x42439e
push 0x11
call edi
test ax, ax
jge 0x42439e
or esi, 0x2000
cmp si, 0x10
je 0x4243b3
push 0x10
call edi
test ax, ax
jge 0x4243b3
or esi, 0x4000
cmp si, 0x12
je 0x4243c8
push 0x12
call edi
test ax, ax
jge 0x4243c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4243db
mov esi, 0xbd
jmp 0x42438f
cmp si, 0x6e
jne 0x4243e8
mov esi, 0xbe
jmp 0x42438f
cmp si, 0x6f
jne 0x424389
mov esi, 0xbf
jmp 0x42438f

Function at 0x425ce0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5a60d0]
xor edx, edx
cmp eax, edx
jne 0x425d06
xor eax, eax
mov byte [eax + 0x5a5fd0], al
inc eax
cmp eax, 0x100
jl 0x425cee
mov dword [0x5a60d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5a5fd0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425d97
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 0x425d6a
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 0x425d38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425e10
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 0x425e63
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 0x425e4a
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 0x42cee0
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 0x42d078
cmp ebp, ebx
jle 0x42d078
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 0x42cf3e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42cf45
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42cf54
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42cf5b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004875cc
add esp, 4
cmp eax, ebx
je 0x42cf7c
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.004875cc
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 0x42d06e
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 0x42d055
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42d041
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42d036
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 0x42d044
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42d044
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42cfe0
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 0x42cfd1
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