joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473ba0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x473bb7
add esp, 0xfffffff0
call fcn.00403a48
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00429558
mov eax, dword [0x6575d4]
cmp word [eax + 2], 0
jne 0x473bdf
mov eax, dword [0x6575d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00475320
mov eax, dword [0x657804]
cmp word [eax + 2], 0
jne 0x473bf9
mov eax, dword [0x657804]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00475518
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41d100]
call fcn.004036ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41d100]
call fcn.004036ac
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42c200]
call fcn.00434734
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x473d80
mov eax, dword [0x65732c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00434b04
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x475ac8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x65732c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f3b0
test eax, eax
je 0x473cee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a58c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f3d8
test eax, eax
je 0x473d02
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404868
mov eax, dword [0x656f04]
cmp byte [eax], 0
jne 0x473d36
mov eax, ebx
call fcn.00473ea8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00475ca4
mov eax, ebx
call fcn.00476668
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x473d76
call fcn.00403aa0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474128
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x658bec]
cmp dword [eax + 0x30], 0
je 0x4741d2
cmp dword [ebx + 0x94], 0
jne 0x4741cc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4740b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4741cc
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 0x474192
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4741cc
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.0041fde8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4741a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x474d34
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 0x474d69
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.004046e8
jmp 0x474d76
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040464c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x475e80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x475ec1
mov eax, esi
call fcn.0045b9d8
test al, al
je 0x475ec1
mov eax, dword [ebx + 0x84]
call fcn.0045b6d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x475ec1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045b6d4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47aae4
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 0x47ad44
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47ab47
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0047a5ac
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040eee4
cmp al, 1
jne 0x47ab47
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0047a8c4
test al, al
je 0x47acd3
cmp dword [ebp - 8], 0
jge 0x47ab65
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.0047a5ac
mov eax, dword [ebp - 0x210]
call fcn.004048b8
cmp ebx, eax
jge 0x47abaf
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0047a5ac
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x657bb8]
and eax, 0xff
bt dword [edx], eax
jae 0x47abaf
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x47abc3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047aac0
cmp ebx, dword [ebp - 8]
je 0x47acc5
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 0x47abef
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x65442c]
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 0x47acb2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x65442c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045b6d4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x65442c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045b6d4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47acb9
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 0x47ad26
cmp dword [ebp - 8], 0
jge 0x47acde
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0047a5ac
mov eax, dword [ebp - 0x218]
call fcn.004048b8
cmp eax, dword [ebp - 8]
jg 0x47ad18
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0047a5ac
mov eax, dword [ebp - 0x21c]
call fcn.004048b8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047aac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ad4b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040461c
ret
Function at 0x4890a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48915a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d04
mov eax, dword [0x6570b8]
cmp byte [eax], 0
je 0x48910f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004052bc
mov eax, dword [ebx]
call fcn.00404f58
push eax
mov eax, dword [ebx]
call fcn.00404f48
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404f58
mov edx, eax
dec edx
mov eax, ebx
call fcn.004052bc
jmp 0x489141
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a73c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489161
lea eax, [ebp - 0x3f0]
call fcn.004045f8
ret

Function at 0x489168
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a73c
add esp, 0x3ec
pop ebx
ret

Function at 0x489328
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4893ee
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0046c388
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.00488fe4
mov edi, eax
test edi, edi
je 0x489387
mov al, byte [0x4893fc]
cmp al, bl
jne 0x489387
mov edx, edi
mov eax, ebp
call fcn.00488f1c
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4893ee
cmp byte [ebp + 0x161], 2
jne 0x4893b2
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x657a40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00455fe4
test eax, eax
jne 0x4893ee
jmp 0x4893e9
mov edx, dword [0x6577a0]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4893e9
test byte [eax + 0x2f4], 8
jne 0x4893e9
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x6577a0]
mov eax, edx
mov edx, 0xb006
call fcn.00455fe4
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48f4b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x657a40]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x48f55e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x48f4fd
cmp eax, dword [esp]
pop edx
pop eax
jae 0x48f539
jmp 0x48f501
pop edx
pop eax
jge 0x48f539
mov eax, dword [0x657a40]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048a114
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x48f55e
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x48f55e
cmp dword [ebx + 0x11c], 0
je 0x48f55e
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043d174
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x49641c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4964d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d04
mov eax, dword [0x6570b8]
cmp byte [eax], 0
je 0x49648b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004052bc
mov eax, dword [ebx]
call fcn.00404f58
push eax
mov eax, dword [ebx]
call fcn.00404f48
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404f58
mov edx, eax
dec edx
mov eax, ebx
call fcn.004052bc
jmp 0x4964bd
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a73c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4964dd
lea eax, [ebp - 0x3f0]
call fcn.004045f8
ret

Function at 0x4996b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x49970a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00499714
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499711
ret
Function at 0x49fb58
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x49fb8e
jmp 0x49fc34
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x49fbd2
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x17c], 0
je 0x49fbd2
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
jmp 0x49fbe2
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x178]
test edx, edx
je 0x49fbe2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x49fbfb
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0049c4fc
jmp 0x49fc34
mov dl, 1
mov eax, dword [0x42b9c0]
call fcn.0042d9c4
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042e590
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.0042d554
mov edx, esp
mov eax, esi
call fcn.0042e110
mov eax, esi
call fcn.004036dc
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4a2438
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0045b6d4
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00454d38
pop ebx
ret
Function at 0x4acad8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4acc49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4acc2e
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040a73c
mov dl, 1
mov eax, dword [0x477074]
call fcn.004770cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x41dc24]
call fcn.004036ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00477148
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4acc2b
mov dl, 1
mov eax, dword [0x478d9c]
call fcn.00478e04
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4acc60
call fcn.004778b0
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404904
xor eax, eax
push ebp
push 0x4acc24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00479104
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004acc68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acc2b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004036dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004036dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004036dc
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acc50
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040461c
ret

Function at 0x4b0b34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042e02c
cmp ebx, dword [ebp - 8]
jge 0x4b0b97
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042e478
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042e478
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042e4a4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4b0b5d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b0ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042e02c
cmp ebx, dword [ebp - 8]
jge 0x4b0c03
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042e478
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042e478
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042e4a4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4b0bc9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c53b4
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 [0x41c5f8]
call fcn.00405320
xor eax, eax
push ebp
push 0x4c54f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6549b4], 0
jne 0x4c5407
mov ecx, dword [0x656f5c]
mov dl, 1
mov eax, dword [0x40874c]
call fcn.0040e59c
call fcn.00403f74
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403054
mov eax, ebx
call fcn.00404f48
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4c5508
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.004066f0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f58
test eax, eax
jle 0x4c549f
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 0x4c5498
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404880
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404868
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040975c
test eax, eax
jne 0x4c5498
mov ebx, 0x15
jmp 0x4c54a4
mov ebx, 0x10
jmp 0x4c54a4
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 [0x6549b4]
call fcn.004c52b0
mov eax, dword [ebp - 8]
call fcn.004c52b0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406708
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c54ff
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040461c
lea eax, [ebp - 0x10]
mov edx, dword [0x41c5f8]
call fcn.004053f0
ret
Function at 0x4eb840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4eb85a
add esp, 0xfffffff0
call fcn.00403a48
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4eb8f7
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.004036ac
mov dword [edi + 0x20], esi
mov dl, 1
mov eax, dword [0x42b680]
call fcn.0042ce94
mov esi, eax
mov dword [edi + 0x10], esi
mov eax, edi
call fcn.004ebce0
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], edi
mov dword [eax + 8], 0x4ebb84
mov dl, 1
mov eax, dword [0x41d910]
call fcn.004036ac
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
call fcn.0041a824
lea edx, [ebp - 0x10]
lea eax, [edi + 0x30]
call fcn.0041288c
mov byte [edi + 0x28], 1
mov dl, byte [0x4eb91c]
mov ax, 0x2e
call fcn.00464888
mov word [edi + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb8fe
lea eax, [ebp - 0x10]
call fcn.00412474
ret

Function at 0x4ec9d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4ec9f0
push 5
mov eax, ebx
call fcn.0045b6d4
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.0045b6d4
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4fabd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x4fac74
mov esi, dword [ebx + 0x338]
test esi, esi
je 0x4fac00
mov ecx, ebx
mov dl, 1
mov eax, esi
call dword [eax + 0x2c]
mov dword [ebx + 0x308], eax
jmp 0x4fac14
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e8180]
call fcn.004ed778
mov dword [ebx + 0x308], eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.00454d38
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.0045b814
mov edx, ebx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebx + 0x308]
call fcn.0045b6d4
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x4faca8
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x4fac80
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret
Function at 0x51624c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x516284]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x516262
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x516271
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x516280
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x53292c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax], 0
test dl, dl
je 0x532966
test bl, bl
je 0x532957
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x532961
mov eax, dword [edi]
movzx esi, byte [eax + 0x415]
dec esi
xor bl, 1
jmp 0x532977
mov eax, dword [edi]
mov edx, dword [eax + 0x430]
mov eax, dword [edi]
call fcn.0051f4b8
mov esi, eax
mov eax, esi
test bl, bl
je 0x532980
inc esi
jmp 0x532981
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x532996
mov edx, dword [edi]
movzx esi, byte [edx + 0x415]
jmp 0x5329b6
mov edx, dword [edi]
movzx edx, byte [edx + 0x415]
cmp esi, edx
jge 0x5329b6
mov edx, dword [edi]
mov esi, dword [edx + 0x21c]
mov edx, dword [edi]
movzx edx, byte [edx + 0x415]
sub esi, edx
cmp eax, esi
je 0x5329fa
jmp 0x5329d2
test bl, bl
je 0x5329c3
inc esi
jmp 0x5329c4
dec esi
test esi, esi
jl 0x5329fa
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x5329fa
mov eax, dword [edi]
mov edx, esi
call fcn.0051f4ac
mov edx, eax
mov eax, dword [edi]
call fcn.00531908
test al, al
je 0x5329bc
mov eax, dword [edi]
mov edx, esi
call fcn.0051f4ac
mov edx, eax
mov eax, dword [edi]
call fcn.005319dc
pop edi
pop esi
pop ebx
pop ebp
ret