joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4695fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dcbec]
cmp dword [eax + 0x30], 0
je 0x4696a6
cmp dword [ebx + 0x94], 0
jne 0x4696a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46958c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4696a0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x469666
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4696a0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041cc0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x469675
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46a208
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46a23d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043f4
jmp 0x46a24a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404358
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46b354
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46b395
mov eax, esi
call fcn.0045133c
test al, al
je 0x46b395
mov eax, dword [ebx + 0x84]
call fcn.00451038
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b395
push 0
mov eax, dword [ebx + 0x84]
call fcn.00451038
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46c19c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4198a8]
call fcn.00404cbc
xor eax, eax
push ebp
push 0x46c2e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4da0c0], 0
jne 0x46c1ef
mov ecx, dword [0x4db580]
mov dl, 1
mov eax, dword [0x407ab4]
call fcn.0040cae8
call fcn.00403cbc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402dd4
mov eax, ebx
call fcn.00404b6c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46c2f0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040603c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404b7c
test eax, eax
jle 0x46c287
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46c280
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040458c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404574
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004089cc
test eax, eax
jne 0x46c280
mov ebx, 0x15
jmp 0x46c28c
mov ebx, 0x10
jmp 0x46c28c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4da0c0]
call fcn.0046c0f4
mov eax, dword [ebp - 8]
call fcn.0046c0f4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c2e7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404328
lea eax, [ebp - 0x10]
mov edx, dword [0x4198a8]
call fcn.00404d8c
ret
Function at 0x47d354
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d48e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041d8ec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x47d3d0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47d3d0
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004087ec
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x4db624]
mov ebx, dword [ebx]
mov eax, 0x47d4a4
call ebx
dec eax
jne 0x47d3d0
mov ebx, 1
jmp 0x47d3d2
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x47d473
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0047ce64
test al, al
jne 0x47d467
mov eax, dword [ebp - 4]
call fcn.0047d348
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404358
xor edx, edx
push ebp
push 0x47d455
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x47d44b
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0047d768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d467
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x47d3ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d495
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404328
ret
Function at 0x483100
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48312e
mov eax, ebx
call fcn.00483bb4
cmp dword [ebx + 0x40], 0
je 0x483127
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48319f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x483191
cmp dword [ebx + 8], 0
je 0x483150
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x483162
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x483191
cmp dword [ebx + 8], 0
je 0x483143
cmp eax, 3
je 0x483175
dec eax
jne 0x483143
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x483143
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x483143
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4831bd
cmp dword [ebx + 0x14], 0xcc
je 0x4831bd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004831c8
pop ebx
ret
Function at 0x4b38dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b3a5d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4db468], 0
jne 0x4b3a3a
push 0x4dcef8
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4b3a33
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4db468], 0
jne 0x4b3a1b
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404950
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.004047c4
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408730
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4b3a74
call fcn.00409a7c
mov eax, dword [ebp - 0xc]
call fcn.004047c4
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x4b399c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404950
jmp 0x4b39d3
lea eax, [ebp - 8]
mov edx, 0x4b3a94
call fcn.0040439c
xor eax, eax
push ebp
push 0x4b39c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0046c300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b39d3
mov eax, dword [ebp - 8]
call fcn.004047c4
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4db468], eax
cmp dword [0x4db468], 0
jne 0x4b3a06
mov ecx, dword [0x4db9dc]
mov dl, 1
mov eax, dword [0x407ab4]
call fcn.0040cae8
call fcn.00403cbc
push 0x4b3aa0
mov eax, dword [0x4db468]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcf10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3a3a
push 0x4dcef8
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3a64
lea eax, [ebp - 0x18]
call fcn.00404304
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404328
ret
Function at 0x4bf378
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x4bf3b3
cmp dword [ebx + 0x5c], 0
je 0x4bf3b3
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.004b7644
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4bf4fe
cmp dword [ebx + 0x7c], 0
jne 0x4bf3d9
mov dl, 1
mov eax, dword [0x41a414]
call fcn.004033fc
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4bf4d7
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4bf504]
push eax
mov al, byte [0x4bf508]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4dba10]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x4af968]
call fcn.004b17d4
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4bf4d0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004b7644
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.004b7644
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x4b4f00]
call fcn.00405864
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4bf4a3
mov edx, dword [0x4dbcec]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4bf4b4
cmp eax, 0x1007
jne 0x4bf4b0
mov byte [ebx + 0x74], 0x18
jmp 0x4bf4b4
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf4fe
mov eax, dword [ebp - 4]
call fcn.0040342c
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004b7644
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c0564
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c07c4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4c05c7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004c002c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d430
cmp al, 1
jne 0x4c05c7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004c0344
test al, al
je 0x4c0753
cmp dword [ebp - 8], 0
jge 0x4c05e5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004c002c
mov eax, dword [ebp - 0x210]
call fcn.004045c4
cmp ebx, eax
jge 0x4c062f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004c002c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4dbe10]
and eax, 0xff
bt dword [edx], eax
jae 0x4c062f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4c0643
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004c0540
cmp ebx, dword [ebp - 8]
je 0x4c0745
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4c066f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403628
and eax, 0x7f
movzx eax, word [eax*2 + 0x4db4bc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4c0732
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403628
and eax, 0x7f
movzx eax, word [eax*2 + 0x4db4bc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00451038
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403628
and eax, 0x7f
movzx eax, word [eax*2 + 0x4db4bc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00451038
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0739
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4c07a6
cmp dword [ebp - 8], 0
jge 0x4c075e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004c002c
mov eax, dword [ebp - 0x218]
call fcn.004045c4
cmp eax, dword [ebp - 8]
jg 0x4c0798
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004c002c
mov eax, dword [ebp - 0x21c]
call fcn.004045c4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004c0540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c07cb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404328
ret
Function at 0x4d7418
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4d74ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x4d7504
call fcn.0040439c
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.004047c4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d74d7
mov eax, dword [ebp - 8]
call fcn.004027e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d74d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4d74ba
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004047c4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4d74ba
mov eax, dword [ebp - 0x14]
mov esi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d74d7
mov eax, dword [ebp - 0x10]
call fcn.00402800
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d74f4
lea eax, [ebp - 0xc]
call fcn.00404304
ret
Function at 0x408670
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46409b
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.00458ce9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4086f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00456c00
mov eax, dword [eax]
push 0x47a1f0
push eax
call fcn.00449834
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00458f74
test bl, bl
je 0x4086f2
push 0x47a1f0
lea ecx, [esp + 0xc]
call fcn.00459304
push 0x47dd5c
lea ecx, [esp + 0xc]
call fcn.00459304
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 0x40872e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00458f74
jmp 0x4087f9
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 0x4087b2
lea edx, [esp + 0x7c]
push 0x47dd58
push edx
call fcn.00449834
add esp, 8
test eax, eax
je 0x4087b2
lea eax, [esp + 0x7c]
push 0x47dd54
push eax
call fcn.00449834
add esp, 8
test eax, eax
je 0x4087b2
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 0x408742
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.00458f74
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 0x408ff0
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 0x409052
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 0x409060
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46411b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48425c]
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 0x409198
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4090c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00458f74
xor eax, eax
jmp 0x40920f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004590b1
push esi
lea ecx, [esp + 0xc]
call fcn.00459340
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 0x4091ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00408ff0
test eax, eax
jne 0x4091ed
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.00408ff0
test eax, eax
jne 0x4091ed
lea eax, [esp + 0x14]
push 0x47dd70
push eax
call fcn.0044a870
mov esi, eax
add esp, 8
test esi, esi
jne 0x4091cc
lea ecx, [esp + 0x14]
push 0x47dd6c
push ecx
call fcn.0044a7f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4091cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4091cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00459061
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4090de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00458f74
xor eax, eax
jmp 0x40920f
mov byte [esi], 0
push 0x47dd68
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.00458f74
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 0x419b70
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 0x419bde
cmp si, 0x69
ja 0x419bde
add esi, 0xffd0
cmp si, 0x11
je 0x419bae
push 0x11
call edi
test ax, ax
jge 0x419bae
or esi, 0x2000
cmp si, 0x10
je 0x419bc3
push 0x10
call edi
test ax, ax
jge 0x419bc3
or esi, 0x4000
cmp si, 0x12
je 0x419bd8
push 0x12
call edi
test ax, ax
jge 0x419bd8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x419beb
mov esi, 0xbd
jmp 0x419b9f
cmp si, 0x6e
jne 0x419bf8
mov esi, 0xbe
jmp 0x419b9f
cmp si, 0x6f
jne 0x419b99
mov esi, 0xbf
jmp 0x419b9f

Function at 0x41b290
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4948c0]
xor edx, edx
cmp eax, edx
jne 0x41b2b6
xor eax, eax
mov byte [eax + 0x4947c0], al
inc eax
cmp eax, 0x100
jl 0x41b29e
mov dword [0x4948c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4947c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41b347
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 0x41b31a
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 0x41b2e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41b3c0
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 0x41b413
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 0x41b3fa
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