joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4551f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x481a58]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], str.getaddrinfo
mov dword [ebp - 0x18], 0x4554a0
mov dword [ebp - 0x14], str.getnameinfo
mov dword [ebp - 0x10], 0x455d10
mov dword [ebp - 0xc], str.freeaddrinfo
mov dword [ebp - 8], fcn.00455430
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
cmp dword [0x48e8f8], 0
je 0x45525b
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x481654]
jmp 0x455415
push 0x104
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x455276
jmp 0x45536b
lea edx, [ebp - 0x240]
push edx
push 0x10c
lea eax, [ebp - 0x138]
push eax
call fcn.0045fcdd
add esp, 0xc
push str.ws2_32
push 0x10c
lea ecx, [ebp - 0x138]
push ecx
call fcn.0045fc69
add esp, 0xc
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4552e9
push str.getaddrinfo
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4552e9
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
je 0x4552f1
jmp 0x45536b
lea edx, [ebp - 0x240]
push edx
push 0x10c
lea eax, [ebp - 0x138]
push eax
call fcn.0045fcdd
add esp, 0xc
push str.wship6
push 0x10c
lea ecx, [ebp - 0x138]
push ecx
call fcn.0045fc69
add esp, 0xc
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x455364
push str.getaddrinfo
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x455364
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
jmp 0x45536b
cmp dword [ebp - 0x20], 0
je 0x455400
mov dword [ebp - 4], 0
jmp 0x455387
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x47b2b4]
jge 0x4553ca
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*8 - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*8 - 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [ebp + edx*8 - 0x18], 0
jne 0x4553c8
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
jmp 0x4553ca
jmp 0x45537e
cmp dword [ebp - 0x20], 0
je 0x455400
mov dword [ebp - 4], 0
jmp 0x4553e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x47b2b4]
jge 0x455400
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*8 - 0x18]
mov dword [eax*8 + 0x481654], edx
jmp 0x4553d9
mov dword [0x48e8f8], 1
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x481654]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0045a968
mov esp, ebp
pop ebp
ret 4
Function at 0x455b60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx], 0
mov edx, dword [ebp + 0x18]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x455c28
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 8]
cmp edx, 2
jne 0x455c08
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0xa]
cmp ecx, 4
jne 0x455c08
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
jmp 0x455bc5
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x455c08
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
movzx eax, word [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00455910
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
jne 0x455bfb
mov eax, 8
jmp 0x455c6e
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
add ecx, 0x1c
mov dword [ebp - 0xc], ecx
jmp 0x455bbc
push 0x400
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
push 0x401
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0045d92e
add esp, 0x10
xor eax, eax
jmp 0x455c6e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
sub edx, 0x2af9
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 3
ja case.default.0x455c46
mov eax, dword [ebp - 0x18]
jmp dword [eax*4 + 0x455c74]
mov eax, 0x2af9
jmp 0x455c6e
mov eax, 0x2afa
jmp 0x455c6e
mov eax, 0x2afb
jmp 0x455c6e
mov eax, 0x2af9
jmp 0x455c6e
mov eax, 0x2af9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x455fc0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
push 0x1c
call fcn.0045b1c7
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x456085
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0045acf0
add esp, 4
add eax, 1
push eax
call fcn.0045b1c7
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x456085
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call fcn.0045ad80
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov ax, word [ebp + 0x1c]
mov word [edx + 0x18], ax
push 0
push 4
mov ecx, dword [ebp - 4]
push ecx
push 0x454ed0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x456085
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x4560b5
cmp dword [ebp - 4], 0
je 0x4560b5
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x4560a9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0045b0ea
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.0045b0ea
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4560c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xffffffff
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x4560ec
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x456b30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0x5dc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x480504]
push edx
mov eax, dword [0x49090c]
push eax
mov ecx, dword [0x490d54]
mov edx, dword [0x490908]
lea eax, [edx + ecx + 0x38]
push eax
push 0
push 0x44a00844
push 0
push str.EDIT
push 0x200
call fcn.00437190
add esp, 0x30
mov dword [0x48e930], eax
cmp dword [0x48e930], 0
je 0x456c0a
push 0
push 0x7fffffff
push 0xc5
mov ecx, dword [0x48e930]
push ecx
call fcn.00437390
add esp, 0x10
cmp dword [0x48c424], 0
je 0x456bce
push 1
mov edx, dword [0x48c424]
push edx
push 0x30
mov eax, dword [0x48e930]
push eax
call fcn.00437390
add esp, 0x10
push 5
mov ecx, dword [0x48e930]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 1
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x48e928], eax
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x48e92c], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x456d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
push 0
push 0
push 0xe
call fcn.00456c20
push eax
call fcn.00437390
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.0045b1c7
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x456de4
push 0x47b3b0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043add0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x456dd8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
push 0xd
call fcn.00456c20
push eax
call fcn.00437390
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.0045acf0
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0045fee7
add esp, 0x10
cmp eax, 1
jne 0x456dba
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0045b5d6
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x456dd8
mov edx, dword [ebp + 8]
push edx
call fcn.0043aab0
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.0045b0ea
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4571a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x481a58]
xor eax, ebp
mov dword [ebp - 4], eax
push 3
push 0x476394
push 0x47b4c8
call fcn.00431b60
push eax
call fcn.00436d10
add esp, 0x10
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 6
je 0x4571e9
cmp dword [ebp - 0x414], 7
jne 0x457296
lea eax, [ebp - 0x410]
push eax
push 0x400
call fcn.004386a0
add esp, 8
test eax, eax
jbe 0x457296
push 0x400
lea ecx, [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x457296
lea edx, [ebp - 0x820]
push edx
call fcn.00438720
add esp, 4
test eax, eax
je 0x457296
cmp dword [ebp - 0x414], 6
jne 0x457243
mov dword [ebp - 0x824], str.advfirewall_set_global_statefulftp_enable
jmp 0x45724d
mov dword [ebp - 0x824], str.advfirewall_set_global_statefulftp_disable
push 5
push 0
mov eax, dword [ebp - 0x824]
push eax
push str.netsh
push str.runas
push 0
call fcn.00439b40
add esp, 0x18
cmp eax, 0x20
ja 0x457287
push 0
push 0x476394
push str.FTP.
push 0
call fcn.00436d10
add esp, 0x10
lea ecx, [ebp - 0x410]
push ecx
call fcn.00438720
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a968
mov esp, ebp
pop ebp
ret

Function at 0x459dbc
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x481a58]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x459e91
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x459e80
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x459e6a
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x459e80
push eax
push edi
push dword [ebp - 0x110]
call fcn.00459d59
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x459e93
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045a968
leave
ret 4

Function at 0x45a968
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x481a58]
jne 0x45a972
repz ret
jmp fcn.00460119
Function at 0x46905b
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.00462152
and dword [ebp - 4], 0
cmp dword [0x48fc74], 0
mov ebx, eax
jne 0x46910c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4691bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4691bd
push eax
call fcn.004620e0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48fc74], eax
call esi
push eax
call fcn.004620e0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48fc78], eax
call esi
push eax
call fcn.004620e0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48fc7c], eax
call esi
push eax
call fcn.004620e0
pop ecx
mov dword [0x48fc84], eax
test eax, eax
je 0x46910c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004620e0
pop ecx
mov dword [0x48fc80], eax
mov eax, dword [0x48fc80]
cmp eax, ebx
je 0x469164
cmp dword [0x48fc84], ebx
je 0x469164
push eax
call fcn.0046215b
push dword [0x48fc84]
mov esi, eax
call fcn.0046215b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x469164
test edi, edi
je 0x469164
call esi
test eax, eax
je 0x46915b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46915b
test byte [ebp - 0xc], 1
jne 0x469164
or dword [ebp + 0x10], 0x200000
jmp 0x46919d
mov eax, dword [0x48fc78]
cmp eax, ebx
je 0x46919d
push eax
call fcn.0046215b
pop ecx
test eax, eax
je 0x46919d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46919d
mov eax, dword [0x48fc7c]
cmp eax, ebx
je 0x46919d
push eax
call fcn.0046215b
pop ecx
test eax, eax
je 0x46919d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48fc74]
call fcn.0046215b
pop ecx
test eax, eax
je 0x4691bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4691bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ac40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49780b
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.0048c2d3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41acc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048a1ad
mov eax, dword [eax]
push 0x5ebd04
push eax
call fcn.0047c194
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048c55e
test bl, bl
je 0x41acc2
push 0x5ebd04
lea ecx, [esp + 0xc]
call fcn.0048c8ee
push 0x5ebd10
lea ecx, [esp + 0xc]
call fcn.0048c8ee
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 0x41acfe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048c55e
jmp 0x41adc9
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 0x41ad82
lea edx, [esp + 0x7c]
push 0x5ebd0c
push edx
call fcn.0047c194
add esp, 8
test eax, eax
je 0x41ad82
lea eax, [esp + 0x7c]
push 0x5ebd08
push eax
call fcn.0047c194
add esp, 8
test eax, eax
je 0x41ad82
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 0x41ad12
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.0048c55e
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 0x41b5f0
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 0x41b652
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 0x41b660
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49788b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x629a14]
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 0x41b798
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41b6c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048c55e
xor eax, eax
jmp 0x41b80f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048c69b
push esi
lea ecx, [esp + 0xc]
call fcn.0048c92a
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 0x41b7ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041b5f0
test eax, eax
jne 0x41b7ed
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.0041b5f0
test eax, eax
jne 0x41b7ed
lea eax, [esp + 0x14]
push 0x5ebd20
push eax
call fcn.0047d210
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b7cc
lea ecx, [esp + 0x14]
push 0x5ebd1c
push ecx
call fcn.0047d190
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b7cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41b7cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048c64b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41b6de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048c55e
xor eax, eax
jmp 0x41b80f
mov byte [esi], 0
push 0x5ebd18
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.0048c55e
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 0x42d9f0
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 0x42da5e
cmp si, 0x69
ja 0x42da5e
add esi, 0xffd0
cmp si, 0x11
je 0x42da2e
push 0x11
call edi
test ax, ax
jge 0x42da2e
or esi, 0x2000
cmp si, 0x10
je 0x42da43
push 0x10
call edi
test ax, ax
jge 0x42da43
or esi, 0x4000
cmp si, 0x12
je 0x42da58
push 0x12
call edi
test ax, ax
jge 0x42da58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42da6b
mov esi, 0xbd
jmp 0x42da1f
cmp si, 0x6e
jne 0x42da78
mov esi, 0xbe
jmp 0x42da1f
cmp si, 0x6f
jne 0x42da19
mov esi, 0xbf
jmp 0x42da1f

Function at 0x42f3b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x63a260]
xor edx, edx
cmp eax, edx
jne 0x42f3d6
xor eax, eax
mov byte [eax + 0x63a160], al
inc eax
cmp eax, 0x100
jl 0x42f3be
mov dword [0x63a260], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x63a160
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42f467
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 0x42f43a
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 0x42f408
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42f4e0
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 0x42f533
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 0x42f51a
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