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

Disassembly:
push 0xffffffffffffffff
push 0x710960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x847540]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
push 5
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x2c]
call fcn.00571e00
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x60], ebx
je 0x5e7410
mov al, byte [esp + 0x68]
mov dword [esp + 0x38], ebx
test al, al
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x68], al
je 0x5e7143
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x44]
push ecx
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jl 0x5e713e
cmp eax, dword [esp + 0x4c]
jge 0x5e713e
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jl 0x5e713e
cmp ecx, dword [esp + 0x50]
jge 0x5e713e
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x6c]
lea eax, [esp + 0x2c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x3c]
push edx
push eax
call fcn.005dc7b0
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x3c]
mov edx, dword [eax + 4]
lea eax, [esp + 0x38]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x6c]
push eax
push edx
call fcn.005decf0
test al, al
je 0x5e713e
mov ecx, dword [esi + 0x3c]
call fcn.005dc9d0
mov dword [esp + 0x40], eax
jmp 0x5e7245
mov byte [esp + 0x68], 0
mov eax, dword [esi + 0x7c]
cmp eax, 0xffffffff
je 0x5e71b8
mov ecx, dword [esi + 0x2c]
push eax
lea eax, [esp + 0x30]
mov edx, dword [ecx]
push eax
call dword [edx + 0x1c]
mov ecx, dword [eax]
mov edi, 2
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
jmp 0x5e7178
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x2c]
add eax, edi
push ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call fcn.00405b10
test al, al
jne 0x5e71ad
dec edi
cmp edi, ebx
jg 0x5e7174
jmp 0x5e7245
mov eax, dword [esp + 0x3c]
add eax, edi
jmp 0x5e7241
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x44]
push edx
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x3c]
call fcn.005dc9d0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x44]
add eax, edx
cdq
sub eax, edx
lea edx, [esp + 0x2c]
sar eax, 1
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
sar ecx, 1
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x3c]
push eax
push edx
call fcn.005dc7b0
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x3c]
mov edx, dword [eax + 4]
lea eax, [esp + 0x38]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x6c]
push eax
push edx
call fcn.005decf0
test al, al
jne 0x5e7245
mov ecx, dword [esi + 0x2c]
push ebx
mov dword [esp + 0x3c], ebx
call fcn.004058c0
mov dword [esp + 0x3c], eax
mov eax, dword [0x80f2b0]
cmp eax, ebx
je 0x5e7349
mov ebp, eax
mov al, byte [0x83e34a]
test al, 1
mov dword [0x80f2b0], ebx
jne 0x5e728f
mov bl, al
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x13]
push eax
or bl, 1
push ecx
mov ecx, 0x83e350
mov byte [0x83e34a], bl
call fcn.0042e460
push 0x5e42f0
call fcn.006601e7
add esp, 4
mov eax, dword [0x83e354]
mov ecx, dword [0x83e358]
cmp eax, ecx
mov ebx, eax
je 0x5e733e
mov edx, dword [ebx]
test ebp, ebp
mov edi, dword [edx + 0x40]
je 0x5e72bc
cmp ebp, 6
jne 0x5e72cc
mov ecx, dword [edi + 0x24]
call fcn.00465930
jmp 0x5e72cc
mov ecx, edi
call fcn.005e65c0
push 0xffffffffffffffff
mov ecx, edi
call fcn.005ea710
mov al, byte [0x83ecd0]
test al, 1
jne 0x5e72e6
or al, 1
mov byte [0x83ecd0], al
call fcn.005e7430
mov dword [0x83ecdc], eax
mov ecx, dword [0x83ecdc]
push ebp
call fcn.0052b6d0
mov ecx, dword [0x83ecdc]
push 0
test al, al
je 0x5e7317
call fcn.0052b6d0
test al, al
jne 0x5e732e
mov al, byte [edi + 0x61]
test al, al
je 0x5e732e
mov ecx, edi
call fcn.005eb5e0
jmp 0x5e732e
call fcn.0052b6d0
test al, al
je 0x5e732e
mov al, byte [edi + 0x60]
test al, al
je 0x5e732e
mov ecx, edi
call fcn.005eb540
mov eax, dword [0x83e358]
add ebx, 4
cmp ebx, eax
jne 0x5e72a4
xor eax, eax
push eax
push ebp
call fcn.005f07c0
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x3c]
push eax
call fcn.005dea60
lea ecx, [esp + 0x38]
lea edx, [esp + 0x24]
push ecx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.004f6600
mov ecx, esi
call fcn.005ea570
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x14], eax
cmp eax, ecx
mov edi, eax
je 0x5e73ca
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x44]
push eax
call fcn.006c7267
mov eax, dword [esi + 0x7c]
mov byte [esp + 0x60], 1
cmp eax, 0xffffffff
je 0x5e73a8
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.005e8990
cmp edi, 0xffffffff
mov dword [esi + 0x7c], edi
je 0x5e73bc
lea edx, [esp + 0x44]
mov ecx, esi
push edx
call fcn.005e8990
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 0
call fcn.006c72d9
mov ecx, dword [esi + 0x20]
call fcn.006c2aa3
mov al, byte [esp + 0x68]
test al, al
jne 0x5e73e6
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.005e7480
mov al, byte [esp + 0x24]
mov dword [esp + 0x60], 0xffffffff
test al, al
je 0x5e7410
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x5e7410
mov ecx, dword [eax + 4]
push 1
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 0xc