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

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x80]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x98]
call fcn.00444480
xor ebp, ebp
mov dword [esp + 0x94], eax
cmp eax, ebp
je case.0x436c1e.3
mov ecx, SysReAllocString
mov dword [esp + 0x18], 2
mov byte [esp + 0x88], 0
mov byte [esp + 0x90], 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov esi, edi
cmp word [edi], bp
je 0x43697a
lea ebx, [edi + 2]
jmp 0x4368a0
movzx edi, word [esi]
test edi, 0xffffff80
jne 0x4368bd
push 2
push edi
call fcn.00490cae
add esp, 8
cmp eax, ebp
je 0x4368bd
and edi, 0xffffffdf
movzx eax, di
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x4368d3.69
movzx ecx, byte [eax + 0x436e70]
jmp dword [ecx*4 + 0x436e54]
mov dword [esp + 0x18], ebp
jmp case.0x4368d3.69
mov dword [esp + 0x18], 1
jmp case.0x4368d3.69
movzx edi, word [ebx]
test edi, 0xffffff80
jne 0x436907
push 2
push edi
call fcn.00490cae
add esp, 8
cmp eax, ebp
je 0x436907
and edi, 0xffffffdf
cmp di, 0x41
jne case.0x4368d3.69
add esi, 2
add ebx, 2
mov byte [esp + 0x90], 0
jmp case.0x4368d3.69
push 3
push 0x4ac9f8
push esi
call fcn.00490257
add esp, 0xc
test eax, eax
jne case.0x4368d3.69
add esi, 4
add ebx, 4
mov byte [esp + 0x88], 1
jmp case.0x4368d3.69
push ebx
call fcn.00490cf6
mov dword [esp + 0x24], eax
jmp 0x436957
push ebx
call fcn.00490cf6
mov dword [esp + 0x28], eax
add esp, 4
add esi, 2
add ebx, 2
cmp word [esi], bp
jne 0x4368a0
cmp byte [esp + 0x88], 0
jne 0x436998
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
push eax
call fcn.0047aca0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
jne 0x436aec
push 0x2c
lea edx, [esp + 0x50]
push ebp
push edx
mov dword [esp + 0x54], ebp
call fcn.004988e0
mov edi, dword [esp + 0x98]
add esp, 0xc
mov byte [esp + 0x70], 1
movzx eax, word [edi]
cmp eax, 0x20
je 0x4369c5
cmp eax, 9
jne 0x4369ca
add edi, 2
jmp 0x4369b8
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x4369e7
push 2
push esi
call fcn.00490cae
add esp, 8
cmp eax, ebp
je 0x4369e7
and esi, 0xffffffdf
cmp si, 0x58
jne case.0x436c1e.3
cmp word [edi + 2], bp
lea esi, [edi + 2]
je case.0x436c1e.3
mov eax, esi
call fcn.0040ea00
test al, al
je 0x436a17
push 0x10
push ebp
push esi
call fcn.004911af
add esp, 0xc
jmp 0x436a20
push esi
call fcn.00490cf6
add esp, 4
mov dword [esp + 0x48], eax
mov ebx, 0x4a673c
mov eax, esi
call fcn.004096a0
test eax, eax
je case.0x436c1e.3
lea esi, [eax + 2]
jmp 0x436a40
movzx eax, word [esi]
cmp eax, 0x20
je 0x436a4d
cmp eax, 9
jne 0x436a52
add esi, 2
jmp 0x436a40
movzx eax, word [esi]
test ax, ax
je case.0x436c1e.3
push eax
call fcn.00491bbd
add esp, 4
cmp ax, 0x59
jne case.0x436c1e.3
add esi, 2
cmp word [esi], bp
je case.0x436c1e.3
call fcn.0040ea60
mov edi, dword [esp + 0x94]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add dword [esp + 0x48], ecx
add dword [esp + 0x4c], edx
lea eax, [esp + 0x48]
push eax
push 0x43d510
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [esp + 0x60]
test esi, esi
je 0x436ac8
mov dword [esp + 0x14], esi
jmp 0x436ace
mov esi, edi
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
xor ebp, ebp
cmp dword [esp + 0x84], 1
jge 0x436b16
mov ecx, dword [0x4cad68]
push 1
push ebp
push 0xffffffffffffffff
push 0x4a38f0
push ecx
call fcn.00479320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov ecx, dword [esp + 0x20]
cmp ecx, 0x80000000
je 0x436b2d
mov eax, dword [esp + 0x24]
cmp eax, 0x80000000
jne 0x436b7c
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x436c1e.3
mov ecx, dword [esp + 0x20]
cmp ecx, 0x80000000
jne 0x436b60
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 0x436b7c
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
movzx ebp, ax
movzx eax, cx
shl ebp, 0x10
or ebp, eax
mov al, byte [esp + 0x80]
mov dword [esp + 0x1c], 0
cmp al, 0x9f
je 0x436ba2
cmp al, 0x9e
je 0x436ba2
xor dl, dl
jmp 0x436ba4
mov dl, 1
mov byte [esp + 0x80], dl
cmp al, 0x9c
je 0x436bb7
cmp al, 0x9d
je 0x436bb7
xor cl, cl
jmp 0x436bb9
mov cl, 1
mov byte [esp + 0x8c], cl
test dl, dl
je 0x436bea
xor ebx, ebx
cmp al, 0x9f
setne bl
mov edi, 0x20a
dec ebx
and ebx, 0xf0
add ebx, 0xffffff88
imul ebx, dword [esp + 0x84]
shl ebx, 0x10
jmp 0x436c8a
test cl, cl
je 0x436c11
xor ebx, ebx
cmp al, 0x9c
setne bl
mov edi, 0x20e
dec ebx
and ebx, 0xffffff10
add ebx, 0x78
imul ebx, dword [esp + 0x84]
shl ebx, 0x10
jmp 0x436c8a
movzx eax, al
dec eax
cmp eax, 5
ja case.0x436c1e.3
jmp dword [eax*4 + 0x436e88]
mov edi, 0x201
mov dword [esp + 0x7c], 0x202
mov ebx, 1
jmp 0x436c8a
mov edi, 0x204
mov dword [esp + 0x7c], 0x205
mov ebx, 2
jmp 0x436c8a
mov edi, 0x207
mov dword [esp + 0x7c], 0x208
mov ebx, 0x10
jmp 0x436c8a
mov dword [esp + 0x1c], 0x10000
mov ebx, 0x10020
jmp 0x436c7d
mov dword [esp + 0x1c], 0x20000
mov ebx, 0x20040
mov dword [esp + 0x7c], 0x20c
mov edi, 0x20b
cmp byte [esp + 0x90], 0
mov byte [esp + 0x88], 0
je 0x436cfd
mov ecx, dword [esp + 0x94]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x90], eax
test eax, eax
je 0x436cef
cmp eax, dword [0x4cb4ec]
je 0x436cef
mov esi, dword [esp + 0x94]
call fcn.0047b1e0
test al, al
jne 0x436cef
mov edx, dword [esp + 0x90]
mov eax, dword [0x4cb4ec]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x88]
mov ecx, dword [esp + 0x94]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp byte [esp + 0x80], 0
jne 0x436d9b
cmp byte [esp + 0x8c], 0
jne 0x436d9b
mov eax, dword [esp + 0x84]
test eax, eax
jle 0x436dc1
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x80], eax
cmp dword [esp + 0x18], 1
je 0x436d5e
mov edx, dword [esp + 0x14]
push ebp
push ebx
push edi
push edx
call esi
mov eax, dword [0x4c6a44]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x436d5e
push 1
push eax
call fcn.004013d0
add esp, 8
cmp dword [esp + 0x18], 0
je 0x436d90
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
push ebp
push ecx
push edx
push eax
call esi
mov ecx, dword [0x4c6a44]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x436d90
push 1
push eax
call fcn.004013d0
add esp, 8
dec dword [esp + 0x80]
jne 0x436d35
jmp 0x436dc1
mov edx, dword [esp + 0x14]
push ebp
push ebx
push edi
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4c6a44]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x436dc1
push 1
push eax
call fcn.004013d0
add esp, 8
cmp byte [esp + 0x88], 0
je 0x436de2
mov ecx, dword [esp + 0x90]
mov edx, dword [0x4cb4ec]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a38f0
push eax
call fcn.00479320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov ecx, dword [0x4c6a44]
test byte [ecx + 0x100], 1
jne 0x436e32
mov edx, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a6244
push edx
call fcn.00479320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov ecx, dword [esp + 0x7c]
push 0x4a3860
push 0
push 0x4a6244
call fcn.0042fe50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c