joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d250
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
call fcn.00409828
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dl, byte [ecx + 3]
and dl, 0x7f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov byte [ecx + 3], dl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x135c]
sub eax, 2
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
call fcn.0041a0d0
add esp, 8
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x135c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1330]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x135c], eax
jne 0x41d2c5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x41d2c9
xor eax, eax
jmp 0x41d2d3
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x135c]
pop ebp
ret

Function at 0x41d4e0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d574
push 0x10024
push str.RTLDHCPService
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41d55d
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041a380
add esp, 4
movzx edx, al
test edx, edx
je 0x41d544
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push str.Successfully_Removed___n
call fcn.00409d25
add esp, 4
jmp 0x41d551
push str.Failed_to_Stop_Service.._n
call fcn.00409d25
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41d56a
push str.Service_Not_Found.._n
call fcn.00409d25
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4021d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x4021f9
lea eax, [edi + 0x10]
push eax
push str.Mutex__s_already_created
push ecx
mov ecx, 0x17d8441
call fcn.00402db4
mov al, 1
pop edi
pop esi
pop ebp
ret 8
lea esi, [edi + 0x10]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x402206
mov eax, dword [esi]
push eax
mov eax, dword [ebp + 8]
push 0
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
cmp eax, 0xb7
jne 0x40223a
push esi
push str.Got_handle_to_existing_mutex__s
push ecx
mov ecx, 0x17d8442
call fcn.00402db4
cmp dword [edi + 4], 0
jne 0x4021f1
lea eax, [ebp + 8]
push eax
push esi
push ecx
push ecx
call fcn.00402ebb
xor al, al
jmp 0x4021f3
Function at 0x4056c1
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x487024]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x4c], 0
push esi
xor esi, esi
and dword [ebp - 0x50], esi
push edi
mov edi, ecx
test edi, edi
jne 0x4056f9
mov eax, dword [0x488f24]
mov ecx, 0x488f24
push 0x15b3c8
call dword [eax + 4]
jmp 0x40584a
cmp dword [0x48b48c], esi
je 0x405710
mov eax, dword [0x487890]
mov dword [edi], eax
xor edi, edi
inc edi
jmp 0x40584a
and dword [edi], esi
lea eax, [ebp - 0x4c]
push ebx
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x405737
push 0x15b3c9
jmp 0x40582c
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 2
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x405758
push 0x15b3ca
jmp 0x40582c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x40576d
push 0x15b3cb
jmp 0x40582c
push dword [ebp - 0x50]
call fcn.0043e19a
mov ebx, eax
pop ecx
test ebx, ebx
je 0x405827
lea eax, [ebp - 0x50]
mov esi, ebx
push eax
push dword [ebp - 0x50]
push ebx
push 2
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4057a3
push 0x15b3cd
jmp 0x40582c
push 0x44
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004234c4
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0xb
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x4057d7
push 0x15b3ce
jmp 0x40582c
xor edx, edx
lea ecx, [ebx + 4]
mov eax, esi
mov dword [ebp - 0x54], ecx
xor ebx, ebx
mov dword [ebp - 0x58], edx
inc ebx
cmp edx, dword [eax]
jae 0x405818
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x40580a
mov eax, dword [ebp - 0x54]
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x405816
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
inc edx
add ecx, 8
jmp 0x4057dc
mov dword [edi], ebx
mov eax, dword [edi]
mov dword [0x48b48c], ebx
mov dword [0x487890], eax
jmp 0x40583b
push 0x15b3cc
mov eax, dword [0x488f24]
mov ecx, 0x488f24
call dword [eax + 4]
xor bl, bl
movzx edi, bl
pop ebx
test esi, esi
je 0x40584a
push esi
call fcn.00440e51
pop ecx
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x40585c
and dword [ebp - 0x4c], 0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00420fc8
mov esp, ebp
pop ebp
ret
Function at 0x406b76
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
mov esi, ecx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x406bb8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x406bb8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406bb8
cmp word [eax + 2], 0
je 0x406bb8
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x406bb8
add eax, 0x30
jmp 0x406bbd
mov eax, 0x4618e8
pop edi
pop esi
ret

Function at 0x406c46
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], 0x20a
mov word [eax], dx
lea edx, [ebp - 4]
push edx
push eax
push 0
push 2
push str.mso.dll
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
neg eax
sbb al, al
inc al
mov esp, ebp
pop ebp
ret 8

Function at 0x417cb6
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4506a1
mov eax, dword fs:[0]
push eax
mov eax, dword [0x487024]
push ecx
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x100]
push eax
lea eax, [ecx + 0xe0]
push eax
lea eax, [ecx + 0xc4]
push eax
push ecx
push ecx
lea eax, [ecx + 0xa8]
push eax
lea eax, [ecx + 0x98]
push eax
lea eax, [ecx + 0x78]
push eax
lea eax, [ecx + 0x68]
push eax
lea eax, [ecx + 0x60]
push eax
lea eax, [ecx + 0x48]
push eax
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x18]
lea edx, [ecx + 0x10]
mov ecx, dword [ebp + 8]
push eax
call fcn.004177e9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x41a3ba
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
push edi
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ecx + 0x10]
jb 0x41a3cd
mov ecx, dword [ecx]
xor esi, esi
mov edx, 0x811c9dc5
test edi, edi
je 0x41a3e9
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc esi
cmp esi, edi
jb 0x41a3d8
pop edi
mov eax, edx
pop esi
pop ebp
ret 4
Function at 0x41c85b
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451813
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x487024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ecx], 0x47efa8
mov dword [ecx + 8], esi
mov eax, dword [ebx]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x20]
push eax
add ecx, 0x18
call fcn.0040ad93
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x18]
push ebx
push eax
lea eax, [ebp + 0x20]
add ecx, 0x20
push eax
mov edx, esi
call fcn.0041ccbd
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x28], edi
mov eax, dword [ecx]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x3c]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
mov dword [esi], 0x47f088
mov dword [esi + 0x38], eax
lea eax, [ebp + 0x18]
push eax
call fcn.0040ad93
lea eax, [ebp + 0x20]
push eax
lea ecx, [esi + 0x44]
call fcn.0040ad93
mov eax, dword [ebx]
xor edi, edi
mov dword [esi + 0x50], eax
xor ecx, ecx
mov eax, dword [ebx + 4]
inc edi
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x41c929
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
mov ecx, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0
je 0x41c93e
mov ecx, dword [ebp + 0x1c]
call fcn.0040693a
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], edi
cmp dword [ebp + 0x24], 0
je 0x41c952
mov ecx, dword [ebp + 0x24]
call fcn.0040693a
mov ecx, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x41c967
mov dword [ebp - 4], 2
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x420fbe
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x484d28
call fcn.00421e1d
push 1
call fcn.0042104e
pop ecx
test al, al
jne 0x420e75
push 7
call fcn.00421c29
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00421019
mov byte [ebp - 0x24], al
mov eax, dword [0x48a888]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x420e6e
test eax, eax
jne 0x420edf
mov dword [0x48a888], ecx
push 0x45413c
push 0x45410c
call fcn.004416bc
pop ecx
pop ecx
test eax, eax
je 0x420ec2
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x420fb8
push 0x454108
push 0x454014
call fcn.00441660
pop ecx
pop ecx
mov dword [0x48a888], 2
jmp 0x420ee4
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004211bb
pop ecx
call fcn.00421c1d
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x420f14
push esi
call fcn.00421131
pop ecx
test al, al
je 0x420f14
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004218ce
call esi
call fcn.00421c23
mov esi, eax
cmp dword [esi], edi
je 0x420f32
push esi
call fcn.00421131
pop ecx
test al, al
je 0x420f32
push dword [esi]
call fcn.0044195f
pop ecx
call fcn.00421d3f
movzx eax, ax
push eax
call fcn.0044161a
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0044186e
test al, al
jne 0x420f5d
push esi
call fcn.00441997
test bl, bl
jne 0x420f66
call fcn.0044193a
push edi
push 1
call fcn.004211d8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x420fb8
call fcn.00421e62
ret
call fcn.00421b6e
jmp 0x420e56

Function at 0x424d1a
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x457428
push 0x457420
push str.FlsAlloc
push 0
call fcn.00424c9a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424d4c
push dword [ebp + 8]
mov ecx, esi
call fcn.004218ce
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x424d8e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x457438
push 0x457430
push str.FlsGetValue
push 2
call fcn.00424c9a
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x424dbf
mov ecx, esi
call fcn.004218ce
call esi
jmp 0x424dc5
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x424dc8
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x457440
push 0x457438
push str.FlsSetValue
push 3
call fcn.00424c9a
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x424dfc
mov ecx, esi
call fcn.004218ce
call esi
jmp 0x424e02
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x427907
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x42df8c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x42df9a
mov eax, edx
xor edx, edx
div dword [ebp + 0xc]
pop esi
mov eax, edx
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..00cfg
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x15bf1c44
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3cf37cc8
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40cc30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48459b
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.00476b2a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ccb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004744ed
mov eax, dword [eax]
push 0x568210
push eax
call fcn.004664e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00476db5
test bl, bl
je 0x40ccb2
push 0x568210
lea ecx, [esp + 0xc]
call fcn.00477191
push 0x56bd8c
lea ecx, [esp + 0xc]
call fcn.00477191
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 0x40ccee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00476db5
jmp 0x40cdb9
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 0x40cd72
lea edx, [esp + 0x7c]
push 0x56bd88
push edx
call fcn.004664e4
add esp, 8
test eax, eax
je 0x40cd72
lea eax, [esp + 0x7c]
push 0x56bd84
push eax
call fcn.004664e4
add esp, 8
test eax, eax
je 0x40cd72
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 0x40cd02
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.00476db5
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 0x40d5b0
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 0x40d612
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 0x40d620
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48461b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5730f8]
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 0x40d758
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d686
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476db5
xor eax, eax
jmp 0x40d7cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00476f3e
push esi
lea ecx, [esp + 0xc]
call fcn.004771cd
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x56bdc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40d7ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040d5b0
test eax, eax
jne 0x40d7ad
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.0040d5b0
test eax, eax
jne 0x40d7ad
lea eax, [esp + 0x14]
push 0x56bda0
push eax
call fcn.004675c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d78c
lea ecx, [esp + 0x14]
push 0x56bd9c
push ecx
call fcn.00467540
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d78c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d78f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00476eee
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d69e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476db5
xor eax, eax
jmp 0x40d7cf
mov byte [esi], 0
push 0x56bd98
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.00476db5
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 0x41edb0
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 0x41ee1e
cmp si, 0x69
ja 0x41ee1e
add esi, 0xffd0
cmp si, 0x11
je 0x41edee
push 0x11
call edi
test ax, ax
jge 0x41edee
or esi, 0x2000
cmp si, 0x10
je 0x41ee03
push 0x10
call edi
test ax, ax
jge 0x41ee03
or esi, 0x4000
cmp si, 0x12
je 0x41ee18
push 0x12
call edi
test ax, ax
jge 0x41ee18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41ee2b
mov esi, 0xbd
jmp 0x41eddf
cmp si, 0x6e
jne 0x41ee38
mov esi, 0xbe
jmp 0x41eddf
cmp si, 0x6f
jne 0x41edd9
mov esi, 0xbf
jmp 0x41eddf

Function at 0x420770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x583f48]
xor edx, edx
cmp eax, edx
jne 0x420796
xor eax, eax
mov byte [eax + 0x583e48], al
inc eax
cmp eax, 0x100
jl 0x42077e
mov dword [0x583f48], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x583e48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x420827
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 0x4207fa
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 0x4207c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4208a0
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 0x4208f3
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 0x4208da
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