Function at 0x438eb7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x45797c
call fcn.00452450
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
or dword [esi + 0x20], 0xffffffff
push edi
mov dword [ebp - 0x10], eax
call fcn.00438e39
xor edi, edi
cmp byte [esi + 0x1c], 0
mov byte [esi + 0x34], 1
mov dword [esi + 0x30], edi
mov byte [esi + 0x1d], 1
je 0x43908f
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x38]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebp + 0xc], edi
mov eax, dword [esi + 0x38]
cmp dword [eax + 8], 1
ja 0x438f13
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xc]
jne 0x438f4f
push dword [edi + eax + 0x78]
lea eax, [edi + eax + 0x78]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x438f4f
mov eax, dword [esi + 0x38]
lea ecx, [edi + eax + 0x74]
test ecx, ecx
je 0x438f36
lea ecx, [edi + eax + 0x78]
jmp 0x438f38
xor ecx, ecx
mov eax, dword [eax]
push 3
push dword [ebp - 0x18]
mov ebx, dword [ecx]
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_ChildWindowFromPointEx]
cmp eax, ebx
je 0x438f86
inc dword [ebp + 0xc]
add edi, 0x164
cmp edi, 0x2c8
jb 0x438f02
cmp byte [esi + 0x34], 0
je 0x438fad
mov eax, dword [esi + 0x40]
test eax, eax
jl 0x43908f
imul eax, eax, 0x164
mov ecx, dword [esi + 0x38]
lea eax, [eax + ecx + 0x74]
mov dword [esi + 0x30], eax
jmp 0x43908f
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x38]
mov ecx, eax
and byte [esi + 0x34], 0
imul ecx, ecx, 0x164
cmp eax, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x74]
mov dword [esi + 0x30], ecx
jne 0x438f60
and byte [esi + 0x1d], 0
jmp 0x43908f
mov ecx, dword [esi + 0x30]
call fcn.004390a0
test al, al
je 0x43908f
mov eax, dword [esi + 0x30]
lea ecx, [eax + 0x64]
test ecx, ecx
je 0x438fcc
add eax, 0x68
jmp 0x438fce
xor eax, eax
push dword [ebp - 0x10]
mov edi, dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, edi
jne 0x43908f
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x14]
add eax, 0x68
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x30]
lea ecx, [eax + 0x64]
test ecx, ecx
je 0x439011
add eax, 0x68
jmp 0x439013
xor eax, eax
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0x1012
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jl 0x43908f
mov ecx, dword [esi + 0x30]
push ebx
call fcn.00428ba4
mov edi, eax
cmp edi, 0xffffffff
je 0x43908f
mov ecx, dword [esi + 0x30]
push edi
call fcn.0044049d
test al, al
je 0x43908f
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x20]
push edi
push eax
mov dword [esi + 0x20], edi
call fcn.0043fffd
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x24]
call fcn.00402081
push dword [ebp - 0x20]
call fcn.004026ee
mov eax, dword [esi + 0x30]
pop ecx
lea ecx, [eax + 0x64]
test ecx, ecx
je 0x43907f
add eax, 0x68
jmp 0x439081
xor eax, eax
mov ecx, dword [eax]
push 1
mov edx, ebx
call fcn.00438e67
mov dword [esi + 0x18], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8