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

Disassembly:
push ecx
mov al, byte [0x5ac2e4]
push ebp
test al, al
push edi
je 0x456635
mov ecx, dword [0x57ede0]
xor eax, eax
test ecx, ecx
jle 0x45676e
lea ecx, [eax + 1]
mov eax, dword [eax*4 + 0x57ed90]
mov dword [eax + 0x1e0], ecx
mov eax, ecx
cmp eax, dword [0x57ede0]
jl 0x45660c
call fcn.00456830
pop edi
pop ebp
add esp, 4
jmp 0x4569d0
mov ecx, dword [0x588f28]
lea eax, [ecx - 3]
cmp eax, 7
ja case.0x456647.6
jmp dword [eax*4 + 0x456780]
mov eax, dword [0x595580]
test eax, eax
je case.0x456647.6
lea ecx, [eax + eax*2]
xor edi, edi
lea edx, [ecx + ecx*8]
add edx, edx
sub edx, eax
mov eax, dword [0x57ede0]
test eax, eax
lea ebp, [edx*8 + 0x5a1610]
jle 0x45676e
push ebx
push esi
mov edx, dword [edi*4 + 0x57ed90]
mov esi, dword [0x588e8c]
or ebx, 0xffffffff
xor ecx, ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [0x5a3cb0]
add esi, eax
mov eax, dword [0x5a64c8]
add esi, eax
mov eax, dword [0x5a1780]
add eax, esi
test eax, eax
jle 0x4566c9
mov esi, 0x5a29f0
cmp esi, dword [esp + 0x10]
je 0x4566c7
inc ecx
add esi, 0xf0
cmp ecx, eax
jl 0x4566b4
jmp 0x4566c9
mov ebx, ecx
mov ecx, dword [ebp + ebx*4 + 0x108]
inc ecx
inc edi
mov dword [edx + 0x1e0], ecx
mov eax, dword [0x57ede0]
cmp edi, eax
jl 0x45667d
pop esi
pop ebx
call fcn.00456830
pop edi
pop ebp
add esp, 4
jmp 0x4569d0
mov eax, dword [0x595580]
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx*8]
add edx, edx
sub edx, eax
lea eax, [edx*8 + 0x5a17b8]
mov eax, dword [edx*8 + 0x5a17c4]
cmp eax, 2
jne 0x456728
call fcn.004567a0
call fcn.00456830
pop edi
pop ebp
add esp, 4
jmp 0x4569d0
cmp eax, 1
je 0x45675f
mov al, byte [0x5a6940]
pop edi
pop ebp
add esp, 4
test al, al
je 0x456764
jmp 0x457020
mov eax, dword [0x57ed90]
mov dword [eax + 0x1e0], 1
mov ecx, dword [0x57ed94]
mov dword [ecx + 0x1e0], 2
pop edi
pop ebp
add esp, 4
jmp 0x456af0
call fcn.004568d0
call fcn.00456830
pop edi
pop ebp
add esp, 4
jmp 0x4569d0
mov eax, dword [0x57ede0]
push esi
push edi
xor edi, edi
xor esi, esi
cmp eax, edi
jle 0x456ae5
push ebx
mov ebx, 1
mov ecx, dword [esi*4 + 0x57ed90]
mov eax, dword [ecx + 0x1e0]
lea eax, [eax + eax*8]
mov edx, dword [eax*4 + 0x580dd4]
lea eax, [eax*4 + 0x580dd4]
mov dword [ecx + 0xb8], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0xbc], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0xc0], edx
mov ecx, dword [esi*4 + 0x57ed90]
mov edx, dword [eax + 0xc]
add ecx, 0xc4
mov dword [ecx], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 8], edx
mov ecx, dword [esi*4 + 0x57ed90]
mov edx, dword [eax + 0x18]
add ecx, 0xd0
mov dword [ecx], edx
mov edx, dword [eax + 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esi*4 + 0x57ed90]
add eax, 0xdc
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov ecx, dword [esi*4 + 0x57ed90]
mov dword [ecx + 0xe8], edi
mov eax, dword [esi*4 + 0x57ed90]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x2c]
lea edx, [eax + 0xb8]
cmp ecx, ebx
sete cl
push ecx
push edi
push edx
lea ecx, [eax + 0x16c]
call fcn.00413070
mov eax, dword [esi*4 + 0x57ed90]
mov word [eax + 0x17c], di
mov ecx, dword [esi*4 + 0x57ed90]
mov word [ecx + 0x17e], bx
mov ecx, dword [esi*4 + 0x57ed90]
call fcn.004da170
mov ecx, dword [esi*4 + 0x57ed90]
call fcn.004db080
mov eax, dword [0x57ede0]
inc esi
cmp esi, eax
jl 0x4569e9
pop ebx
pop edi
pop esi
ret
sub esp, 0x120
mov eax, dword [0x57ede0]
push esi
push edi
xor edi, edi
xor esi, esi
cmp eax, edi
mov dword [esp + 8], esi
jle 0x457016
push ebx
push ebp
mov eax, dword [esi*4 + 0x57ed90]
lea ebx, [esi + 1]
mov dword [esp + 0x18], ebx
mov dword [eax + 0x1e0], ebx
mov ecx, dword [esi*4 + 0x57ed90]
mov edx, dword [ecx + 8]
cmp dword [edx + 0x2c], edi
jne 0x456c51
lea ecx, [esp + 0xc0]
call fcn.00413020
push 1
push edi
push 0x580a50
lea ecx, [esp + 0xcc]
call fcn.00413070
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [esp + 0xf8]
add eax, 0xb8
push 0xf
mov dword [eax], ecx
mov edx, dword [esp + 0x100]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x104]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xc4]
call fcn.00413b20
mov eax, dword [esi*4 + 0x57ed90]
sub esp, 0xc
fld dword [esp + 0x10c]
fsub dword [eax + 0xc0]
add eax, 0xb8
lea ecx, [esp + 0xc0]
fstp dword [esp + 8]
fld dword [esp + 0x108]
fsub dword [eax + 4]
fstp dword [esp + 4]
fld dword [esp + 0x104]
fsub dword [eax]
fstp dword [esp]
call fcn.0040e9c0
lea ecx, [esp + 0xb4]
call fcn.00403980
push ecx
lea edx, [esp + 0xb8]
lea eax, [esp + 0xac]
fstp dword [esp]
push edx
push eax
call fcn.004039d0
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [esp + 0xb4]
add eax, 0xc4
add esp, 0xc
mov dword [eax], ecx
mov edx, dword [esp + 0xac]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 8], ecx
mov eax, dword [esi*4 + 0x57ed90]
add eax, 0xd0
mov dword [eax], edi
mov dword [eax + 4], 0x3f800000
mov dword [eax + 8], edi
mov edx, dword [esi*4 + 0x57ed90]
mov word [edx + 0x17e], 0xffff
jmp 0x456e4c
fild dword [esp + 0x10]
fidiv dword [0x57ede0]
fimul dword [0x581d84]
fmul qword [0x5549c8]
call fcn.00533a88
mov ecx, dword [0x581d84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cdq
idiv ecx
lea eax, [edx + edx*8]
lea ecx, [edx + eax*2]
mov edx, dword [0x581d80]
lea edi, [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 4]
mov edx, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
fld dword [esp + 0x24]
fadd dword [0x553dbc]
mov ebx, edx
mov ebp, eax
push ebx
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
fstp dword [esp]
push ebp
mov dword [esp + 0x34], edx
call fcn.0040e9c0
fld dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
fsub dword [0x553dbc]
mov edx, dword [esp + 0x50]
push ebx
push ecx
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x40], eax
fstp dword [esp]
push ebp
mov dword [esp + 0x4c], edx
call fcn.0040e9c0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x34], edx
push 0
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [0x581a20]
push edx
call fcn.004dd1c0
test eax, eax
jne 0x456d3e
mov eax, dword [esp + 0x10]
mov ecx, dword [0x581d84]
inc eax
cdq
idiv ecx
mov dword [esp + 0x10], edx
jmp 0x456c76
fld dword [esp + 0x34]
fmul dword [esp + 0x14]
sub esp, 0xc
lea ecx, [esp + 0xa8]
fstp dword [esp + 8]
fld dword [esp + 0x3c]
fmul dword [esp + 0x20]
fstp dword [esp + 4]
fld dword [esp + 0x38]
fmul dword [esp + 0x20]
fstp dword [esp]
call fcn.0040e9c0
fld dword [0x552454]
fsub dword [esp + 0x14]
fld dword [esp + 0x40]
sub esp, 0xc
lea ecx, [esp + 0x90]
fmul st(1)
fstp dword [esp + 8]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 4]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp]
fstp st(0)
call fcn.0040e9c0
fld dword [esp + 0xa4]
fadd dword [esp + 0x8c]
sub esp, 0xc
lea ecx, [esp + 0x60]
fstp dword [esp + 8]
fld dword [esp + 0xac]
fadd dword [esp + 0x94]
fstp dword [esp + 4]
fld dword [esp + 0xa8]
fadd dword [esp + 0x90]
fstp dword [esp]
call fcn.0040e9c0
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
add eax, 0xb8
mov ebx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esi*4 + 0x57ed90]
mov edx, dword [edi + 0xc]
add eax, 0xc4
mov dword [eax], edx
mov ecx, dword [edi + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 8], edx
mov eax, dword [esi*4 + 0x57ed90]
add eax, 0xd0
xor edi, edi
mov dword [eax], 0
mov dword [eax + 4], 0x3f800000
mov dword [eax + 8], 0
mov eax, dword [esi*4 + 0x57ed90]
mov dword [eax + 0xdc], edi
add eax, 0xdc
mov ebp, 1
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov eax, dword [esi*4 + 0x57ed90]
mov dword [eax + 0xe8], edi
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x2c]
lea ecx, [eax + 0xb8]
cmp edx, ebp
sete dl
push edx
push edi
push ecx
lea ecx, [eax + 0x16c]
call fcn.00413070
mov edx, dword [esi*4 + 0x57ed90]
mov word [edx + 0x17c], di
mov eax, dword [0x588f28]
cmp eax, 7
je 0x456edc
mov eax, dword [0x595580]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
add ecx, ecx
sub ecx, eax
cmp dword [ecx*8 + 0x5a17c4], edi
je 0x456edc
mov edx, dword [esi*4 + 0x57ed90]
mov word [edx + 0x17e], bp
jmp 0x456eea
mov eax, dword [esi*4 + 0x57ed90]
mov word [eax + 0x17e], di
mov ecx, dword [esi*4 + 0x57ed90]
call fcn.004da170
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], edi
jne 0x456ff5
push edi
lea ecx, [eax + 0x16c]
mov dword [esp + 0x48], 0x41d68889
call fcn.00414580
fst dword [esp + 0x18]
fcomp dword [0x554e48]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x44]
fnstsw ax
and eax, 0x4100
je 0x456f53
lea ecx, [esp + 0x18]
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x90]
mov edx, dword [eax + 0x274]
fld dword [edx + 0x10c]
fld st(0)
fmul dword [eax + 0xc4]
fld st(1)
fmul dword [eax + 0xc8]
lea edx, [esp + 0x78]
push edx
push ecx
fstp dword [esp + 0x6c]
fxch st(1)
fmul dword [eax + 0xcc]
fstp dword [esp + 0x70]
fmul dword [esp + 0x24]
fstp dword [esp + 0x98]
fld dword [esp + 0x6c]
fmul dword [esp + 0x24]
fstp dword [esp + 0x9c]
fld dword [esp + 0x70]
fmul dword [esp + 0x24]
fstp dword [esp + 0xa0]
mov ecx, dword [eax + 0x274]
call fcn.004e4b70
mov edx, dword [esi*4 + 0x57ed90]
mov eax, dword [edx + 0x274]
mov ecx, dword [eax + 0x5c]
mov dword [eax + 0x90], ecx
mov edx, dword [eax + 0x60]
mov dword [eax + 0x94], edx
mov ecx, dword [eax + 0x64]
mov dword [eax + 0x98], ecx
mov ecx, dword [esi*4 + 0x57ed90]
call fcn.004db080
mov eax, dword [0x57ede0]
mov esi, ebx
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x456b0f
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x120
ret
mov eax, dword [0x57ede0]
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, ebx
jle 0x4572c4
push ebp
push edi
or edi, 0xffffffff
mov eax, dword [esi*4 + 0x57ed90]
lea ebp, [esi + 1]
cmp esi, 1
mov dword [eax + 0x1e0], ebp
jne 0x4570cc
mov ecx, dword [0x57ed94]
mov edx, dword [0x58105c]
mov dword [ecx + 0xb8], edx
lea eax, [ecx + 0xb8]
mov ecx, dword [0x581060]
mov dword [eax + 4], ecx
mov edx, dword [0x581064]
mov dword [eax + 8], edx
mov eax, dword [0x57ed94]
mov ecx, dword [0x581068]
add eax, 0xc4
mov dword [eax], ecx
mov edx, dword [0x58106c]
mov dword [eax + 4], edx
mov ecx, dword [0x581070]
mov dword [eax + 8], ecx
mov edx, dword [0x57ed94]
mov ecx, dword [0x581074]
lea eax, [edx + 0xd0]
mov dword [eax], ecx
mov edx, dword [0x581078]
mov dword [eax + 4], edx
mov ecx, dword [0x58107c]
mov dword [eax + 8], ecx
mov edx, dword [0x57ed94]
jmp 0x457145
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [0x580df8]
add eax, 0xb8
mov dword [eax], ecx
mov edx, dword [0x580dfc]
mov dword [eax + 4], edx
mov ecx, dword [0x580e00]
mov dword [eax + 8], ecx
mov eax, dword [esi*4 + 0x57ed90]
mov edx, dword [0x580e04]
add eax, 0xc4
mov dword [eax], edx
mov ecx, dword [0x580e08]
mov dword [eax + 4], ecx
mov edx, dword [0x580e0c]
mov dword [eax + 8], edx
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [0x580e10]
add eax, 0xd0
mov dword [eax], ecx
mov edx, dword [0x580e14]
mov dword [eax + 4], edx
mov ecx, dword [0x580e18]
mov dword [eax + 8], ecx
mov edx, dword [esi*4 + 0x57ed90]
mov word [edx + 0x17e], di
mov eax, dword [esi*4 + 0x57ed90]
add eax, 0xdc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov eax, dword [esi*4 + 0x57ed90]
mov dword [eax + 0xe8], ebx
mov eax, dword [esi*4 + 0x57ed90]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x2c]
lea ecx, [eax + 0xb8]
cmp edx, 1
sete dl
push edx
push ebx
push ecx
lea ecx, [eax + 0x16c]
call fcn.00413070
mov edx, dword [esi*4 + 0x57ed90]
mov word [edx + 0x17c], bx
mov eax, dword [esi*4 + 0x57ed90]
mov word [eax + 0x17e], 1
mov ecx, dword [esi*4 + 0x57ed90]
call fcn.004da170
cmp esi, 1
jne 0x4572a7
mov ecx, dword [0x57ed94]
push ebx
add ecx, 0x16c
mov dword [esp + 0x18], 0x41d68889
call fcn.00414580
fst dword [esp + 0x18]
fcomp dword [0x554e48]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x14]
fnstsw ax
and eax, 0x4100
je 0x457214
lea ecx, [esp + 0x18]
mov eax, dword [0x57ed94]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov edx, dword [eax + 0x274]
fld dword [edx + 0x10c]
fld st(0)
fmul dword [eax + 0xc4]
fld st(1)
fmul dword [eax + 0xc8]
lea edx, [esp + 0x28]
push edx
push ecx
fstp dword [esp + 0x28]
fxch st(1)
fmul dword [eax + 0xcc]
fstp dword [esp + 0x2c]
fmul dword [esp + 0x18]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fmul dword [esp + 0x18]
fstp dword [esp + 0x40]
fld dword [esp + 0x2c]
fmul dword [esp + 0x18]
fstp dword [esp + 0x44]
mov ecx, dword [eax + 0x274]
call fcn.004e4b70
mov edx, dword [0x57ed94]
mov eax, dword [edx + 0x274]
mov ecx, dword [eax + 0x5c]
mov dword [eax + 0x90], ecx
mov edx, dword [eax + 0x60]
mov dword [eax + 0x94], edx
mov ecx, dword [eax + 0x64]
mov dword [eax + 0x98], ecx
mov ecx, dword [esi*4 + 0x57ed90]
call fcn.004db080
mov eax, dword [0x57ede0]
mov esi, ebp
cmp esi, eax
jl 0x45703b
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x30
ret