joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446432
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x20], 0
jne 0x44645c
push esi
call fcn.0043801c
test al, al
je 0x44645c
mov eax, dword [esi + 8]
push eax
call fcn.004460c8
add esp, 4
push eax
mov dword [esi + 0x20], eax
call fcn.00437f61
cmp dword [esi + 0x24], 0
jne 0x44648f
push esi
call fcn.00438000
test al, al
je 0x44648f
push esi
call fcn.00437ff0
test al, al
jne 0x44648f
mov ecx, dword [esi + 0x10]
push ecx
call fcn.004460c8
add esp, 4
mov dword [esi + 0x24], eax
pop esi
mov dword [esp + 4], eax
jmp fcn.00437f61
pop esi
ret 4

Function at 0x4464ba
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
push ecx
mov dword [esp + 0x18], edx
call fcn.00437fd4
test al, al
je 0x44650c
test ebx, ebx
je 0x44650c
test edi, edi
je 0x44650c
push esi
push edx
lea eax, [esp + 0x1c]
push eax
lea esi, [ecx + 0x18]
mov ecx, dword [esi]
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x446502
push esi
call fcn.00437fba
add esp, 4
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
pop edi
mov eax, edx
pop ebx
ret 0xc

Function at 0x44674d
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
push esi
mov esi, dword [esp + 8]
jne 0x44676a
push esi
call fcn.00438fe9
add esp, 4
test al, al
jne 0x446783
push 1
jmp 0x44676c
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
ret
Function at 0x447142
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
xor esi, esi
xor edi, edi
mov byte [esp + 0x2c], 1
cmp word [eax], si
jne 0x447169
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x18
push ebp
push eax
or eax, 0xffffffff
call fcn.00410940
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x30]
push ebp
mov byte [ebx], 0
mov byte [eax], 0
mov byte [ecx], 0
mov byte [edx], 0
call fcn.004156d0
inc eax
push eax
call fcn.00412dbe
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov al, byte [esi + ebp]
cmp al, 0x2b
je 0x4471ba
cmp al, 0x5e
je 0x4471b6
cmp al, 0x21
je 0x4471b6
cmp al, 0x23
jne 0x4471ea
cmp al, 0x2b
jne 0x4471c4
mov eax, dword [esp + 0x24]
mov byte [eax], 1
inc esi
jmp 0x4471a3
cmp al, 0x5e
jne 0x4471d2
mov edx, dword [esp + 0x28]
mov byte [edx], 1
inc esi
jmp 0x4471a3
cmp al, 0x21
jne 0x4471e0
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
inc esi
jmp 0x4471a3
cmp al, 0x23
jne 0x4471e7
mov byte [ebx], 1
inc esi
jmp 0x4471a3
mov al, byte [esi + ebp]
inc esi
mov byte [esp + 0x14], al
mov dword [esp + 0x10], esi
cmp al, 0x7b
jne 0x44729b
lea edx, [esp + 0x10]
push edx
push ecx
push ebp
push 0x7d
call fcn.0043a6a6
test eax, eax
je 0x447222
mov byte [esp + 0x30], 0
jmp 0x4472d7
mov esi, dword [esp + 0x1c]
mov eax, dword [edi*4 + 0x491a08]
push esi
push eax
call fcn.0042770a
add esp, 8
test eax, eax
je 0x447241
inc edi
cmp edi, 0x62
jl 0x447222
cmp edi, 0x62
jne 0x447283
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov edx, dword [esp + 0x20]
cwde
mov dword [edx], eax
test eax, 0x200
je 0x447265
mov ecx, dword [esp + 0x28]
mov byte [ecx], 1
test eax, 0x400
je 0x447273
mov edx, dword [esp + 0x2c]
mov byte [edx], 1
test eax, 0x100
je 0x4472d7
mov eax, dword [esp + 0x24]
mov byte [eax], 1
jmp 0x4472d7
cmp byte [edi + 0x491b90], 0
jne 0x447210
mov ecx, dword [edi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
jmp 0x4472d7
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [esp + 0x20]
cwde
mov dword [ecx], eax
test eax, 0x200
je 0x4472bb
mov edx, dword [esp + 0x28]
mov byte [edx], 1
test eax, 0x400
je 0x4472c9
mov ecx, dword [esp + 0x2c]
mov byte [ecx], 1
test eax, 0x100
je 0x4472d7
mov edx, dword [esp + 0x24]
mov byte [edx], 1
mov eax, dword [esp + 0x20]
and dword [eax], 0xff
push ebp
call fcn.00412f61
mov eax, dword [esp + 0x20]
push eax
call fcn.00412f61
mov al, byte [esp + 0x38]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 0x18
Function at 0x447302
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push ebx
mov bl, byte [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x10c]
push esi
push edi
mov edi, dword [esp + 0x118]
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp dword [ebp + 0x14], 0
mov esi, eax
je 0x4473e9
cmp edi, 0x14
je 0x4473e9
cmp edi, 0x90
je 0x4473e9
cmp edi, 0x91
je 0x4473e9
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
shl esi, 0x10
or esi, 0xc0000001
cmp bl, 1
je 0x44737a
push edi
call fcn.0043a6fa
cmp al, 1
jne 0x447380
or esi, 0x1000000
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x447393
test eax, 0x100
jne 0x447393
cmp edi, 0x12
jne 0x4473b1
test al, 8
jne 0x4473b1
test eax, 0x800
jne 0x4473b1
mov ecx, dword [ebp + 0x14]
or esi, 0x20000000
push esi
push edi
push 0x105
push ecx
jmp 0x4473bc
mov edx, dword [ebp + 0x14]
push esi
push edi
push 0x101
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor byte [esp + edi + 0x10], 0x80
lea eax, [esp + edi + 0x10]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
push ebp
call fcn.0043aad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc
cmp bl, 1
je 0x4473fe
push edi
call fcn.0043a6fa
cmp al, 1
je 0x4473fe
push 0
push 2
jmp 0x447402
push 0
push 3
push esi
push edi
call dword [sym.imp.USER32.dll_keybd_event]
push ebp
call fcn.0043aad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc

Function at 0x44741d
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push ebx
mov bl, byte [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x10c]
push esi
push edi
mov edi, dword [esp + 0x118]
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp dword [ebp + 0x14], 0
mov esi, eax
je 0x447514
cmp edi, 0x14
je 0x447514
cmp edi, 0x90
je 0x447514
cmp edi, 0x91
je 0x447514
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
or byte [esp + edi + 0x10], 0x80
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
shl esi, 0x10
or esi, 1
cmp bl, 1
je 0x4474a2
push edi
call fcn.0043a6fa
cmp al, 1
jne 0x4474a8
or esi, 0x1000000
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x4474bb
test eax, 0x100
jne 0x4474bb
cmp edi, 0x12
jne 0x4474f0
test al, 8
jne 0x4474f0
test eax, 0x800
jne 0x4474f0
mov edx, dword [ebp + 0x14]
or esi, 0x20000000
push esi
push edi
push 0x104
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebp
call fcn.0043aab9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc
mov eax, dword [ebp + 0x14]
push esi
push edi
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebp
call fcn.0043aab9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc
cmp bl, 1
je 0x447529
push edi
call fcn.0043a6fa
cmp al, 1
je 0x447529
push 0
push 0
jmp 0x44752d
push 0
push 1
push esi
push edi
call dword [sym.imp.USER32.dll_keybd_event]
push ebp
call fcn.0043aab9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc
Function at 0x44756d
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x118]
test bl, 0x1f
je 0x447769
mov eax, dword [esi + 0x14]
push edi
test eax, eax
je 0x4476fc
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4476fc
push ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, ebx
and ebp, 1
je 0x4475e8
test bl, 8
jne 0x4475e8
test ebx, 0x800
jne 0x4475e8
movzx ecx, byte [esi + 0x19]
mov edx, dword [esi + 0x14]
shl ecx, 0x10
or ecx, 0xe0000001
push ecx
push 0x12
push 0x105
push edx
jmp 0x447604
test ebp, ebp
je 0x447606
movzx eax, byte [esi + 0x19]
mov ecx, dword [esi + 0x14]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x12
push 0x101
push ecx
call edi
mov eax, ebx
and eax, 8
mov dword [esp + 0x14], eax
je 0x44762c
movzx edx, byte [esi + 0x18]
mov eax, dword [esi + 0x14]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x11
push 0x101
push eax
call edi
mov eax, ebx
and eax, 2
mov dword [esp + 0x18], eax
je 0x447654
movzx ecx, byte [esi + 0x1b]
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x14]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push edx
push 0x101
push eax
call edi
mov eax, ebx
and eax, 4
mov dword [esp + 0x10], eax
je 0x44767a
movzx ecx, byte [esi + 0x1c]
mov edx, dword [esi + 0x14]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0x10
push 0x101
push edx
call edi
and ebx, 0x10
je 0x447699
movzx eax, byte [esi + 0x1d]
mov ecx, dword [esi + 0x14]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x5b
push 0x101
push ecx
call edi
mov cl, 0x80
test ebx, ebx
je 0x4476a3
xor byte [esp + 0x77], cl
cmp dword [esp + 0x18], 0
je 0x4476b9
mov eax, dword [esi + 0x20]
xor byte [esp + 0x2c], cl
xor byte [esp + eax + 0x1c], cl
lea eax, [esp + eax + 0x1c]
cmp dword [esp + 0x10], 0
je 0x4476cb
xor byte [esp + 0x2c], cl
xor byte [esp + 0xbd], cl
cmp dword [esp + 0x14], 0
je 0x4476d6
xor byte [esp + 0x2d], cl
test ebp, ebp
pop ebp
je 0x4476df
xor byte [esp + 0x2a], cl
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_SetKeyboardState]
push esi
call fcn.0043aad0
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 8
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test bl, 1
je 0x447714
movzx eax, byte [esi + 0x19]
push 0
push 2
push eax
push 0x12
call edi
test bl, 8
je 0x447726
movzx ecx, byte [esi + 0x18]
push 0
push 2
push ecx
push 0x11
call edi
test bl, 2
je 0x44773b
movzx edx, byte [esi + 0x1b]
movzx eax, byte [esi + 0x20]
push 0
push 2
push edx
push eax
call edi
test bl, 4
je 0x447750
movzx ecx, byte [esi + 0x1c]
push 0
push 2
push ecx
push 0xa1
call edi
test bl, 0x10
je 0x447762
movzx edx, byte [esi + 0x1d]
push 0
push 2
push edx
push 0x5b
call edi
push esi
call fcn.0043aad0
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 8
Function at 0x447774
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x118]
test bl, 0x1f
je 0x44795c
mov eax, dword [esi + 0x14]
push ebp
push edi
test eax, eax
je 0x4478ee
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4478ee
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, ebx
and edi, 0x10
mov cl, 0x80
je 0x4477c7
or byte [esp + 0x77], cl
mov eax, ebx
and eax, 2
mov dword [esp + 0x14], eax
je 0x4477e1
mov eax, dword [esi + 0x20]
or byte [esp + 0x2c], cl
or byte [esp + eax + 0x1c], cl
lea eax, [esp + eax + 0x1c]
mov eax, ebx
and eax, 4
mov dword [esp + 0x18], eax
je 0x4477f7
or byte [esp + 0x2c], cl
or byte [esp + 0xbd], cl
mov eax, ebx
and eax, 8
mov dword [esp + 0x10], eax
je 0x447806
or byte [esp + 0x2d], cl
mov ebp, ebx
and ebp, 1
je 0x447811
or byte [esp + 0x2e], cl
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
test edi, edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
je 0x44783e
movzx edx, byte [esi + 0x1d]
mov eax, dword [esi + 0x14]
shl edx, 0x10
or edx, 1
push edx
push 0x5b
push 0x100
push eax
call edi
cmp dword [esp + 0x14], 0
je 0x44785f
movzx ecx, byte [esi + 0x1b]
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x14]
shl ecx, 0x10
or ecx, 1
push ecx
push edx
push 0x100
push eax
call edi
cmp dword [esp + 0x18], 0
je 0x44787e
movzx ecx, byte [esi + 0x1c]
mov edx, dword [esi + 0x14]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x10
push 0x100
push edx
call edi
cmp dword [esp + 0x10], 0
je 0x44789d
movzx eax, byte [esi + 0x18]
mov ecx, dword [esi + 0x14]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push 0x100
push ecx
call edi
test ebp, ebp
je 0x447954
cmp dword [esp + 0x10], 0
jne 0x4478d2
test ebx, 0x800
jne 0x4478d2
movzx edx, byte [esi + 0x19]
mov eax, dword [esi + 0x14]
shl edx, 0x10
or edx, 0x20000001
push edx
push 0x12
push 0x104
push eax
jmp 0x447952
test ebp, ebp
je 0x447954
movzx ecx, byte [esi + 0x19]
mov edx, dword [esi + 0x14]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x12
push 0x100
push edx
jmp 0x447952
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test bl, 0x10
je 0x447906
movzx eax, byte [esi + 0x1d]
push 0
push 0
push eax
push 0x5b
call edi
test bl, 2
je 0x44791b
movzx ecx, byte [esi + 0x1b]
movzx edx, byte [esi + 0x20]
push 0
push 0
push ecx
push edx
call edi
test bl, 4
je 0x447930
movzx eax, byte [esi + 0x1c]
push 0
push 0
push eax
push 0xa1
call edi
test bl, 8
je 0x447942
movzx ecx, byte [esi + 0x18]
push 0
push 0
push ecx
push 0x11
call edi
test bl, 1
je 0x447954
movzx edx, byte [esi + 0x19]
push 0
push 0
push edx
push 0x12
call edi
push esi
call fcn.0043aab9
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 8
Function at 0x447967
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x100
push ebx
push esi
mov esi, dword [esp + 0x10c]
test eax, 0x200
je 0x447985
or dword [esi + 0x10], 8
test eax, 0x400
je 0x447990
or dword [esi + 0x10], 1
test eax, 0x100
je 0x44799b
or dword [esi + 0x10], 2
mov eax, dword [esi + 0x10]
test al, 8
je 0x4479af
test eax, 0x800
je 0x4479af
xor eax, 8
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test al, 1
je 0x4479c3
test eax, 0x100
je 0x4479c3
xor eax, 1
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test al, 2
je 0x4479d7
test eax, 0x200
je 0x4479d7
xor eax, 2
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test al, 0x10
je 0x4479eb
test eax, 0x1000
je 0x4479eb
xor eax, 0x10
mov dword [esi + 0x10], eax
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x447a49
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esi + 0x10]
test eax, 0x800
jne 0x447a0b
mov byte [esp + 0x19], bl
test eax, 0x100
jne 0x447a16
mov byte [esp + 0x1a], bl
test eax, 0x200
jne 0x447a28
mov ecx, dword [esi + 0x20]
mov byte [esp + 0x18], bl
mov byte [esp + ecx + 8], bl
test eax, 0x1000
jne 0x447a33
mov byte [esp + 0x63], bl
lea edx, [esp + 8]
push edx
call dword [sym.imp.USER32.dll_SetKeyboardState]
pop esi
pop ebx
add esp, 0x100
ret 8
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x447a73
push 0x11
call ebp
mov edx, 0x8000
test dx, ax
je 0x447a85
test dword [esi + 0x10], 0x800
jne 0x447a85
push ebx
push 0x11
push esi
call fcn.00447302
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
jne 0x447aa1
push 0x12
call ebp
mov edx, 0x8000
test dx, ax
je 0x447ab3
test dword [esi + 0x10], 0x100
jne 0x447ab3
push ebx
push 0x12
push esi
call fcn.00447302
mov eax, dword [esi + 0x20]
push eax
call edi
mov ecx, 0x8000
test cx, ax
jne 0x447ad3
mov edx, dword [esi + 0x20]
push edx
call ebp
mov ecx, 0x8000
test cx, ax
je 0x447ae7
test dword [esi + 0x10], 0x200
jne 0x447ae7
mov edx, dword [esi + 0x20]
push ebx
push edx
push esi
call fcn.00447302
push 0xa1
call edi
mov ecx, 0x8000
test cx, ax
jne 0x447b09
push 0xa1
call ebp
mov edx, 0x8000
test dx, ax
je 0x447b1e
test dword [esi + 0x10], 0x400
jne 0x447b1e
push ebx
push 0xa1
push esi
call fcn.00447302
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
jne 0x447b3a
push 0x5b
call ebp
mov edx, 0x8000
test dx, ax
je 0x447b4c
test dword [esi + 0x10], 0x1000
jne 0x447b4c
push ebx
push 0x5b
push esi
call fcn.00447302
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x100
ret 8
Function at 0x447b9a
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
and bl, 1
cmp byte [esp + 0x14], bl
je 0x447c01
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_keybd_event]
push 0
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
push 0
push eax
push esi
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043aab9
push 0
push esi
call edi
push 0
mov byte [esp + 0x20], al
mov edx, dword [esp + 0x20]
push 2
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
call fcn.0043aad0
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
ret 0xc

Function at 0x447c26
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412dbe
mov ebx, eax
mov eax, dword [esi]
add eax, dword [esp + 0x18]
lea ebp, [edi + edi]
push ebp
push eax
push ebx
call fcn.004135d0
add dword [esi], ebp
xor ecx, ecx
add esp, 0x10
xor eax, eax
mov word [ebx + ebp], cx
test edi, edi
jle 0x447c82
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x447c79
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8

Function at 0x448549
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x448565
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 1
jne 0x4485bd
push 0
push 0
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x44857d
mov edi, 0x7fff
push ebp
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412dbe
add esp, 4
mov esi, eax
push esi
push ebp
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebp
test eax, eax
jg 0x4485c8
push esi
call fcn.00412f61
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xc], 0
jne 0x4485e3
push esi
call fcn.0041503a
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [edi + 0x24]
push eax
push esi
call fcn.0041554c
add esp, 8
push esi
test eax, eax
je 0x4485b5
mov byte [edi + 0xb8], 1
call fcn.00412f61
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x448a5e
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.004486f9
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x18], 0
push eax
jge 0x448ac1
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov edx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
push 0x101
push edx
jmp 0x448af0
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov ecx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push ecx
call ebp
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.004486f9
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x44a504
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
push 0x4a35d0
call fcn.00436a77
mov ecx, dword [0x4a3630]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp ebx, esi
jne 0x44a58b
cmp dword [edi + 0x190], 0
je 0x44a567
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x190]
push 0
push esi
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
movzx edx, word [esp + 0x28]
movzx eax, word [esp + 0x24]
shl edx, 0x10
or edx, eax
push edx
push ebx
push 0x7b
push esi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
push ebx
push 0x4a35d0
call fcn.00444d84
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44a567
mov ecx, dword [0x4a3644]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [edx]
mov al, byte [ecx + 0x88]
cmp al, 0xe
je 0x44a567
cmp al, 0xf
je 0x44a567
cmp al, 0x13
je 0x44a567
cmp al, 0x10
je 0x44a567
cmp dword [ecx + 8], 0
je 0x44a567
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [0x4a3644]
push edx
mov edx, dword [ecx + ebp*4]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
Function at 0x44b9a2
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0xc
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
push 0x4a35d0
call fcn.00444cfe
test al, al
je case.0x44ba29.8
mov eax, dword [esp + 0x20]
mov ecx, dword [0x4a3630]
mov edx, dword [ecx + eax*4]
mov ebp, dword [edx]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4a3644]
mov edx, dword [ecx + eax*4]
mov esi, dword [edx]
mov bl, byte [esi + 0x88]
mov edi, dword [esi]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x24], bl
call fcn.00438817
mov eax, dword [esi + 0x44]
add esp, 4
test eax, eax
jl 0x44ba12
push eax
call fcn.004445b6
movzx eax, bl
cmp eax, 0x1b
ja case.0x44ba29.8
movzx ecx, byte [eax + 0x44bba6]
mov ebx, dword [esp + 0x24]
jmp dword [ecx*4 + 0x44bb82]
mov ebp, dword [esp + 0x24]
cmp ebp, 0xfffffffe
je case.0x44ba29.8
cmp ebp, 0xfe000000
jne 0x44ba4d
mov dword [esi + 0x44], ebp
jmp 0x44bb49
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 0
push 0x1001
push edi
call ebx
push ebp
push 0
push 0x1026
push edi
call ebx
mov edx, dword [esp + 0x18]
push 1
push esi
push edx
call fcn.004369e1
jmp 0x44bb49
mov eax, dword [esp + 0x24]
test eax, eax
jl case.0x44ba29.8
mov dword [esi + 0x44], eax
jmp 0x44bb49
mov eax, dword [esp + 0x24]
test eax, eax
jl case.0x44ba29.8
push eax
push 0
push 0x2001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44bb49
mov eax, dword [esp + 0x24]
test eax, eax
jl case.0x44ba29.8
push eax
push 0
push 0x111d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44bb49
mov eax, dword [esp + 0x24]
test eax, eax
jl case.0x44ba29.8
push 1
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x44bb49
test ebx, ebx
jl case.0x44ba29.8
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push esi
push ebp
mov dword [esi + 0x44], ebx
call fcn.004369e1
jmp 0x44bb49
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jl case.0x44ba29.8
test byte [esi + 0x8a], 0x20
mov dword [esi + 0x44], eax
jne 0x44bb49
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov edx, dword [esi]
push 5
push edx
call edi
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [0x492bcc], 0
je 0x44bb66
cmp byte [esp + 0x20], 8
jne 0x44bb66
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8