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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x625f70
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
mov esi, ecx
push edi
test byte [esi + 0x158], 2
je 0x5adda6
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov eax, dword [esi]
push ecx
push 0
push edi
mov ecx, esi
call dword [eax + 0xb8]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 8
mov edx, dword [esi]
lea eax, [esp + 0x28]
push ebx
push eax
mov ecx, esi
call dword [edx + 0x230]
mov eax, dword [esi + 0x140]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x5ade61
push esi
lea ecx, [esp + 0x58]
call fcn.005e109a
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x84], edi
cmp ebx, edi
jne 0x5addf7
test byte [esi + 0x158], 2
jne 0x5addf7
mov al, 1
jmp 0x5addf9
xor al, al
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x238]
push eax
lea ecx, [esp + 0x58]
call fcn.005e0986
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x140]
push ebx
push edx
mov edx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0x24]
push edx
call dword [eax + 0xc0]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], eax
call fcn.005e0986
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], 0xffffffff
call fcn.005e110c
mov ecx, esi
call fcn.005ab9c0
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jle 0x5adfbf
push ebp
push esi
lea ecx, [esp + 0x70]
xor ebp, ebp
xor ebx, ebx
call fcn.005e109a
mov eax, dword [esp + 0x94]
mov dword [esp + 0x88], 1
test eax, eax
jne 0x5adea8
test byte [esi + 0x158], 2
jne 0x5adea8
mov al, 1
jmp 0x5adeaa
xor al, al
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x238]
push eax
lea ecx, [esp + 0x70]
call fcn.005e0986
test edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
jle 0x5adf7f
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.005ab8f0
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x70]
test al, al
jne 0x5adf6a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
test eax, 0x80000
jne 0x5adf6a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
dec ecx
cmp eax, ecx
jne 0x5adf11
mov eax, dword [esi + 0x140]
test eax, eax
jne 0x5adf7f
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x78]
lea eax, [esp + 0x34]
push ecx
push eax
mov ecx, edi
call dword [edx + 0xc0]
mov eax, dword [esp + 0x94]
test eax, eax
je 0x5adf52
test ebp, ebp
jle 0x5adf62
mov eax, dword [esp + 0x28]
cmp ebp, eax
jl 0x5adf6a
mov ebp, eax
jmp 0x5adf6a
test ebx, ebx
jle 0x5adf62
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jl 0x5adf6a
mov ebx, eax
jmp 0x5adf6a
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x5aded3
mov eax, dword [esp + 0x94]
test eax, eax
je 0x5adf94
test ebp, ebp
jle 0x5adf9c
add dword [esp + 0x20], ebp
jmp 0x5adf9c
test ebx, ebx
jle 0x5adf9c
add dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x70]
call fcn.005e0986
lea ecx, [esp + 0x6c]
mov dword [esp + 0x88], 0xffffffff
call fcn.005e110c
pop ebp
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x90]
pop ebx
test eax, eax
je 0x5ae00b
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
sub eax, edi
sub eax, esi
add eax, edx
add ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x5ae02b
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
sub ecx, edi
sub ecx, esi
add ecx, edx
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword fs:[0], ecx
add esp, 0x7c
ret 8