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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
push dword [ebp + 0x24]
mov ebx, ecx
push dword [ebp + 0x20]
mov dword [esp + 0x18], ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.004486e0
mov dword [esp + 0x18], eax
test eax, eax
je 0x43b2b3
mov edi, dword [ebp + 0x10]
xor cl, cl
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x14], 2
mov byte [esp + 0xc], cl
cmp word [edi], 0
mov byte [esp + 0xd], 1
mov dword [esp + 0x28], closesocket
mov dword [esp + 0x2c], closesocket
je 0x43ae6c
lea eax, [edi + 2]
mov ebx, eax
nop word [eax + eax]
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x43adad
push 2
push esi
call fcn.00498ea3
add esp, 8
test eax, eax
je 0x43adad
and esi, 0xffffffdf
movzx eax, si
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x43adc3.69
movzx eax, byte [eax + 0x43b318]
jmp dword [eax*4 + 0x43b2fc]
mov dword [esp + 0x14], 0
jmp case.0x43adc3.69
mov dword [esp + 0x14], 1
jmp case.0x43adc3.69
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x43adfb
push 2
push esi
call fcn.00498ea3
add esp, 8
test eax, eax
je 0x43adfb
and esi, 0xffffffdf
mov cl, byte [esp + 0xc]
cmp si, 0x41
jne 0x43ae51
add edi, 2
mov byte [esp + 0xd], 0
add ebx, 2
jmp 0x43ae51
push 3
push 0x4c979c
push edi
call fcn.00495d63
add esp, 0xc
test eax, eax
jne case.0x43adc3.69
mov cl, 1
add edi, 4
add ebx, 4
mov byte [esp + 0xc], cl
jmp 0x43ae51
push ebx
call fcn.00495cca
mov dword [esp + 0x2c], eax
jmp 0x43ae4a
push ebx
call fcn.00495cca
mov dword [esp + 0x30], eax
add esp, 4
mov cl, byte [esp + 0xc]
add edi, 2
add ebx, 2
cmp word [edi], 0
jne 0x43ad90
mov ebx, dword [ebp + 0x14]
test cl, cl
jne 0x43af28
mov edi, dword [esp + 0x18]
mov edx, ebx
mov ecx, edi
call fcn.0047cc50
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x43af2c
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jl 0x43b290
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x43aeb0
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x43aefb
lea eax, [esp + 0x30]
push eax
push esi
call ebx
test eax, eax
je case.0x43b0e5.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x43aedf
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x43aefb
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
movzx ebx, ax
shl ebx, 0x10
movzx eax, cx
or ebx, eax
mov dword [esp + 0x20], 0
mov al, byte [ebp + 8]
cmp al, 0x9f
je 0x43b06d
cmp al, 0x9e
je 0x43b06d
xor dl, dl
jmp 0x43b06f
mov edi, dword [esp + 0x18]
push 0x30
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00493930
add esp, 0xc
mov byte [esp + 0x78], 1
movzx eax, word [ebx]
cmp eax, 0x20
je 0x43af4f
cmp eax, 9
jne 0x43af54
add ebx, 2
jmp 0x43af42
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x43af71
push 2
push esi
call fcn.00498ea3
add esp, 8
test eax, eax
je 0x43af71
and esi, 0xffffffdf
cmp si, 0x58
jne case.0x43b0e5.3
add ebx, 2
cmp word [ebx], 0
je case.0x43b0e5.3
mov ecx, ebx
call fcn.00403e00
test al, al
je 0x43afa2
push 0x10
push 0
push ebx
call fcn.00495c2d
add esp, 0xc
jmp 0x43afab
push ebx
call fcn.00495cca
add esp, 4
mov edx, 0x4c89b4
mov dword [esp + 0x50], eax
mov ecx, ebx
call fcn.004053e1
test eax, eax
je case.0x43b0e5.3
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x43afd3
cmp eax, 9
jne 0x43afd8
add esi, 2
jmp 0x43afc6
movzx eax, word [esi]
test ax, ax
je case.0x43b0e5.3
push eax
call fcn.0049e62e
add esp, 4
cmp ax, 0x59
jne case.0x43b0e5.3
cmp word [esi + 2], 0
lea ecx, [esi + 2]
je case.0x43b0e5.3
call fcn.004124b0
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x40]
push eax
push edi
call ebx
mov eax, dword [esp + 0x40]
add dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
push 0x441b00
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x68]
mov esi, edi
test eax, eax
cmovne esi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x43ae8d
mov dl, 1
mov byte [esp + 0xc], dl
cmp al, 0x9c
je 0x43b07f
cmp al, 0x9d
je 0x43b07f
xor cl, cl
jmp 0x43b081
mov cl, 1
mov byte [esp + 0xe], cl
test dl, dl
je 0x43b0b0
cmp al, 0x9f
mov esi, 0xffffff88
mov eax, dword [esp + 0x24]
mov ecx, 0x78
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, edi
mov edi, 0x20a
shl esi, 0x10
jmp 0x43b151
test cl, cl
je 0x43b0d8
cmp al, 0x9c
mov esi, 0x78
mov eax, dword [esp + 0x24]
mov ecx, 0xffffff88
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, edi
mov edi, 0x20e
shl esi, 0x10
jmp 0x43b151
movzx eax, al
dec eax
cmp eax, 5
ja case.0x43b0e5.3
jmp dword [eax*4 + 0x43b330]
mov edi, 0x201
mov dword [esp + 0x10], 0x202
mov esi, 1
jmp 0x43b151
mov edi, 0x204
mov dword [esp + 0x10], 0x205
mov esi, 2
jmp 0x43b151
mov edi, 0x207
mov dword [esp + 0x10], 0x208
mov esi, 0x10
jmp 0x43b151
mov dword [esp + 0x20], 0x10000
mov esi, 0x10020
jmp 0x43b144
mov dword [esp + 0x20], 0x20000
mov esi, 0x20040
mov dword [esp + 0x10], 0x20c
mov edi, 0x20b
cmp byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
je 0x43b1af
push 0
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x43b19f
cmp eax, dword [0x4de014]
je 0x43b19f
mov ecx, dword [esp + 0x18]
call fcn.0047d150
test al, al
jne 0x43b19f
push 1
push dword [esp + 0x28]
push dword [0x4de014]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov dl, byte [esp + 0xc]
jmp 0x43b1b7
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
test dl, dl
jne 0x43b253
cmp byte [esp + 0xe], dl
jne 0x43b253
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x43b277
mov ecx, dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x14]
nop
cmp edx, 1
je 0x43b212
push ebx
push esi
push edi
push dword [esp + 0x28]
call ecx
mov eax, dword [0x4d89c0]
mov ecx, dword [eax + 0x58]
cmp ecx, 0xffffffff
jle 0x43b205
mov edx, 1
call fcn.004016e0
mov edx, dword [esp + 0x14]
mov ecx, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0xc]
test edx, edx
je 0x43b243
push ebx
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x28]
call ecx
mov eax, dword [0x4d89c0]
mov ecx, dword [eax + 0x58]
cmp ecx, 0xffffffff
jle 0x43b23c
mov edx, 1
call fcn.004016e0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [sym.imp.USER32.dll_PostMessageW]
sub eax, 1
mov dword [ebp + 0xc], eax
jne 0x43b1e0
jmp 0x43b277
push ebx
push esi
push edi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4d89c0]
mov ecx, dword [eax + 0x58]
cmp ecx, 0xffffffff
jle 0x43b277
mov edx, 1
call fcn.004016e0
cmp byte [esp + 0xf], 0
je 0x43b290
push 0
push dword [esp + 0x28]
push dword [0x4de014]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4db768]
push 1
push 0
push 0xffffffffffffffff
push 0x4b41e8
call fcn.0047b2f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4d89c0]
test byte [eax + 0x100], 1
jne 0x43b2e0
mov ecx, dword [0x4db768]
push 1
push 0
push 0xffffffffffffffff
push 0x4c8740
call fcn.0047b2f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4c602c
push 0
push 0x4c8740
mov ecx, ebx
call fcn.00434ec0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20