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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4573e3
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c0a4
mov eax, dword [0x4cd9c8]
cmp word [eax + 2], 0
jne 0x45740b
mov eax, dword [0x4cd9c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458abc
mov eax, dword [0x4cdb18]
cmp word [eax + 2], 0
jne 0x457425
mov eax, dword [0x4cdb18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458cb4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412e7c]
call fcn.00403438
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412e7c]
call fcn.00403438
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 [0x41e5f0]
call fcn.00426234
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4575ac
mov eax, dword [0x4cd844]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426604
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459254
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cd844]
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.0040d1dc
test eax, eax
je 0x45751a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409370
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d204
test eax, eax
je 0x45752e
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.004044cc
mov eax, dword [0x4cd5f4]
cmp byte [eax], 0
jne 0x457562
mov eax, ebx
call fcn.004576d4
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.00459430
mov eax, ebx
call fcn.00459df4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4575a2
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457954
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4cebe0]
cmp dword [eax + 0x30], 0
je 0x4579fe
cmp dword [ebx + 0x94], 0
jne 0x4579f8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4578e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4579f8
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 0x4579be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4579f8
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.00415534
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4579cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458560
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 0x458595
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.0040434c
jmp 0x4585a2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042b0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45960c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45964d
mov eax, esi
call fcn.0043fb1c
test al, al
je 0x45964d
mov eax, dword [ebx + 0x84]
call fcn.0043f818
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45964d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f818
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x464078
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46426a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x464280
mov eax, esi
call fcn.00461b78
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004042b0
lea ecx, [ebp - 0x10]
mov edx, 0x464294
mov eax, esi
call fcn.00461b78
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004042b0
lea ecx, [ebp - 0x14]
mov edx, 0x4642ac
mov eax, esi
call fcn.00461b78
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004042b0
lea ecx, [ebp - 0x18]
mov edx, 0x4642c8
mov eax, esi
call fcn.00461b78
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004042b0
lea ecx, [ebp - 0x1c]
mov edx, 0x4642e4
mov eax, esi
call fcn.00461b78
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004042b0
lea ecx, [ebp - 0x24]
mov edx, 0x4642fc
mov eax, esi
call fcn.00461b78
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040886c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408e04
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x464314
mov eax, esi
call fcn.00461b78
mov eax, dword [ebp - 0x28]
call fcn.0045f490
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x464324
mov eax, esi
call fcn.00461b78
mov eax, dword [ebp - 0x2c]
call fcn.0045f490
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46433c
mov eax, esi
call fcn.00461b78
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408e04
inc eax
je 0x46420d
lea ecx, [ebp - 0x34]
mov edx, 0x46433c
mov eax, esi
call fcn.00461b78
mov eax, dword [ebp - 0x34]
call fcn.00408dc8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a2e0
fstp qword [ebp - 0x3c]
wait
call fcn.0040a644
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x464228
lea ecx, [ebp - 0x40]
mov edx, 0x46433c
mov eax, esi
call fcn.00461b78
mov eax, dword [ebp - 0x40]
call fcn.0045f490
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46434c
mov eax, esi
call fcn.00461b78
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004042b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464271
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404280
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404280
ret
Function at 0x470570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4705ca
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00470560
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0045e0fc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045dcfc
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4705d1
lea eax, [ebp - 4]
call fcn.0040425c
ret

Function at 0x474aac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]

Function at 0x47ae10
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4cef4c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x47ae32
shr eax, 1
xor eax, 0xedb88320
jmp 0x47ae34
shr eax, 1
dec edx
jne 0x47ae20
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x47ae19
mov byte [0x4cf34c], 1
pop esi
pop ebx
ret

Function at 0x47ae50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4cf34c], 0
jne 0x47ae67
call fcn.0047ae10
mov eax, edi
dec eax
test eax, eax
jl 0x47ae90
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cef4c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x47ae71
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47d3e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x47d411
dec al
je 0x47d44d
dec al
je 0x47d491
dec al
je 0x47d4fc
jmp 0x47d586
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x47d586
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47d421
jmp 0x47d586
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47d586
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47d45d
jmp 0x47d586
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47d586
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x47d4bf
xor ebp, ebp
jmp 0x47d4d0
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x47d4d9
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47d4a1
jmp 0x47d586
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47d586
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x47d554
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0047ae98
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47d510
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4835f4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x483622
mov eax, ebx
call fcn.004840a8
cmp dword [ebx + 0x40], 0
je 0x48361b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x483693
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x483685
cmp dword [ebx + 8], 0
je 0x483644
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 0x483656
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x483685
cmp dword [ebx + 8], 0
je 0x483637
cmp eax, 3
je 0x483669
dec eax
jne 0x483637
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 0x483637
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x483637
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4836b1
cmp dword [ebx + 0x14], 0xcc
je 0x4836b1
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.004836bc
pop ebx
ret

Function at 0x4a353c
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 0x4a35f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404968
mov eax, dword [0x4cd6ec]
cmp byte [eax], 0
je 0x4a35ab
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404cc8
mov eax, dword [ebx]
call fcn.00404af4
push eax
mov eax, dword [ebx]
call fcn.00404ae4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404af4
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404cc8
jmp 0x4a35dd
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.00409520
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a35fd
lea eax, [ebp - 0x3f0]
call fcn.0040425c
ret

Function at 0x4a6740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4a679a
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.004a67a4
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 0x4a67a1
ret
Function at 0x4ac038
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 0x4ac06e
jmp 0x4ac114
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 0x4ac0b2
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x4ac0b2
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x4ac0c2
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x4ac0c2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4ac0db
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004a8a2c
jmp 0x4ac114
mov dl, 1
mov eax, dword [0x41de50]
call fcn.0041fd94
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042074c
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.0041f944
mov edx, esp
mov eax, esi
call fcn.00420498
mov eax, esi
call fcn.00403468
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4ae6e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0043f818
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00438f50
pop ebx
ret
Function at 0x4b4724
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 0x4b47de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404968
mov eax, dword [0x4cd6ec]
cmp byte [eax], 0
je 0x4b4793
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404cc8
mov eax, dword [ebx]
call fcn.00404af4
push eax
mov eax, dword [ebx]
call fcn.00404ae4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404af4
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404cc8
jmp 0x4b47c5
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.00409520
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b47e5
lea eax, [ebp - 0x3f0]
call fcn.0040425c
ret

Function at 0x4b47ec
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.00409520
add esp, 0x3ec
pop ebx
ret

Function at 0x4b49ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x4b4a65
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0044fc44
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.004b4668
mov edi, eax
test edi, edi
je 0x4b4a0b
mov al, byte [0x4b4a70]
cmp al, bl
jne 0x4b4a0b
mov edx, edi
mov eax, esi
call fcn.004b45a0
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x4b4a65
cmp byte [esi + 0x161], 2
jne 0x4b4a36
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4cdc4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043a1e4
test eax, eax
jne 0x4b4a65
jmp 0x4b4a60
mov eax, dword [0x4cdad4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x4b4a60
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x4cdad4]
mov edx, 0xb006
call fcn.0043a1e4
xor eax, eax
mov dword [ebp + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ba9cc
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
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 0x4baa00
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4baa3c
jmp 0x4baa04
pop edx
pop eax
jge 0x4baa3c
mov eax, dword [0x4cdc4c]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004b5844
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4baa61
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4baa61
cmp dword [ebx + 0x11c], 0
je 0x4baa61
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042bd3c
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 0x4c5484
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 0x4c55f5
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 0x4c55da
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.00409520
mov dl, 1
mov eax, dword [0x49d96c]
call fcn.0049d9c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x4137f4]
call fcn.00403438
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.0049da40
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4c55d7
mov dl, 1
mov eax, dword [0x49ec5c]
call fcn.0049ecc4
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, 0x4c560c
call fcn.0049de60
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404568
xor eax, eax
push ebp
push 0x4c55d0
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.0049efc4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004c5614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c55d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403468
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c55fc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404280
ret