joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5611
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
mov ebx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov eax, dword [ebx]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004b5300
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [0x4b96dc]
cmp edi, dword [esp + 0x24]
jl 0x4b571a
mov eax, dword [esp + 0x2c]
cmp edi, eax
jg 0x4b5669
cmp ebp, dword [esp + 0x20]
jl 0x4b5661
cmp ebp, dword [esp + 0x28]
jle 0x4b587e
cmp edi, eax
jle 0x4b576f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x30]
push edx
push eax
call dword [0x4b9684]
push 0
lea ecx, [esp + 0x54]
call 0x51af64
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push esi
pop eax
sub edi, dword [esp + 0x10]
mov dword [ebx], edi
jmp 0x4b576f

Function at 0x4b5c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b47d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x14], ebp
call fcn.004b2f00
test eax, eax
mov dword [esp + 0x18], eax
je 0x4b6530
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0xec]
mov ecx, eax
mov edi, dword [esp + 0xe8]
and ecx, 0x1e
xor ebx, ebx
cmp ecx, eax
sete bl
test ebx, ebx
jne 0x4b5c93
push esi
push edi
mov ecx, ebp
call fcn.004b6b00
test eax, eax
jne 0x4b5c93
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x4b6530
push eax
call dword [0x4b954c]
lea ecx, [esp + 0x90]
call fcn.004b1fd0
mov ecx, dword [esp + 0x18]
push 1
push esi
lea edx, [esp + 0x98]
push edi
push edx
mov dword [esp + 0xe4], 0
add byte [eax], al
add byte [eax], al
add al, ch
xchg ecx, eax
cmpsb byte [esi], byte es:[edi]
invalid
inc dword [ebx + 0x755601fb]
invalid
mov ecx, ebp
call fcn.004b2a70
push edi
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.004b2990
mov dword [esp + 0x24], eax
jmp 0x4b5cfa
lea eax, [esp + 0x50]
push edi
push eax
mov ecx, ebp
call fcn.004b6890
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x90]
call fcn.004b20b0
mov edi, eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x44], eax
and edi, 0xf
call fcn.004b2120
mov ebx, dword [esp + 0xe4]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
dec esp
and al, 0x20

Function at 0x4b5cb5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [eax], al
add al, ch
xchg ecx, eax
cmpsb byte [esi], byte es:[edi]
invalid
Function at 0x1003127
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x8000
call sub.ISCSIUM.dll_DiscpAllocMemory
mov esi, eax
test esi, esi
je 0x10031d1
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 0x4000
push esi
call sub.msvcrt.dll_vswprintf_s
add esp, 0x10
cmp dword [0x100a370], 2
jne 0x100318a
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1003166
push 0
sub eax, edx
lea ecx, [ebp - 8]
push ecx
sar eax, 1
push eax
push esi
push dword [0x100a36c]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x10031cb
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push esi
call fcn.0100269c
test eax, eax
jne 0x10031cb
mov eax, dword [ebp - 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10031a4
push 0
lea ecx, [ebp - 8]
push ecx
sub eax, edx
push eax
push dword [ebp - 4]
push dword [0x100a36c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call sub.ISCSIUM.dll_DiscpFreeMemory
push esi
call sub.ISCSIUM.dll_DiscpFreeMemory
pop esi
leave
ret

Function at 0x10031d9
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
push 0x800
call sub.ISCSIUM.dll_DiscpAllocMemory
mov edi, eax
xor ebx, ebx
mov dword [ebp - 8], edi
cmp edi, ebx
je 0x10032a5
push esi
mov esi, 0x200
push esi
push edi
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x100329c
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 8]
add edi, 0x400
push esi
push edi
call sub.msvcrt.dll_vswprintf_s
add esp, 0x10
cmp dword [0x100a370], 2
jne 0x100325e
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x100323b
push ebx
sub eax, edx
lea ecx, [ebp - 0xc]
push ecx
sar eax, 1
push eax
push edi
push dword [0x100a36c]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x100329c
push ebx
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.0100269c
test eax, eax
jne 0x100329c
mov eax, dword [ebp - 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1003276
push ebx
lea ecx, [ebp - 0xc]
push ecx
sub eax, edx
push eax
push dword [ebp - 4]
push dword [0x100a36c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call sub.ISCSIUM.dll_DiscpFreeMemory
push dword [ebp - 8]
call sub.ISCSIUM.dll_DiscpFreeMemory
pop esi
pop edi
pop ebx
leave
ret
Function at 0x1007a61
Capabilities:
Accept command line arguments
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5ac
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x100a36c], eax
cmp eax, 0xffffffff
jne 0x1007a9a
push 0x57
pop eax
jmp 0x1007c5f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
push esi
push esi
push 1
push esi
mov dword [0x100a370], eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push esi
push 0x1001648
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
lea eax, [ebp - 0x5ac]
push eax
call dword [sym.imp.ISCSIDSC.dll_GetIScsiVersionInformation]
test eax, eax
jne 0x1007aec
push 0x1db1
push dword [ebp - 0x5a8]
push dword [ebp - 0x5ac]
push 0x48b
call fcn.010031d9
add esp, 0x10
lea eax, [ebp - 0x59c]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x5a0], eax
cmp eax, esi
jne 0x1007c28
cmp dword [ebp + 8], 1
push ebx
push edi
jne 0x1007c0c
push dword [sym.imp.msvcrt.dll__iob]
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
jne 0x1007c1e
mov edi, 0x1000
mov ebx, 0x100a380
mov esi, 0x100c380
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.ISCSIDSC.dll_GetIScsiInitiatorNodeNameW]
mov dword [ebp - 0x5a0], eax
test eax, eax
jne 0x1007bd9
lea eax, [ebp - 0x204]
push eax
push 0x48c
call fcn.010031d9
push dword [sym.imp.msvcrt.dll__iob]
push edi
push ebx
call dword [sym.imp.msvcrt.dll_fgetws]
add esp, 0x14
test eax, eax
je 0x1007bc2
push 0x1002448
push edi
push esi
call fcn.01003034
push ebx
push edi
push esi
call fcn.0100306e
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1007b96
sub eax, ecx
sar eax, 1
lea eax, [eax*2 + 0x100c37e]
cmp word [eax], 0xa
jne 0x1007bb6
xor ecx, ecx
mov word [eax], cx
push esi
call fcn.01007477
mov dword [ebp - 0x5a0], eax
push dword [sym.imp.msvcrt.dll__iob]
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
je 0x1007b3c
jmp 0x1007c1e
push eax
push 0x104
lea eax, [ebp - 0x40c]
push eax
call fcn.01003741
push eax
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x48d
call fcn.01002613
push eax
push 0x10018f4
call fcn.01003127
add esp, 0xc
jmp 0x1007c1e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.01007477
mov dword [ebp - 0x5a0], eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop ebx
jmp 0x1007c59
push eax
push 0x104
lea eax, [ebp - 0x40c]
push eax
call fcn.01003741
push eax
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x48f
call fcn.01002613
push eax
push 0x10018f4
call fcn.01003127
add esp, 0xc
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01007fd9
leave
ret
Function at 0x1007f05
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x10085b0
call fcn.01007f14
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100e38c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1007d1a
cmp eax, esi
jne 0x1007d0d
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1007d1d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1007cf4
xor esi, esi
inc esi
mov eax, dword [0x100e388]
cmp eax, esi
jne 0x1007d30
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1007d6b
mov eax, dword [0x100e388]
test eax, eax
jne 0x1007d65
mov dword [0x100e388], esi
push 0x10011dc
push 0x10011d0
call fcn.01007c71
pop ecx
pop ecx
test eax, eax
je 0x1007d6b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1007e35
mov dword [0x100a03c], esi
mov eax, dword [0x100e388]
cmp eax, esi
jne 0x1007d8f
push 0x10011cc
push 0x10011c4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100e388], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1007d9c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100e390], ebx
je 0x1007dbd
push 0x100e390
call fcn.01008109
pop ecx
test eax, eax
je 0x1007dbd
push ebx
push 2
push ebx
call dword [0x100e390]
push dword [0x100a024]
push dword [0x100a028]
push dword [0x100a020]
call fcn.01007a61
add esp, 0xc
mov dword [0x100a038], eax
cmp dword [0x100a02c], ebx
jne 0x1007e1b
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 - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100a03c], ebx
jne 0x1007e29
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100a038]
call fcn.01007f59
ret
call fcn.01008256
jmp 0x1007cd2
Function at 0x1008483
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
call edi
test eax, eax
jne 0x1008505
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
cmp ebx, 0xea
jne 0x1008501
mov eax, dword [ebp - 4]
add eax, eax
push eax
call sub.ISCSIUM.dll_DiscpAllocMemory
mov dword [ebp - 8], eax
test eax, eax
je 0x1008529
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x10084dd
xor ebx, ebx
jmp 0x10084e5
call esi
mov ebx, eax
test ebx, ebx
jne 0x10084f7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x1008532
push dword [ebp - 8]
call sub.ISCSIUM.dll_DiscpFreeMemory
jmp 0x1008532
test ebx, ebx
jne 0x100852e
push 4
call sub.ISCSIUM.dll_DiscpAllocMemory
test eax, eax
je 0x1008529
xor ecx, ecx
mov word [eax], cx
mov word [eax + 2], cx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 2
jmp 0x1008532
push 8
pop ebx
jmp 0x1008532
call esi
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x100618c
Capabilities:
Create udp socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x904
mov eax, dword [0x1010b74]
mov dword [ebp - 4], eax
mov eax, dword [0x1010b50]
cmp eax, 0xffffffff
jne 0x10061d3
push 0
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x1010b50], eax
jne 0x10061d3
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov eax, dword [0x1010b50]
cmp eax, 0xffffffff
je 0x1006292
and dword [ebp - 0x8fc], 0
lea ecx, [ebp - 0x900]
push ecx
lea ecx, [ebp - 0x8fc]
push ecx
push 0x2003
push 0xffff
push eax
mov dword [ebp - 0x900], 4
call dword [sym.imp.WSOCK32.dll_getsockopt]
mov eax, dword [ebp - 0x8fc]
mov ecx, 0x8000
cmp eax, ecx
jb 0x1006214
mov eax, ecx
shr eax, 2
shl eax, 2
cmp eax, 0x80
mov dword [ebp - 0x8fc], eax
jae 0x1006230
and dword [0x1010b54], 0
jmp 0x100623d
cmp eax, dword [0x1010b54]
jae 0x100623d
mov dword [0x1010b54], eax
lea eax, [ebp - 0x904]
push eax
push 0x8f4
lea eax, [ebp - 0x8f8]
push eax
push 6
push 0xffffffffffffffff
push 0
call sub.WINSTA.dll_WinStationQueryInformationW
test al, al
je 0x100628c
cmp dword [ebp - 0x450], 2
movzx eax, byte [ebp - 0x454]
mov dword [0x1010b58], eax
jne 0x1006292
lea eax, [ebp - 0x44c]
push eax
call fcn.01005afc
cmp eax, 0xffffffff
je 0x1006292
mov dword [0x1019f30], eax
jmp 0x1006292
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
call fcn.010090ab
leave
ret
Function at 0x414e56
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00415006
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x414f54
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x414ef7
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x414f3a
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x414f0e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x414f29
test al, 0x40
je 0x414f20
mov ecx, dword [edi + 0x20]
jmp 0x414f27
test al, 0x80
je 0x414f3a
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x414f3a
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x414ec6
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41f820
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bcb7b
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.004aa3fe
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f8a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a76f4
mov eax, dword [eax]
push 0x5c9ce4
push eax
call fcn.00499644
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aa689
test bl, bl
je 0x41f8a2
push 0x5c9ce4
lea ecx, [esp + 0xc]
call fcn.004aaa65
push 0x5c9cf0
lea ecx, [esp + 0xc]
call fcn.004aaa65
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 0x41f8de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aa689
jmp 0x41f9a9
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 0x41f962
lea edx, [esp + 0x7c]
push 0x5c9cec
push edx
call fcn.00499644
add esp, 8
test eax, eax
je 0x41f962
lea eax, [esp + 0x7c]
push 0x5c9ce8
push eax
call fcn.00499644
add esp, 8
test eax, eax
je 0x41f962
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 0x41f8f2
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.004aa689
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 0x4201a0
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 0x420202
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 0x420210
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bcbfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5d38e8]
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 0x420348
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420276
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aa689
xor eax, eax
jmp 0x4203bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004aa812
push esi
lea ecx, [esp + 0xc]
call fcn.004aaaa1
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 0x42039d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004201a0
test eax, eax
jne 0x42039d
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.004201a0
test eax, eax
jne 0x42039d
lea eax, [esp + 0x14]
push 0x5c9d00
push eax
call fcn.0049a720
mov esi, eax
add esp, 8
test esi, esi
jne 0x42037c
lea ecx, [esp + 0x14]
push 0x5c9cfc
push ecx
call fcn.0049a6a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42037c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42037f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004aa7c2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42028e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aa689
xor eax, eax
jmp 0x4203bf
mov byte [esi], 0
push 0x5c9cf8
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.004aa689
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 0x434070
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 0x4340de
cmp si, 0x69
ja 0x4340de
add esi, 0xffd0
cmp si, 0x11
je 0x4340ae
push 0x11
call edi
test ax, ax
jge 0x4340ae
or esi, 0x2000
cmp si, 0x10
je 0x4340c3
push 0x10
call edi
test ax, ax
jge 0x4340c3
or esi, 0x4000
cmp si, 0x12
je 0x4340d8
push 0x12
call edi
test ax, ax
jge 0x4340d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4340eb
mov esi, 0xbd
jmp 0x43409f
cmp si, 0x6e
jne 0x4340f8
mov esi, 0xbe
jmp 0x43409f
cmp si, 0x6f
jne 0x434099
mov esi, 0xbf
jmp 0x43409f

Function at 0x435960
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5e4aa0]
xor edx, edx
cmp eax, edx
jne 0x435986
xor eax, eax
mov byte [eax + 0x5e49a0], al
inc eax
cmp eax, 0x100
jl 0x43596e
mov dword [0x5e4aa0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5e49a0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x435a17
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 0x4359ea
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 0x4359b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x435a90
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 0x435ae3
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 0x435aca
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