joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40235f
Capabilities:
Get socket status
Packed with generic packer
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x402378
push 1
pop eax
jmp fcn.004023ed
mov eax, dword [0x408488]
push 0
mov dword [ebp - 0x100], eax
push 0
lea eax, [ebp - 0x104]
push 0
push eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x104], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4023e6
test eax, eax
je 0x402378
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x402378
mov eax, ebx
push 0
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x4023e6
cmp eax, 0xffffffff
je 0x4023e6
add esi, eax
cmp esi, ebx
jb 0x402378
xor eax, eax
jmp loc.0040b152

Function at 0x402b47
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402bbc
push edi
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp + 8], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
jmp loc.0040b717
pop esi
pop ebx
leave
ret

Function at 0x402bc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407144
push str.WinExec
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetWindowsDirectoryA
push ebx
call esi
push eax
call edi
push str.GetModuleFileNameA
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
push str.CopyFileA
push ebx
mov dword [ebp - 0x20], eax
call esi
push eax
call edi
mov dword [ebp - 0x1c], eax
mov esi, 0x104
lea eax, [ebp - 0x278]
push esi
push eax
push 0
call dword [ebp - 0x20]
lea eax, [ebp - 0x174]
push esi
push eax
call dword [ebp - 4]
and byte [ebp - 0xa], 0
push 0x1a
mov byte [ebp - 0x18], 0x25
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x16], 0x25
mov byte [ebp - 0x15], 0x63
mov byte [ebp - 0x14], 0x25
mov byte [ebp - 0x13], 0x63
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x2e
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x78
mov byte [ebp - 0xb], 0x65
jmp loc.0040c457
Function at 0x402ee5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.ADVAPI32.dll
push str.RegCloseKey
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.RegOpenKeyExA
push ebx
mov dword [ebp - 0x28], eax
call esi
push eax
call edi
push 0x40
mov dword [ebp - 0x30], eax
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], dl
mov byte [ebp - 0x24], 0x53
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x24]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0x23], 0x59
jmp loc.0040bf6c

Function at 0x403044
Capabilities:
Contain obfuscated stackstrings
Delete registry key
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406160
push 0x403940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
push esi
push edi
push str.RegCloseKey
mov ebx, str.ADVAPI32.dll
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x260], eax
push str.OpenSCManagerA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x280], eax
push str.OpenServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x258], eax
push str.CloseServiceHandle
push ebx
call esi
push eax
call edi
jmp loc.0040c6ac

Function at 0x403ab0
Capabilities:
Packed with generic packer

Disassembly:
push 0x30000
push 0x10000
jmp loc.0040be47

Function at 0x403ae0
Capabilities:
Packed with generic packer

Disassembly:
push esi
push str.GetTickCount
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, eax
jmp loc.0040cf27

Function at 0x403b20
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
push str.gethostbyname
push str.WS2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0xc]
mov esi, eax
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
jge 0x403b5b
push edi
call esi
test eax, eax
jne 0x403b54
pop edi
pop esi
ret
jmp loc.0040ba11
pop edi
pop esi
ret
Function at 0x403b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcpyA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x40]
push 0x104
push eax
call ebx
mov al, 0x65
mov dl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], al
mov cl, 0x72
mov bl, 0x6c
mov dl, 0x78
xor al, al
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x49
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x27], 0x20
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x70
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x40]
push eax
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret

Function at 0x40550e
Capabilities:
Packed with generic packer

Disassembly:
cmp edi, 0xffffffff
je fcn.0040551a
push edi
jmp loc.0040b9a6

Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x40c056
Capabilities:
Terminate process

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
aam 3
aam 3
xor al, 0
pop edi
push ebx
dec edi
pop edi
dec edi
add al, 0
popal
popfd
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40c5c6
Capabilities:
Terminate process

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push eax
nop
push ebx
push edi
mov edx, ebx
push 0x4140e5
push 0
push 0
mov ecx, edi
sub ebx, 0x110
add esp, 0x18
leave
popal
popfd
and byte [ebp - 0x114], 0
jmp loc.004038ae

Function at 0x40cde4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411430
push 0x4107a6
push eax
push ebx
push edi
xor ebx, ebx
push 2
pop edi
push edi
pop ecx
mov ecx, dword [0x4045c7]
mov ecx, dword [0x40355c]
add esp, 0x18
leave
popal
popfd
call fcn.004018c0
jmp loc.004017df
Function at 0x10001039
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc dword [ebp - 8]
nop
jmp 0x1000229e
push ebp
push esp
pop esp
dec ebp
mov ebp, edi
mov ebp, esp
sub esp, 0x10
nop
push ebx
nop
push edi
nop
call fcn.10001399
mov dl, dl
or eax, ecx
sub ax, ax
or eax, 0x60501306
sub eax, 0x3dcb3c9e
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
nop
and dword [ebp - 4], 0
nop
jmp 0x100014a5
xor edx, eax
nop
jmp 0x10001008
add eax, esi
nop
or edi, dword [esp + 0x1c]
xor edi, esp
add edi, 0x67b31690
sub edi, edi
mov edi, ebp
mov edi, dword [eax + 0x24]
rol cl, cl
mov ecx, dword [eax + 0x20]
jmp 0x1000161e
and bx, 0x7063
mov ebx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
nop
add edi, esi
xchg bl, bl
add ecx, esi
nop
add ebx, esi
mov ecx, ecx
test eax, eax
jmp 0x10001646
jmp 0x10001b40
mov ax, 0x7cac
and eax, ecx
mov eax, dword [ebp - 4]
jmp 0x10002548
mov dword [ebp - 0x10], eax
jmp 0x10001b5a
jle 0x10002552
jmp 0x10001ca9
shl al, cl
add eax, dword [esp]
mov eax, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
xchg ebx, ebx
and dword [ebp - 0xc], 0
mov ebx, ebx
add edx, esi
nop
mov al, byte [edx]
nop
test al, al
jmp 0x10001ce6
je 0x10002376
jmp 0x10001f3a
mov dword [ebp - 8], edx
nop
mov dx, 0x2a5d
mov edx, dword [ebp - 0xc]
movsx eax, al
jmp 0x10001f64
rol edx, 3
jmp 0x10001f7b
jmp 0x100013d3
shr al, cl
mov al, al
rol ax, cl
mov ax, ax
mov eax, dword [ebp - 8]
mov al, byte [eax]
xchg al, al
test al, al
jmp 0x100022bf
mov dword [ebp - 0xc], edx
jmp 0x100022d8
jmp 0x10002370
jne 0x10001f3f
and eax, eax
add al, 0xfc
and al, 0x2a
and al, 0xcb
ror eax, cl
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
nop
jmp 0x100023a4
je 0x1000255c
inc dword [ebp - 4]
nop
jmp 0x1000172b
cmp eax, dword [ebp - 0x10]
nop
jl 0x10001ca9
xor eax, eax
mov ax, ax
jmp 0x10002612
shl eax, cl
mov eax, dword [ebp - 4]
movzx eax, word [edi + eax*2]
jmp 0x10002572
mov eax, dword [ebx + eax*4]
push esp
pop esp
add eax, esi
xchg ecx, ecx
jmp 0x10002612
sub edi, esp
sub edi, ebx
ror edi, cl
or edi, 0x7df74b3f
sub edi, dword [esp + 0x14]
pop edi
mov ebx, dword [esp + 0x14]
xor bl, al
shl bx, cl
shl bl, cl
add bl, 0xa0
pop ebx
leave
jmp 0x10002640
ret
Function at 0x10001399
Capabilities:
Encode data using xor

Disassembly:
test eax, eax
jmp 0x100010ba
jmp 0x10001e48
push eax
nop
mov dword [ebp - 0x20], 0x7b
nop
add ax, 0x23fe
push edx
or eax, dword [esp + 8]
sub eax, esp
mov al, bl
sub eax, dword [esp + 0x1c]
sub eax, eax
push 0
sub eax, dword [esp + 0x20]
inc ax
mov eax, esi
pop eax
add eax, 0
add eax, 0x23
xor edx, esp
dec eax
test eax, eax
jne 0x10001192
pop edx
lea eax, sym.imp.KERNEL32.dll_GetSystemInfo
mov eax, dword [eax]
call eax
push eax
pop eax
cmp dword [ebp - 0x20], 0x7b
nop
jne 0x10001974
jmp 0x100015f6
push ebp
nop
add ebp, esp
mov ebp, esp
sub esp, 0x24
xchg ax, ax
lea eax, [ebp - 0x24]
jmp 0x100013b7
jmp 0x1000115a
sub esp, 0xc
mov esp, esp
ret
push 0x48
jmp 0x10001983
add dword [esp], 0xffffffb8
push dword [sym.imp.comdlg32.dll_PrintDlgExA]
shl al, cl
and al, cl
and eax, 0x379f323d
or al, 0xd8
push ecx
sub eax, ebp
mov eax, 0x503b6471
add ax, bx
xor al, cl
push 0
sub eax, edx
pop eax
add eax, 0
add eax, 0xa
ror ecx, cl
or cl, bl
dec eax
test eax, eax
jne 0x100019be
pop ecx
pop eax
call eax
xchg ax, ax
jmp 0x1000109f
jne 0x10001e6c
sub esp, 4
nop
ret
push 0x52
jmp 0x10001e72
xor dword [esp], 0x51
push 0x6d
jmp 0x10001e82
sub dword [esp], 0x61
push edx
and eax, esi
push 0x19
sub eax, 0x31a22cef
rol ax, cl
sub al, 0x67
sub al, 0xef
pop eax
add edx, 0x146c3001
sub edx, dword [esp + 0x14]
add dl, 0x58
mov edx, 0x78f936dd
dec eax
test eax, eax
jne 0x10001ea1
pop edx
sub ax, ax
and eax, dword [esp + 0x14]
shr ax, cl
mov eax, sym.imp.GDI32.dll_SelectClipPath
mov eax, dword [eax]
call eax
push ebp
pop ebp
test eax, eax
jmp 0x10001ee8
jmp 0x10001fd7
je 0x10002001
sub esp, 4
xchg ax, ax
ret
leave
jmp 0x10002024
ret
Function at 0x4075de
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461944], 0
jne 0x407619
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4075f2
mov dword [ecx*4 + 0x461940], eax
inc ecx
cmp ecx, 0x100
jl 0x4075ed
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407646
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461940]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x407627
not eax
pop ebp
ret 0xc

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x371e7a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x3c13450e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x153114c3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x27e92583
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x414500
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c55b
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.004907e1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414582
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048e0ca
mov eax, dword [eax]
push 0x6211e0
push eax
call fcn.0047f3f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00490a6c
test bl, bl
je 0x414582
push 0x6211e0
lea ecx, [esp + 0xc]
call fcn.00490dfc
push 0x624d70
lea ecx, [esp + 0xc]
call fcn.00490dfc
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 0x4145be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00490a6c
jmp 0x414689
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 0x414642
lea edx, [esp + 0x7c]
push 0x624d6c
push edx
call fcn.0047f3f4
add esp, 8
test eax, eax
je 0x414642
lea eax, [esp + 0x7c]
push 0x624d68
push eax
call fcn.0047f3f4
add esp, 8
test eax, eax
je 0x414642
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 0x4145d2
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.00490a6c
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 0x4158e0
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 0x415942
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 0x415950
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c6bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x62dc20]
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 0x415a88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4159b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00490a6c
xor eax, eax
jmp 0x415aff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00490ba9
push esi
lea ecx, [esp + 0xc]
call fcn.00490e38
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x624da8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x415add
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004158e0
test eax, eax
jne 0x415add
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.004158e0
test eax, eax
jne 0x415add
lea eax, [esp + 0x14]
push 0x624d84
push eax
call fcn.004804c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x415abc
lea ecx, [esp + 0x14]
push 0x624d80
push ecx
call fcn.00480440
mov esi, eax
add esp, 8
test esi, esi
jne 0x415abc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x415abf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00490b59
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4159ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00490a6c
xor eax, eax
jmp 0x415aff
mov byte [esi], 0
push 0x624d7c
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.00490a6c
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 0x429a60
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 0x429ace
cmp si, 0x69
ja 0x429ace
add esi, 0xffd0
cmp si, 0x11
je 0x429a9e
push 0x11
call edi
test ax, ax
jge 0x429a9e
or esi, 0x2000
cmp si, 0x10
je 0x429ab3
push 0x10
call edi
test ax, ax
jge 0x429ab3
or esi, 0x4000
cmp si, 0x12
je 0x429ac8
push 0x12
call edi
test ax, ax
jge 0x429ac8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x429adb
mov esi, 0xbd
jmp 0x429a8f
cmp si, 0x6e
jne 0x429ae8
mov esi, 0xbe
jmp 0x429a8f
cmp si, 0x6f
jne 0x429a89
mov esi, 0xbf
jmp 0x429a8f

Function at 0x42b210
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x63e3f0]
xor edx, edx
cmp eax, edx
jne 0x42b236
xor eax, eax
mov byte [eax + 0x63e2f0], al
inc eax
cmp eax, 0x100
jl 0x42b21e
mov dword [0x63e3f0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x63e2f0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42b2c7
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 0x42b29a
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 0x42b268
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42b340
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 0x42b393
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 0x42b37a
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