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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7b1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x20]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 8]
push ecx
xor ebx, ebx
push edx
push ebx
push eax
mov ecx, esi
mov dword [esp + 0xc8], esi
call fcn.00419a10
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x30]
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0xb0], ecx
push ebx
mov dword [esi + 0xb4], edx
push ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x288], ebx
mov dword [esi], 0x4dd024
call fcn.00450d20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x288], 1
call fcn.00450d20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x288], 2
call fcn.00450d20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x288], 3
call fcn.00450d20
mov eax, dword [esi + 0xb4]
mov byte [esp + 0x270], 4
inc eax
mov dword [esi + 0xc0], eax
mov ecx, dword [esi + 0xb4]
add ecx, 2
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc4], 0x3e8
mov dword [esi + 0x104], 0x1e
mov dword [esi + 0x78], ebx
mov ecx, esi
mov dword [esi + 0x7c], ebx
call fcn.0041c170
fld qword [eax + 0x50]
fild dword [esi + 0xc4]
fmul st(1)
fmul qword [0x4db760]
fstp qword [esi + 0x120]
mov ecx, esi
fstp st(0)
call fcn.0041c170
fld qword [eax + 0x80]
fild dword [esi + 0xc4]
mov ecx, esi
fmul st(1)
fmul qword [0x4db760]
fstp qword [esi + 0x128]
fstp st(0)
call fcn.0041c170
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
fstp qword [esi + 0xa0]
mov ecx, esi
call fcn.0041c170
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x8c]
mov dword [esi + 0x98], ecx
mov ecx, esi
mov dword [esi + 0x9c], edx
call fcn.0041c170
fld qword [eax + 0x58]
fld qword [esi + 0x120]
fld st(0)
fmul st(1)
mov ecx, esi
fmul qword [0x4dcfa8]
fmul st(2)
fstp qword [esi + 0xa8]
fstp st(0)
fstp st(0)
call fcn.0041c170
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0x94]
mov dword [esi + 0x90], ecx
mov ecx, esi
mov dword [esi + 0x94], edx
call fcn.0041c170
fld qword [eax + 0x98]
fcomp qword [0x4db678]
fnstsw ax
test ah, 0x41
jne 0x45c5b7
xor eax, eax
jmp 0x45c5bc
mov eax, 1
mov ecx, esi
mov dword [esi + 0x108], eax
call fcn.0041c170
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [esi + 0x80], ecx
mov ecx, esi
mov dword [esi + 0x84], edx
call fcn.0041c170
mov ecx, dword [eax + 0x70]
xor edi, edi
mov dword [esp + 0x18], ebx
mov edx, dword [eax + 0x74]
mov eax, dword [esi + 0xb4]
mov dword [esi + 0x88], ecx
cmp eax, ebx
mov dword [esi + 0x8c], edx
mov dword [esi + 0xbc], ebx
jle 0x45c643
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x20]
push eax
call fcn.00442290
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
mov ecx, dword [esi + 0xbc]
add ebx, 4
add ecx, eax
mov eax, dword [esi + 0xb4]
inc edi
mov dword [esi + 0xbc], ecx
cmp edi, eax
jl 0x45c613
xor ebx, ebx
mov ecx, dword [esi + 0xbc]
mov eax, dword [esi + 0xb8]
shl ecx, 1
mov dword [esi + 0x10c], ecx
add ecx, eax
mov dword [esi + 0xd4], ecx
add ecx, eax
mov dword [esi + 0xec], ecx
add ecx, eax
mov dword [esi + 0xf0], ecx
add ecx, eax
mov dword [esi + 0xcc], ecx
add ecx, eax
mov dword [esi + 0xd8], ecx
add ecx, eax
mov dword [esi + 0xdc], ecx
add ecx, eax
mov dword [esi + 0x110], ecx
add ecx, eax
mov dword [esi + 0xe0], ecx
add ecx, eax
mov dword [esi + 0xf8], ecx
add ecx, eax
mov dword [esi + 0xf4], ecx
add ecx, eax
mov dword [esi + 0xd0], ecx
add ecx, eax
mov dword [esi + 0xe4], ecx
add ecx, eax
mov dword [esi + 0xc8], ecx
add ecx, eax
mov dword [esi + 0xe8], ecx
add ecx, eax
mov dword [esi + 0x114], ecx
add ecx, eax
mov dword [esi + 0x118], ecx
mov ecx, dword [esi + 0xb4]
lea ecx, [ecx + ecx*2]
mov dword [esi + 0x11c], ecx
add ecx, eax
mov dword [esi + 0xfc], ecx
add ecx, eax
mov dword [esi + 0x100], ecx
add ecx, eax
shl ecx, 2
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x100]
add eax, ecx
shl eax, 2
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0xb8]
mov edi, dword [esi + 0x100]
mov dword [esi + 0x5c], eax
add ecx, edi
add esp, 8
xor eax, eax
test ecx, ecx
jle 0x45c74d
mov edx, dword [esi + 0x5c]
inc eax
mov dword [edx + eax*4 - 4], ebx
mov ecx, dword [esi + 0xb8]
add ecx, dword [esi + 0x100]
cmp eax, ecx
jl 0x45c735
mov edx, dword [esi + 0x118]
mov ecx, dword [esi + 0xb8]
add edx, ecx
shl edx, 3
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0xb4]
shl eax, 5
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0x118]
mov edi, dword [esi + 0xb8]
mov dword [esi + 0x6c], eax
add ecx, edi
add esp, 8
xor eax, eax
test ecx, ecx
jle 0x45c7ac
mov edx, dword [esi + 0x70]
inc eax
mov dword [edx + eax*8 - 8], ebx
mov dword [edx + eax*8 - 4], ebx
mov ecx, dword [esi + 0x118]
add ecx, dword [esi + 0xb8]
cmp eax, ecx
jl 0x45c790
mov eax, dword [esi + 0xb4]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0xc], ecx
jle 0x45cc84
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
sub edx, edi
xor eax, eax
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x1c]
sub edx, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x14]
sub edx, edi
mov dword [esp + 0x1c], edx
jmp 0x45c7ee
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
mov ebx, dword [ebp + 0xc]
mov edx, dword [esi + 0x58]
mov ebx, dword [ebx + ecx*4]
mov dword [edx + ecx*4], ebx
mov ebx, dword [esi + 0x6c]
mov edx, eax
add edx, ebx
mov ebx, dword [edi]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + 0x6c]
mov ebx, dword [ebx + edi]
mov dword [eax + edx + 8], ebx
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + edi + 4]
mov dword [eax + edx + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov edx, dword [esi + 0x6c]
mov ebx, dword [ebx + edi]
mov dword [eax + edx + 0x10], ebx
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + edi + 4]
mov dword [eax + edx + 0x14], ebx
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 0x6c]
mov ebx, dword [ebx + edi]
mov dword [eax + edx + 0x18], ebx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + edi + 4]
mov dword [eax + edx + 0x1c], ebx
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + ecx*4]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.00442290
mov ebx, eax
mov ecx, ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ebx]
call dword [edx + 0x3c]
mov ecx, dword [esi + 0xb4]
mov edx, dword [esp + 0xc]
add ecx, edx
mov edx, dword [esi + 0x58]
push 0
push 0
mov dword [edx + ecx*4], eax
mov ecx, dword [esi + 0xb4]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x14]
lea ecx, [edx + ecx*2]
mov edx, dword [esi + 0x58]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + edi + 4]
mov edx, dword [eax + edi]
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
lea ecx, [esp + 0x130]
call fcn.00450d20
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x14]
push 0
push 0
mov dword [esp + 0x120], 0x4db6c8
mov ecx, dword [eax + edi + 4]
mov edx, dword [eax + edi]
mov eax, dword [esp + 0x28]
push ecx
push edx
mov ecx, dword [eax + edi + 4]
mov edx, dword [eax + edi]
push ecx
push edx
lea ecx, [esp + 0x110]
call fcn.00450d20
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
fld qword [ecx + edi]
fsub qword [edi]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
fld qword [edx + edi]
fsub qword [eax + edi]
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x70]
add ecx, eax
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov dword [esp + 0xf8], 0x4db6c8
faddp st(1)
fsqrt
fimul dword [esi + 0xc4]
fstp qword [edx + ecx*8 + 8]
mov eax, dword [ebx]
mov ecx, ebx
fstp st(0)
fstp st(0)
call dword [eax + 0x58]
mov ecx, dword [esi + 0x114]
mov edx, dword [esp + 0xc]
add ecx, edx
mov edx, dword [esi + 0x70]
fstp qword [edx + ecx*8 + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x5c]
mov ecx, dword [esi + 0x118]
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x70]
add ecx, eax
sub esp, 0x20
fstp qword [edx + ecx*8 + 8]
mov ecx, dword [esp + 0x78]
mov eax, esp
mov dword [esp + 0x4c], esp
mov dword [eax + 4], ecx
mov dword [eax], 0x4db6c8
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x4db9a8
mov edx, dword [ebx]
lea eax, [esp + 0xd8]
mov ecx, ebx
push eax
call dword [edx + 0x4c]
mov ecx, dword [eax + 4]
sub esp, 0x20
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xd0], eax
mov eax, esp
mov dword [esp + 0xcc], edx
mov dword [esp + 0x4c], esp
mov dword [eax + 4], ecx
mov dword [eax], 0x4db6c8
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x4db9a8
mov edx, dword [ebx]
lea eax, [esp + 0xf8]
mov ecx, ebx
push eax
mov dword [esp + 0xdc], 0x4db6c8
call dword [edx + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
mov dword [esp + 0x98], edx
mov edx, dword [ebx]
lea eax, [esp + 0x1dc]
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0xec], 0x4db6c8
call dword [edx + 0x48]
mov edx, dword [ebx]
mov eax, dword [esp + 0x88]
mov byte [esp + 0x270], 5
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push eax
lea eax, [esp + 0x144]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x48]
mov ecx, dword [ebx + 0x44]
xor eax, eax
mov byte [esp + 0x270], 6
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0x14]
test edx, edx
jle 0x45cc24
mov edx, dword [esp + 0x18]
shl edx, 3
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 0xbc]
mov ebx, dword [esp + 0x18]
add ecx, eax
add ecx, ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x260]
lea eax, [ecx + eax*8]
mov ecx, dword [esi + 0x70]
mov ebx, dword [eax]
mov dword [ecx + edx], ebx
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, dword [esp + 0x1c8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [ecx + edx*8]
mov edx, dword [esi + 0x70]
mov ebx, dword [ecx]
mov dword [edx + eax*8], ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
mov dword [edx + eax*8 + 4], ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x44]
inc eax
add edx, 8
cmp eax, dword [ecx + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
jl 0x45cbb8
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x3c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x138]
add edx, eax
mov byte [esp + 0x270], 5
mov dword [esp + 0x18], edx
call fcn.0044c440
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x270], 4
call fcn.0044c440
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esi + 0xb4]
inc eax
add ebx, 0x20
add edi, 8
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], ebx
jl 0x45c7e6
xor ebx, ebx
mov ecx, dword [esi + 0x114]
mov edx, dword [esi + 0xb4]
mov eax, dword [esi + 0x70]
mov edi, dword [esi + 0xc0]
add edx, ecx
add edi, ecx
mov ecx, dword [eax + edx*8]
mov dword [eax + edi*8], ecx
mov edx, dword [eax + edx*8 + 4]
mov dword [eax + edi*8 + 4], edx
mov ecx, dword [esi + 0x118]
mov edx, dword [esi + 0xb4]
mov eax, dword [esi + 0x70]
mov edi, dword [esi + 0xc0]
add edx, ecx
add edi, ecx
mov ecx, dword [eax + edx*8]
mov dword [eax + edi*8], ecx
mov edx, dword [eax + edx*8 + 4]
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esi + 0xc0]
mov edi, 1
cmp eax, edi
jl 0x45cd54
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x90]
add eax, edi
mov dword [ecx + eax*8], edx
mov edx, dword [esi + 0x94]
mov dword [ecx + eax*8 + 4], edx
mov ecx, esi
call fcn.0041c170
fld qword [eax + 0x68]
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0x70]
add eax, edi
fstp qword [ecx + eax*8]
mov edx, dword [esi + 0xd0]
mov eax, dword [esi + 0x70]
add edx, edi
mov dword [eax + edx*8], ebx
mov dword [eax + edx*8 + 4], ebx
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0x70]
add ecx, edi
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], ebx
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0x58]
add eax, edi
inc edi
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0xc0]
cmp edi, eax
jle 0x45cce1
mov edx, dword [esi + 0x58]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx]
push eax
call fcn.00442290
mov ecx, eax
call fcn.004422a0
mov ecx, eax
call fcn.00441ad0
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xb4]
mov ebx, 1
cmp eax, ebx
jle 0x45cdd6
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + ebx*4]
push eax
call fcn.00442290
mov ecx, eax
call fcn.0041bee0
mov edi, eax
mov ecx, edi
call fcn.004497b0
test eax, eax
je 0x45cdbe
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00441c50
mov ecx, edi
call fcn.004497d0
test eax, eax
jne 0x45cda6
test edi, edi
je 0x45cdcb
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esi + 0xb4]
inc ebx
cmp ebx, eax
jl 0x45cd83
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00441e50
mov ecx, dword [esp + 0x268]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c