joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412220
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
movzx edi, bl
push edi
call dword [sym.imp.USER32.DLL_GetKeyState]
and al, 1
movsx esi, al
neg esi
sbb esi, esi
add esi, 2
cmp ebp, 1
je 0x41224c
cmp ebp, 2
jne 0x412322
cmp esi, ebp
je 0x412322
push edi
mov edi, dword [sym.imp.USER32.DLL_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x41227d
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.004104f0
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.004104f0
add esp, 0x18
push 0
call dword [sym.imp.USER32.DLL_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
cmp eax, dword [0x4ad250]
sete al
mov byte [esp + 0x14], al
test al, al
je 0x4122d3
push 1
push 0xffffffffffffffff
mov dword [0x4a88ec], 0
call fcn.004013c0
add esp, 8
mov dword [0x4a88ec], 1
cmp bl, 0x14
jne 0x412322
cmp ebp, 2
jne 0x412322
push 0x14
call edi
test al, 1
je 0x412322
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.004104f0
add esp, 0x18
cmp byte [esp + 0x14], 0
je 0x412322
push 1
push 0xffffffffffffffff
mov dword [0x4a88ec], 0
call fcn.004013c0
add esp, 8
mov dword [0x4a88ec], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x4129e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4ac3fc], 0
je 0x4129f8
cmp byte [esp + 8], 0
jne 0x4129f8
mov al, byte [0x4ac2c9]
pop ecx
ret
push esi
mov esi, dword [sym.imp.USER32.DLL_GetAsyncKeyState]
push 0xa0
mov byte [esp + 0xb], 0
call esi
mov ecx, 0x8000
test cx, ax
je 0x412a1a
mov byte [esp + 7], 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x412a30
or byte [esp + 7], 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x412a46
or byte [esp + 7], 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x412a5c
or byte [esp + 7], 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x412a72
or byte [esp + 7], 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x412a88
or byte [esp + 7], 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x412a9b
or byte [esp + 7], 0x40
push 0x5c
call esi
mov edx, 0x8000
pop esi
test dx, ax
je 0x412aaf
or byte [esp + 3], 0x80
cmp dword [0x4ac3fc], 0
je 0x412b0a
push ebx
mov bl, byte [esp + 7]
not bl
and bl, byte [0x4ac2c9]
je 0x412b09
mov cl, byte [0x4ac2cb]
mov al, bl
not al
and byte [0x4ac2c9], al
and byte [0x4ac2ca], al
and cl, al
mov al, cl
mov byte [0x4ac2cb], cl
mov ecx, 0x4ac2f0
call fcn.00412b10
mov eax, dword [0x4ab1dc]
test eax, eax
je 0x412b09
test byte [eax + 8], bl
je 0x412b09
mov dword [0x4ab1dc], 0
pop ebx
mov al, byte [esp + 3]
pop ecx
ret
Function at 0x412f00
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x412f3e
mov edi, dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
push esi
push eax
call edi
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x30
call dword [sym.imp.USER32.DLL_GetGUIThreadInfo]
test eax, eax
je 0x412f3e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x412f3e
push 0
push eax
call edi
mov esi, eax
push esi
call dword [sym.imp.USER32.DLL_GetKeyboardLayout]
pop edi
pop esi
add esp, 0x34
ret

Function at 0x413120
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x110
push esi
push 0
call dword [sym.imp.USER32.DLL_GetKeyboardLayout]
mov esi, eax
mov al, byte [esp + 0x118]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x413210
push ebx
push ebp
push 0x100
lea edx, [esp + 0x20]
push 0
push edx
call fcn.00490360
mov ebp, dword [sym.imp.USER32.DLL_ToAsciiEx]
add esp, 0xc
push esi
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x6e
xor bl, bl
call ebp
cmp eax, 2
jne 0x41317e
mov bl, byte [esp + 0x10]
movzx ecx, byte [esp + 0x120]
push esi
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push ecx
call ebp
mov dword [esp + 0x18], eax
test eax, eax
jns 0x4131b3
push esi
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0x6e
call ebp
test bl, bl
je 0x4131f0
push edi
push 1
push esi
lea edi, [esp + 0x1b]
call fcn.004133c0
add esp, 8
mov bl, al
pop edi
test bl, bl
je 0x4131f0
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x1c]
call fcn.00412b10
push esi
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
movzx eax, bl
push 0
push eax
call ebp
cmp dword [esp + 0x18], 0
pop ebp
pop ebx
je 0x413206
movsx eax, byte [esp + 8]
pop esi
add esp, 0x110
ret
xor eax, eax
pop esi
add esp, 0x110
ret
push esi
movzx ecx, al
push 2
push ecx
call dword [sym.imp.USER32.DLL_MapVirtualKeyExA]
pop esi
add esp, 0x110
ret

Function at 0x4133c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp bl, 0xa
jne 0x4133ca
mov al, 0xd
pop ecx
ret
mov eax, dword [esp + 8]
push esi
push eax
push ebx
call dword [sym.imp.USER32.DLL_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
mov dl, cl
cmp al, 0xff
jne 0x41342d
cmp cl, 0xff
jne 0x41342d
cmp byte [esp + 0x10], 0
je 0x413431
movzx esi, bl
test esi, 0xffffff80
jne 0x413431
push 0x103
push esi
call fcn.004883de
add esp, 8
test eax, eax
je 0x413431
mov al, bl
call fcn.00409350
push 1
push esi
mov byte [esp + 0xf], al
call fcn.004883de
mov dl, byte [esp + 0xf]
add esp, 8
test eax, eax
setne al
test al, 0x38
je 0x413436
xor al, al
pop esi
pop ecx
ret
test edi, edi
je 0x413477
mov cl, al
and cl, 6
cmp cl, 6
jne 0x413449
or byte [edi], 8
jmp 0x413469
test al, 2
je 0x413459
mov cl, byte [edi]
test cl, 3
jne 0x413459
or cl, 1
mov byte [edi], cl
test al, 4
je 0x413469
mov cl, byte [edi]
test cl, 0xc
jne 0x413469
or cl, 4
mov byte [edi], cl
test al, 1
je 0x413477
mov al, byte [edi]
test al, 0x30
jne 0x413477
or al, 0x10
mov byte [edi], al
mov al, dl
pop esi
pop ecx
ret
Function at 0x413b50
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x413bad
je 0x413baa
sub eax, 0x1d
cmp eax, 0x36
ja case.0x413bbe.286
movzx eax, byte [eax + 0x413c58]
jmp dword [eax*4 + 0x413c0c]
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, 0xc
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, 0x23
ret
mov al, 0x21
ret
mov al, 0x22
ret
mov al, 0x13
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x413bbe.286
movzx edx, byte [eax + 0x413cb8]
jmp dword [edx*4 + 0x413c90]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x5b
ret
mov al, 0x5c
ret
mov al, 0x90
ret
mov al, 0x6f
ret
mov al, 0x5d
ret
mov al, 0x2c
ret
push esi
mov esi, dword [sym.imp.USER32.DLL_MapVirtualKeyA]
test ebx, 0x100
je 0x413c00
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x413c08
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

Function at 0x413d00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4ab218], eax
mov edx, 1
mov eax, 0x4ab218
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4abbd4
jl 0x413d10
mov dword [0x4a88d8], 1
mov dword [0x4acba0], 1
pop edi
ret

Function at 0x413d50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4acba0], 0
push esi
mov esi, 0x4ab218
jne 0x413d6a
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
call fcn.00413d00
mov dword [0x4a88d8], 0x270
mov dword [0x4ab210], esi
mov ecx, 0xe3
nop
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x413d80
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x413db5
mov ecx, dword [esi]
mov eax, dword [0x4ab218]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

Function at 0x413e20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4a88d8]
jne 0x413e2d
call fcn.00413d50
mov eax, dword [0x4ab210]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ab210], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x416e00
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4a88f8]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.00487059
xor ebx, ebx
add esp, 4
mov dword [0x4aaea0], eax
cmp eax, ebx
jne 0x416e33
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4a8978]
push 0x403b30
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ac2cc]
mov edi, dword [sym.imp.USER32.DLL_SetTimer]
push 0xe
push ecx
mov dword [0x4a8978], eax
call edi
cmp dword [ebp], ebx
jne 0x416e71
mov ebp, 1
jmp 0x416f1f
mov edx, dword [0x4a8978]
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov byte [edx + 0xcc], bl
call esi
mov ecx, dword [0x4a8978]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
cmp byte [0x4ac426], bl
jne 0x416ebf
mov eax, dword [0x4ac2cc]
push 0x4039a0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4ac426], cl
mov byte [ebp + 0x619], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4ac43c], esi
push ebx
push esi
mov dword [ebp + 0x634], eax
mov dword [ebp + 0x630], eax
call fcn.00425cc0
sub dword [0x4ac43c], esi
mov dword [esp + 0x14], eax
cmp byte [0x4ac426], bl
je 0x416f15
mov edx, dword [0x4ac2cc]
push 0xb
push edx
call dword [sym.imp.USER32.DLL_KillTimer]
test eax, eax
je 0x416f15
mov byte [0x4ac426], bl
mov byte [ebp + 0x619], bl
mov ebp, dword [esp + 0x14]
mov eax, dword [0x4a8978]
cmp dword [eax + 0xe4], ebx
lea esi, [eax + 0xe4]
je 0x416f68
mov eax, dword [esi]
cmp dword [eax + 8], 6
jne 0x416f44
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x416f56
push eax
call fcn.00486eb8
add esp, 4
mov ecx, dword [esi]
push ecx
call fcn.00486c18
mov eax, dword [0x4a8978]
add esp, 4
mov dword [esi], ebx
mov edx, dword [0x4acad0]
push 1
push ebx
push 0xffffffffffffffff
mov byte [eax + 0xcc], 1
mov esi, eax
push 0x49a8c8
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa8], ebx
mov byte [eax + 0xd8], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xc8], bl
mov dword [eax + 0x48], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], ebx
mov ecx, 0x3a
mov edi, 0x4aaf90
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [eax + 0xcc], 1
mov dword [eax + 0xc0], ebx
mov word [eax + 0xcd], 1
mov dword [eax + 0x2c], CreateStatusWindowA
call fcn.00476c10
mov eax, dword [0x4a9ab4]
cmp word [eax], bx
jne 0x41703f
cmp dword [0x4acb40], ebx
jne 0x41703f
cmp dword [0x4ac3fc], ebx
jne 0x41703f
cmp dword [0x4ac400], ebx
jne 0x41703f
cmp byte [0x4ac40a], bl
jne 0x41703f
neg ebp
sbb ebp, ebp
and ebp, 6
push ebx
inc ebp
push ebp
push 0x4ad268
call fcn.00417080
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x417080
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub esp, 0xa4
push ebx
xor ebx, ebx
push esi
push edi
mov dword [eax + 0x5d4], ecx
cmp byte [0x4ada9f], bl
jne 0x41721c
cmp byte [eax + 0x618], bl
je 0x41721c
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4acad0]
push ebx
push 1
mov dword [0x4ae4fc], eax
call fcn.00401210
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00489e40
mov eax, dword [0x4a8978]
inc dword [0x4ac43c]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xbb], bl
mov ecx, 0x3a
mov esi, 0x4aaf90
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4a8978], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4ad268
call fcn.00416d00
mov dword [0x4ad888], ebx
mov dword [0x4ad88c], ebx
cmp dword [0x4ac470], ebx
je 0x417142
mov eax, dword [0x4a9aac]
cmp eax, ebx
je 0x417136
mov eax, dword [eax]
cmp eax, ebx
jne 0x41713b
mov eax, 0x49a8ad
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x5c8]
mov edi, dword [0x4a88ec]
mov dword [0x4a88ec], ebx
mov byte [0x4ada9f], 1
mov byte [esp + 0xf], 1
mov byte [0x4a9e68], bl
cmp ecx, ebx
je 0x417182
call fcn.00401280
test eax, eax
je 0x417182
cmp byte [0x4a9e68], bl
jne 0x417182
mov byte [esp + 0xf], bl
mov byte [0x4a9e68], 1
cmp byte [esp + 0xf], bl
je 0x4171db
mov dword [esp + 0x18], ebx
call fcn.004436e0
mov dword [esp + 0x10], eax
mov eax, dword [0x4ae4fc]
cdq
mov dword [esp + 0x24], edx
xor edx, edx
cmp dword [esi + 0x5c8], ebx
mov dword [esp + 0x20], eax
sete dl
lea eax, [esp + 0x10]
lea ebx, [esi + 0x594]
mov dword [esp + 0x28], 1
push edx
push 2
push eax
call fcn.0046f170
xor ebx, ebx
cmp eax, 3
jne 0x4171db
mov byte [esp + 0xf], bl
mov byte [0x4ada9f], bl
cmp byte [esp + 0xf], bl
jne 0x41720e
cmp dword [ebp + 0xc], 2
je 0x41720e
lea ecx, [esp + 0x30]
push ecx
call fcn.00403810
add esp, 4
mov dword [0x4a88ec], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.00417260
cmp byte [0x4a9e68], bl
jne 0x417251
cmp ecx, 7
jne 0x417251
mov ecx, dword [0x4ac268]
cmp byte [ecx], bl
je 0x41723c
mov edx, dword [ebp + 0x10]
mov dword [0x4ae4fc], edx
pop edi
pop esi
mov byte [0x4a9e68], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push edx
push ecx
push eax
call fcn.00417260
int3
Function at 0x417710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindResourceA]
push 0xa
push 0x49d214
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 0
call edi
mov esi, eax
test esi, esi
jne 0x417751
push 0xa
push 0x49d228
push eax
call edi
mov esi, eax
test esi, esi
je 0x4177b5
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4177b5
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x4177b5
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4177b5
mov ecx, dword [esp + 0x20]
push 0xc
mov eax, 0xfde9
lea edx, [esp + 0x10]
call fcn.004717a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x600]
inc dword [0x4ad1e8]
mov dword [0x4ab214], ecx
mov eax, 3
pop edi
pop esi
add esp, 0x10
ret 0xc
fldz
mov edx, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
push 0
push edx
push 0
push 0x49d238
call fcn.00478840
add esp, 0x18
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
Function at 0x41d760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4a83b3]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], al
mov dword [esp + 0xe], 0x3e3c0928
mov dword [esp + 0x12], 0x2d2b3d3a
mov dword [esp + 0x16], 0x7e212f2a
mov dword [esp + 0x1a], 0x5b5e7c26
mov dword [esp + 0x1e], 0x7b3f2e
mov edi, ebp
test ebp, ebp
je 0x41d7ca
mov dl, byte [ebp]
test dl, dl
je 0x41d7ca
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41d81e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41d7b6
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41d7b0
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d7d0
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41d7f0
mov al, byte [edi]
cmp al, 0x20
je 0x41d7eb
cmp al, 9
jne 0x41d7f0
dec edi
cmp edi, ebp
ja 0x41d7e1
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41d825
cmp byte [esp + 0x30], 0
je 0x41d813
mov ecx, dword [esp + 0x28]
push ebp
push 0x49d4a4
call fcn.0042f2b0
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41d7f0
dec edi
jmp 0x41d7dd
push esi
push ebp
push ebx
call fcn.00489e40
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42f840
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2000
call fcn.00493660
cmp dword [esp + 0x2008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2018]
mov ebx, ecx
je 0x42f95f
test ebx, ebx
jne 0x42f878
mov eax, dword [esp + 0x200c]
mov ebx, dword [eax + 0x374]
test ebx, ebx
je 0x42f882
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42f88f
mov ecx, dword [eax + 0x170]
movzx eax, word [eax + 0x174]
mov edx, dword [esp + 0x2014]
mov ecx, dword [ecx*4 + 0x4ab214]
push esi
push edi
push edx
movzx eax, ax
push eax
push ecx
push 0x49ebc4
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.00473d20
add esp, 0x10
cmp byte [ebp], 0
lea edi, [esp + eax + 0x10]
je 0x42f8dc
push ebp
lea esi, [esp + 0x2014]
push 0x49e9c8
sub esi, edi
call fcn.00473d20
add esp, 8
mov esi, dword [esp + 0x2018]
cmp esi, 3
jne 0x42f90b
call fcn.00487567
add eax, 0x20
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00489561
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
cmp esi, 2
jne 0x42f95d
test ebx, ebx
jne 0x42f930
mov ecx, dword [esp + 0x2014]
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x42f94f
mov ecx, dword [esp + 0x201c]
push ebp
push 1
push ecx
mov ecx, ebx
call fcn.0042efe0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
mov edx, dword [esp + 0x201c]
push ebp
push edx
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
Function at 0x42fd90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.DLL_GetForegroundWindow]
xor ebx, ebx
cmp eax, ebx
je 0x42fdbf
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.DLL_GetWindowTextA]
jmp 0x42fdc6
mov byte [esp + 0xa0], bl
mov esi, dword [0x4ad840]
mov byte [esp + 0x20], bl
cmp esi, ebx
je 0x42fe6b
cmp byte [esi + 0x11], bl
je 0x42fe19
mov edx, dword [esi]
push edx
call fcn.0046f070
add esp, 4
sub eax, ebx
je 0x42fdfd
dec eax
je 0x42fdf6
mov eax, 0x49e578
jmp 0x42fe02
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x42fe02
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
push eax
push 0x49ed4c
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00473d60
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x42fdd8
cmp byte [esp + 0x20], bl
je 0x42fe6b
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42fe30
sub eax, edx
cmp eax, 0x7b
jbe 0x42fe5d
mov esi, 0x7f
sub esi, eax
push esi
lea ebp, [esp + eax + 0x24]
push 0x49cdb4
push ebp
call fcn.00489e40
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x42fe6b
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x42fe6b
mov byte [eax - 1], bl
mov edx, dword [0x4aaea0]
cmp byte [edx + 0xd8], bl
je 0x42fe89
mov dword [esp + 0x14], 1
cmp byte [0x4ad881], bl
je 0x42fe8d
mov dword [esp + 0x14], ebx
mov eax, dword [0x4ac43c]
mov dword [esp + 0x10], 0x49ed50
cmp eax, 1
jg 0x42ff9c
mov dword [esp + 0x10], 0x49a8ad
mov dword [esp + 0x18], ebx
mov ebp, 0x49bac8
cmp dword [0x4ac400], ebx
je 0x42fec1
mov ebp, 0x49bac4
mov esi, 0x49bac8
cmp dword [0x4ac3fc], ebx
je 0x42fed3
mov esi, 0x49bac4
push 1
call fcn.004129e0
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00412dd0
mov ecx, dword [0x4ac43c]
mov edx, dword [0x4ac440]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4ac438]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4ad848]
push ecx
mov ecx, dword [0x4ad84c]
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push ebp
push esi
lea edx, [esp + 0xcc]
push edx
push 0x49ed90
mov esi, 0xfffe
call fcn.00473d20
mov esi, dword [esp + 0x50]
add edi, eax
mov eax, esi
sub eax, edi
add esp, 0x34
add eax, 0xfffe
push eax
push edi
call fcn.004090a0
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42ff60
sub eax, ecx
add edi, eax
cmp dword [0x4acae0], 0
mov eax, 0x49e8bc
jne 0x42ff7e
mov eax, 0x49ee44
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00473d20
add esp, 4
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
dec eax
mov dword [esp + 0x18], eax
jmp 0x42feaf
Function at 0x435b50
Capabilities:
Log keystrokes

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
call fcn.00442660
mov edi, eax
test edi, edi
je 0x435b7e
mov esi, dword [esp + 0x1c]
push edi
call fcn.00478660
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x435bc9
mov ecx, dword [0x4a8978]
test byte [ecx + 0xe0], 1
jne 0x435bac
mov edx, dword [0x4acad0]
push 1
push 0
push 0xffffffffffffffff
push 0x49bec0
push edx
call fcn.00476c10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x49a8ad
push 0
push 0x49bec0
call fcn.0042ed70
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x435c01
cmp ebp, dword [0x4ad250]
je 0x435c01
mov esi, edi
call fcn.00478b40
test al, al
jne 0x435c01
mov eax, dword [0x4ad250]
push 1
push ebp
push eax
call dword [sym.imp.USER32.DLL_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.DLL_SetFocus]
test eax, eax
je 0x435c3f
mov edx, dword [0x4acad0]
push 1
push 0
push 0xffffffffffffffff
push 0x49a8c8
push edx
call fcn.00476c10
mov eax, dword [0x4a8978]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x435c3f
push 1
push eax
call fcn.004013c0
add esp, 8
test bl, bl
je 0x435c53
mov ecx, dword [0x4ad250]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.DLL_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10