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

Disassembly:
sub esp, 0xcc
push ebx
push esi
push edi
mov edi, dword [esp + 0xdc]
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ebx, dword [edi + 0xc]
mov esi, ecx
cmp byte [esi + 6], 0
mov ecx, dword [edi + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
je 0x5e75ff
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
cmp ecx, eax
jle 0x5e7f8c
cmp ebx, edx
jle 0x5e7f8c
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x5e7f8c
mov eax, dword [esp + 0xe0]
and eax, 4
push ebp
mov dword [esp + 0x20], eax
jne 0x5e7647
mov byte [esi + 0x2f8], 0
jmp 0x5e77de
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
cmp dword [esi + 0x8c], 0
mov ecx, dword [edi + 8]
mov ebp, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ecx
jne 0x5e7680
cmp byte [esi + 6], 0
je 0x5e7680
mov ebp, dword [esi + 0x1c]
mov edi, dword [esi + 0x24]
mov eax, dword [esi + 0x94]
push 2
lea edx, [esp + 0x2c]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [esp + 0xe8], 0
je 0x5e7701
cmp byte [esi + 0x2f8], 0
jne 0x5e770e
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [eax + 4]
cmp ebp, ecx
mov eax, dword [eax + 0xc]
jge 0x5e76c2
mov ebp, ecx
cmp edi, eax
jle 0x5e76c8
mov edi, eax
sub ebp, ecx
sub edi, ecx
mov dword [esi + 0x340], ebp
mov dword [esi + 0x344], edi
mov byte [esi + 0x2f8], 1
mov byte [esi + 0x2f9], 0
mov dword [esi + 0x338], 0xffffffff
call fcn.005214db
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], edx
cmp byte [esi + 0x2f8], 0
je 0x5e7f8b
add dword [esi + 0x328], 1
cmp byte [esi + 0x2f9], 0
jne 0x5e77cc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x40]
xor bl, bl
call eax
test eax, eax
jge 0x5e7743
xor edi, edi
mov dword [esp + 0x14], edi
mov bl, 1
jmp 0x5e7747
mov edi, dword [esp + 0x14]
mov ebp, dword [esi + 0x338]
test ebp, ebp
jge 0x5e776f
fild dword [esp + 0x14]
mov ebp, edi
fsub qword [esi + 0x318]
fmul qword [0x640f78]
fadd qword [esi + 0x318]
fstp qword [esi + 0x318]
fld dword [esi + 0x334]
test bl, bl
setne cl
mov byte [esi + 0x33c], cl
mov dword [esi + 0x338], edi
call fcn.005f7380
cmp ebp, edi
mov dword [esi + 0x32c], ebp
mov dword [esi + 0x330], edi
jg 0x5e77a1
cmp ebp, eax
jg 0x5e77a9
jmp 0x5e77a5
cmp ebp, eax
jle 0x5e77cc
cmp eax, edi
jle 0x5e77cc
cmp byte [esp + 0xec], 0
jne 0x5e7f8b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x2f9], 0
je 0x5e7722
mov edi, dword [esp + 0xe0]
mov ebx, dword [esp + 0x18]
mov byte [esi + 0x2f9], 1
mov eax, dword [esi + 0x9c]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x70]
push eax
push ebx
call ecx
cmp dword [esi + 0x8c], 0
mov byte [esp + 0x14], 0
je 0x5e782a
mov edx, dword [esi + 0xa8]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
lea ecx, [esi + 0x2b0]
call fcn.005e6980
test al, al
je 0x5e782a
mov ebx, dword [esi + 0x2bc]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], 1
jmp 0x5e7840
mov eax, dword [esi + 0x94]
push 2
lea edx, [esp + 0x2c]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [esi + 0x3c]
test edi, edi
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], 0
je 0x5e7935
push 0x60
lea ecx, [esp + 0x80]
push 0
push ecx
mov dword [esp + 0x84], 0x64
call fcn.005f7e70
add esp, 0xc
push edi
mov ecx, esi
call fcn.005e6470
mov dword [esp + 0xc8], eax
xor edi, edi
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x78]
push eax
push 0x1000600
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
push ebx
call edx
test eax, eax
jge 0x5e7b8b
cmp eax, 0x887601c2
jne 0x5e7b8b
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x60]
push ebx
call ecx
test eax, eax
jge 0x5e7924
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
push 0
push ebx
call eax
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test al, al
je 0x5e7f8b
cmp byte [esi + 0xd4], 0
jne 0x5e7f8b
cmp byte [esp + 0x14], 0
jne 0x5e7f8b
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
mov dword [esp + 0x18], eax
je 0x5e7b8b
mov edx, dword [esi + 0x9c]
mov ebx, eax
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x70]
push edx
push ebx
call eax
add edi, 1
cmp edi, 5
jl 0x5e7885
jmp 0x5e7b8b
cmp byte [esi + 0x2aa], 0
jne 0x5e79d2
cmp byte [esi + 0xda], 0
je 0x5e79a4
mov edx, dword [esi + 0xe4]
mov ecx, dword [esi + 0xe0]
mov eax, dword [esi + 0xe8]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xec]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xf0]
lea eax, [esp + 0x17]
push eax
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.005e5f80
mov byte [esp + 0x12], al
jmp 0x5e7b8b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xec]
push edx
lea eax, [esp + 0x17]
push eax
push ecx
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.005e5f80
mov byte [esp + 0x12], al
jmp 0x5e7b8b
cmp byte [esi + 0xda], 0
je 0x5e7a05
mov ecx, dword [esi + 0xe0]
mov ebx, dword [esi + 0xe4]
mov edx, dword [esi + 0xe8]
mov eax, dword [esi + 0xec]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp 0x5e7a24
mov ecx, dword [esi + 0x27c]
mov edx, dword [esi + 0x278]
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0x50]
call fcn.00433890
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0xe4]
mov ebp, dword [eax + 0xc]
lea ecx, [esp + 0x40]
and edi, 3
call fcn.00447f30
shl eax, 0x10
cdq
idiv ebp
mov ebp, dword [esi + 0x27c]
add ebp, 1
shl ebp, 0x10
xor ecx, ecx
and ebp, 0xfffe0000
sub ebp, 1
cmp edi, 2
sete cl
xor edx, edx
cmp edi, 3
setne dl
shl ebx, 0x10
mov edi, ecx
mov dword [esp + 0x54], ecx
add edx, 1
mov dword [esp + 0x38], edx
imul edi, eax
imul edx, eax
add edi, ebx
mov ebx, eax
shr ebx, 1
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xe0]
add edi, ebx
cmp ecx, dword [edx + 0xc]
mov ebx, ecx
jge 0x5e7b8b
lea ecx, [esp + 0x40]
call fcn.00447f20
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
mov ecx, ebx
and ecx, 1
je 0x5e7adf
cmp edi, 0x8000
jae 0x5e7acd
xor eax, eax
shr eax, 0x10
and eax, 0xfffffffe
xor eax, ecx
mov ecx, eax
jmp 0x5e7af1
lea eax, [edi - 0x8000]
shr eax, 0x10
and eax, 0xfffffffe
xor eax, ecx
mov ecx, eax
jmp 0x5e7af1
lea ecx, [edi + 0x8000]
cmp ecx, ebp
jbe 0x5e7aeb
mov ecx, ebp
shr ecx, 0x10
and ecx, 0xfffffffe
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
lea eax, [ebx + edx]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
add eax, 1
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], ecx
add ecx, 1
cmp byte [esp + 0xec], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
jne 0x5e7b42
cmp ebx, dword [esp + 0x54]
jg 0x5e7b42
xor al, al
jmp 0x5e7b47
mov eax, 1
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x17]
push edx
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.005e5f80
test al, al
je 0x5e7b86
add ebx, dword [esp + 0x38]
mov eax, dword [esp + 0xe0]
add edi, dword [esp + 0x50]
cmp ebx, dword [eax + 0xc]
jl 0x5e7ab0
jmp 0x5e7b8b
mov byte [esp + 0x12], 0
cmp byte [esp + 0xec], 0
je 0x5e7ba0
cmp byte [esp + 0x13], 0
jne 0x5e7f8b
cmp byte [esp + 0x14], 0
je 0x5e7c13
mov ecx, dword [esi + 0x8c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
lea ebx, [esi + 0x2b0]
push ebx
call eax
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [esi + 0x9c]
mov edi, eax
mov ecx, dword [edi]
mov eax, dword [ecx + 0x70]
push edx
push edi
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x94]
push eax
push ecx
mov dword [esp + 0x44], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
mov ecx, ebx
call fcn.005e57a0
mov ecx, dword [edi]
push 0
push edi
jmp 0x5e7c20
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5e7c25
mov ecx, dword [eax]
push 0
push eax
mov edx, dword [ecx + 0x70]
call edx
xor edi, edi
cmp dword [esp + 0x20], edi
mov byte [esi + 0xd8], 0
je 0x5e7f55
cmp byte [esp + 0x12], 0
mov byte [esi + 0x2f8], 0
je 0x5e7f8b
fild dword [esi + 0x338]
fsub qword [esi + 0x320]
fmul qword [0x640f78]
fadd qword [esi + 0x320]
fstp qword [esi + 0x320]
call fcn.005214db
sub eax, dword [esi + 0x308]
sbb edx, dword [esi + 0x30c]
mov dword [esp + 0x20], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
and eax, 0x80000000
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
fild qword [esp + 0x20]
fchs
faddp st(1)
fstp qword [esp + 0x20]
call fcn.0052156b
fmul qword [esp + 0x20]
mov ecx, dword [esi + 0x98]
fsub qword [esi + 0x310]
fmul qword [0x640f78]
fadd qword [esi + 0x310]
fstp qword [esi + 0x310]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x40]
xor bl, bl
mov byte [esp + 0x1a], bl
call eax
cmp eax, 0x88760219
jne 0x5e7cfa
mov bl, 1
mov dword [esp + 0x18], edi
mov byte [esp + 0x12], bl
jmp 0x5e7d02
cmp eax, edi
jl 0x5e7f55
mov ecx, dword [esp + 0x18]
fild dword [esi + 0x340]
test ecx, ecx
fild dword [esp + 0x18]
jge 0x5e7d1a
fadd dword [0x62b8ec]
fsub st(1)
fild dword [esi + 0x344]
fsubrp st(2)
fdivrp st(1)
fsub dword [0x63c4c0]
fst dword [esp + 0x14]
fldz
fcom st(1)
fnstsw ax
fld1
test ah, 0x41
jne 0x5e7d47
fstp st(2)
fstp st(1)
fstp dword [esp + 0x14]
jmp 0x5e7d7b
fstp st(1)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5e7d5e
fstp st(1)
fld st(0)
fsubrp st(1)
fstp dword [esp + 0x14]
jmp 0x5e7d7b
fld dword [0x627b08]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x5e7d77
fxch st(1)
fsubrp st(1)
fstp dword [esp + 0x14]
jmp 0x5e7d7b
fstp st(1)
fstp st(0)
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
fld dword [esp + 0x14]
fmul dword [0x683a3c]
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
fsubr dword [esi + 0x334]
fst dword [esi + 0x334]
fldz
fcom st(1)
fnstsw ax
fild dword [esp + 0x1c]
test ah, 0x41
jne 0x5e7dc0
faddp st(2)
fxch st(1)
fstp dword [esi + 0x334]
jmp 0x5e7dd9
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x5e7dd5
fsubp st(2)
fxch st(1)
fstp dword [esi + 0x334]
jmp 0x5e7dd9
fstp st(2)
fstp st(1)
test bl, bl
mov ebp, dword [esp + 0x18]
jne 0x5e7df1
cmp ebp, dword [esi + 0x340]
jle 0x5e7df1
cmp ebp, dword [esi + 0x344]
jl 0x5e7df5
fstp st(0)
fld1
xor eax, eax
cmp byte [esi + 0x33c], al
jne 0x5e7e0b
mov eax, dword [esi + 0x338]
shl eax, 4
cdq
idiv ecx
fld dword [0x683a38]
xor edi, edi
lea ecx, [edi + 2]
lea edx, [esi + 0x390]
cmp edi, eax
je 0x5e7e28
fld dword [edx - 4]
fmul st(1)
fstp dword [edx - 4]
lea ebx, [ecx - 1]
cmp ebx, eax
je 0x5e7e35
fld dword [edx]
fmul st(1)
fstp dword [edx]
cmp ecx, eax
je 0x5e7e41
fld dword [edx + 4]
fmul st(1)
fstp dword [edx + 4]
lea ebx, [ecx + 1]
cmp ebx, eax
je 0x5e7e50
fld dword [edx + 8]
fmul st(1)
fstp dword [edx + 8]
lea ebx, [ecx + 2]
cmp ebx, eax
je 0x5e7e5f
fld dword [edx + 0xc]
fmul st(1)
fstp dword [edx + 0xc]
lea ebx, [ecx + 3]
cmp ebx, eax
je 0x5e7e6e
fld dword [edx + 0x10]
fmul st(1)
fstp dword [edx + 0x10]
lea ebx, [ecx + 4]
cmp ebx, eax
je 0x5e7e7d
fld dword [edx + 0x14]
fmul st(1)
fstp dword [edx + 0x14]
lea ebx, [ecx + 5]
cmp ebx, eax
je 0x5e7e8c
fld dword [edx + 0x18]
fmul st(1)
fstp dword [edx + 0x18]
add ecx, 8
add edi, 8
add edx, 0x20
cmp ecx, 0xc
jl 0x5e7e1c
cmp edi, 0x11
jge 0x5e7ebb
lea ecx, [esi + edi*4 + 0x38c]
cmp edi, eax
je 0x5e7eb0
fld dword [ecx]
fmul st(1)
fstp dword [ecx]
add edi, 1
add ecx, 4
cmp edi, 0x11
jl 0x5e7ea6
fstp st(0)
fld1
fsub dword [esi + eax*4 + 0x38c]
fld dword [0x6821d8]
fmul st(1), st(0)
fxch st(1)
fadd dword [esi + eax*4 + 0x38c]
fstp dword [esi + eax*4 + 0x38c]
fld st(1)
fsub dword [esi + eax*4 + 0x348]
fmul st(1)
fadd dword [esi + eax*4 + 0x348]
fstp dword [esi + eax*4 + 0x348]
mov eax, dword [esi + 0x338]
cmp eax, dword [esi + 0x340]
jge 0x5e7f1d
fxch st(1)
fsub dword [esi + 0x300]
fmul st(1)
fadd dword [esi + 0x300]
fstp dword [esi + 0x300]
jmp 0x5e7f1f
fstp st(1)
cmp byte [esi + 0x33c], 0
jne 0x5e7f53
cmp byte [esp + 0x12], 0
jne 0x5e7f53
cmp ebp, eax
jle 0x5e7f53
sub ebp, eax
mov dword [esp + 0x20], ebp
fild dword [esp + 0x20]
fsub dword [esi + 0x2fc]
fmulp st(1)
fadd dword [esi + 0x2fc]
fstp dword [esi + 0x2fc]
jmp 0x5e7f55
fstp st(0)
cmp byte [esi + 0xd6], 0
je 0x5e7f7e
mov ecx, dword [esi + 0x94]
push 0x35
push 0
push 0
push 0
push 0
push 0
push ecx
mov byte [esi + 0xd6], 0
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x2ac]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xcc
ret 0x10