Function at 0x4391c0
Capabilities:
Log keystrokes
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x90]
call fcn.00447730
mov dword [esp + 0x8c], eax
test eax, eax
je case.0x43956e.3
xor bl, bl
mov eax, SysReAllocString
mov dword [esp + 0x18], 2
mov byte [esp + 0x80], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ebp, edi
cmp byte [edi], bl
je 0x4392e7
lea esi, [edi + 1]
lea ebx, [ebx]
movzx edi, byte [ebp]
test edi, 0xffffff80
jne 0x43923e
push 2
push edi
call fcn.0049303e
add esp, 8
test eax, eax
je 0x43923e
and edi, 0xffffffdf
mov eax, edi
movsx eax, al
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x439256.69
movzx ecx, byte [eax + 0x439830]
jmp dword [ecx*4 + 0x439814]
mov dword [esp + 0x18], 0
jmp case.0x439256.69
mov dword [esp + 0x18], 1
jmp case.0x439256.69
movzx edi, byte [esi]
test edi, 0xffffff80
jne 0x43928e
push 2
push edi
call fcn.0049303e
add esp, 8
test eax, eax
je 0x43928e
and edi, 0xffffffdf
mov eax, edi
cmp al, 0x41
jne case.0x439256.69
inc ebp
inc esi
mov byte [esp + 0x80], 0
jmp case.0x439256.69
push 3
push 0x4ae08c
push ebp
call fcn.004924d0
add esp, 0xc
test eax, eax
jne case.0x439256.69
add ebp, 2
add esi, 2
mov bl, 1
jmp case.0x439256.69
push esi
call fcn.00493086
mov dword [esp + 0x24], eax
jmp 0x4392d4
push esi
call fcn.00493086
mov dword [esp + 0x28], eax
add esp, 4
inc ebp
inc esi
cmp byte [ebp], 0
jne 0x439220
test bl, bl
jne 0x43930c
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x84]
push edx
call fcn.00483270
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
jne 0x439463
mov edi, dword [esp + 0x84]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea ecx, [ecx]
mov al, byte [edi]
cmp al, 0x20
je 0x43934a
cmp al, 9
jne 0x43934d
inc edi
jmp 0x439340
movzx esi, byte [edi]
test esi, 0xffffff80
jne 0x43936a
push 2
push esi
call fcn.0049303e
add esp, 8
test eax, eax
je 0x43936a
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x58
jne case.0x43956e.3
cmp byte [edi + 1], 0
lea esi, [edi + 1]
je case.0x43956e.3
mov eax, esi
call fcn.0040dbe0
test al, al
je 0x43939b
push 0x10
push 0
push esi
call fcn.004933d7
add esp, 0xc
jmp 0x4393a4
push esi
call fcn.00493086
add esp, 4
mov dword [esp + 0x48], eax
mov edi, 0x4a80dc
mov eax, esi
call fcn.0040a290
test eax, eax
je case.0x43956e.3
lea esi, [eax + 1]
nop
mov al, byte [esi]
cmp al, 0x20
je 0x4393ca
cmp al, 9
jne 0x4393cd
inc esi
jmp 0x4393c0
mov al, byte [esi]
test al, al
je case.0x43956e.3
movsx eax, al
push eax
call fcn.00494806
add esp, 4
cmp eax, 0x59
jne case.0x43956e.3
inc esi
cmp byte [esi], 0
je case.0x43956e.3
call fcn.0040dc30
mov edi, dword [esp + 0x8c]
lea ecx, [esp + 0x38]
push ecx
push edi
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x48], edx
add dword [esp + 0x4c], eax
lea ecx, [esp + 0x48]
push ecx
push 0x440220
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x439443
mov edi, eax
mov dword [esp + 0x14], eax
jmp 0x439447
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esp + 0x7c], 1
jl 0x4397a4
mov ecx, dword [esp + 0x20]
cmp ecx, 0x80000000
je 0x439485
mov eax, dword [esp + 0x24]
cmp eax, 0x80000000
jne 0x4394d4
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x43956e.3
mov ecx, dword [esp + 0x20]
cmp ecx, 0x80000000
jne 0x4394b8
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
cmp eax, 0x80000000
jne 0x4394d4
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
movzx ebx, ax
mov al, byte [esp + 0x78]
movzx ecx, cx
shl ebx, 0x10
or ebx, ecx
mov dword [esp + 0x1c], 0
cmp al, 0x9f
je 0x4394f7
cmp al, 0x9e
je 0x4394f7
xor dl, dl
jmp 0x4394f9
mov dl, 1
mov byte [esp + 0x84], dl
cmp al, 0x9c
je 0x43950c
cmp al, 0x9d
je 0x43950c
xor cl, cl
jmp 0x43950e
mov cl, 1
mov byte [esp + 0x78], cl
test dl, dl
je 0x43953b
xor edx, edx
cmp al, 0x9f
setne dl
mov edi, 0x20a
lea ebp, [edx - 1]
and ebp, 0xf0
add ebp, 0xffffff88
imul ebp, dword [esp + 0x7c]
shl ebp, 0x10
jmp 0x4395da
test cl, cl
je 0x439561
xor edx, edx
cmp al, 0x9c
setne dl
mov edi, 0x20e
lea ebp, [edx - 1]
and ebp, 0xffffff10
add ebp, 0x78
imul ebp, dword [esp + 0x7c]
shl ebp, 0x10
jmp 0x4395da
movzx eax, al
dec eax
cmp eax, 5
ja case.0x43956e.3
jmp dword [eax*4 + 0x439848]
mov edi, 0x201
mov dword [esp + 0x74], 0x202
mov ebp, 1
jmp 0x4395da
mov edi, 0x204
mov dword [esp + 0x74], 0x205
mov ebp, 2
jmp 0x4395da
mov edi, 0x207
mov dword [esp + 0x74], 0x208
mov ebp, 0x10
jmp 0x4395da
mov dword [esp + 0x1c], 0x10000
mov ebp, 0x10020
jmp 0x4395cd
mov dword [esp + 0x1c], 0x20000
mov ebp, 0x20040
mov dword [esp + 0x74], 0x20c
mov edi, 0x20b
cmp byte [esp + 0x80], 0
mov byte [esp + 0x88], 0
je 0x439652
mov eax, dword [esp + 0x8c]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x80], eax
test eax, eax
je 0x439640
cmp eax, dword [0x4bd780]
je 0x439640
mov esi, dword [esp + 0x8c]
call fcn.00483760
test al, al
jne 0x439640
mov ecx, dword [esp + 0x80]
mov edx, dword [0x4bd780]
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x88]
mov eax, dword [esp + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov cl, byte [esp + 0x78]
cmp byte [esp + 0x84], 0
jne 0x439735
test cl, cl
jne 0x439735
mov eax, dword [esp + 0x7c]
test eax, eax
jle 0x439783
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x78], eax
mov edi, edi
cmp dword [esp + 0x18], 1
je 0x4396d0
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push edi
push ecx
call esi
mov edx, dword [0x4b7468]
cmp dword [edx + 0x58], 0xffffffff
jle 0x4396d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4bd780], eax
jne 0x4396c0
mov eax, dword [0x4b7468]
mov ecx, dword [eax + 0x58]
push 1
push ecx
call fcn.00401280
add esp, 8
jmp 0x4396d0
mov edx, dword [0x4b7468]
mov eax, dword [edx + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x18], 0
je 0x439729
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
push ebx
push ecx
push edx
push eax
call esi
mov ecx, dword [0x4b7468]
cmp dword [ecx + 0x58], 0xffffffff
jle 0x439729
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4bd780], eax
jne 0x439719
mov edx, dword [0x4b7468]
mov eax, dword [edx + 0x58]
push 1
push eax
call fcn.00401280
add esp, 8
jmp 0x439729
mov ecx, dword [0x4b7468]
mov edx, dword [ecx + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [esp + 0x78]
jne 0x439680
jmp 0x439783
mov eax, dword [esp + 0x14]
push ebx
push ebp
push edi
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x4b7468]
cmp dword [ecx + 0x58], 0xffffffff
jle 0x439783
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4bd780], eax
jne 0x439773
mov edx, dword [0x4b7468]
mov eax, dword [edx + 0x58]
push 1
push eax
call fcn.00401280
add esp, 8
jmp 0x439783
mov ecx, dword [0x4b7468]
mov edx, dword [ecx + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0x88], 0
je 0x4397a4
mov eax, dword [esp + 0x80]
mov ecx, dword [0x4bd780]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edx, dword [0x4bbf74]
push 1
push 0
push 0xffffffffffffffff
push 0x4a6904
push edx
call fcn.00481890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c
mov eax, dword [0x4b7468]
cmp byte [eax + 0xe4], 0
jne 0x4397f4
mov ecx, dword [0x4bbf74]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7fd8
push ecx
call fcn.00481890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c
mov ecx, dword [esp + 0x74]
push 0x4a6869
push 0
push 0x4a7fd8
call fcn.00432b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c