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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
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 + 0xe8], 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
push ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x340], ebx
mov dword [esi + 0xb4], edx
mov dword [esi], 0x4dd1bc
mov dword [esp + 0x30], ebx
call fcn.00450d20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x340], 1
call fcn.00450d20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x340], 2
call fcn.00450d20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x340], 3
call fcn.00450d20
mov eax, dword [esi + 0xb4]
mov byte [esp + 0x328], 4
mov dword [esi + 0xc4], 0x3e8
lea ecx, [eax + 3]
shl eax, 5
push eax
mov dword [esi + 0xb8], ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0xb4]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0xb8]
lea eax, [eax + eax*4]
shl eax, 2
lea ecx, [eax + edx*4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0xb8]
add esp, 8
lea edx, [ecx + ecx*2]
mov dword [esi + 0x60], ebx
lea ecx, [edx + eax*4]
lea edx, [edx + eax*4]
mov dword [esi + 0x100], ecx
add eax, edx
xor ecx, ecx
test eax, eax
jle 0x461bee
mov eax, dword [esi + 0x64]
inc ecx
mov dword [eax + ecx*4 - 4], ebx
mov eax, dword [esi + 0xb4]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0xb8]
lea eax, [eax + eax*4]
add edx, eax
cmp ecx, edx
jl 0x461bce
mov eax, dword [esi + 0xb4]
xor edi, edi
cmp eax, ebx
mov dword [esi + 0x10c], ebx
jle 0x461c33
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 + 0x10c]
add ebx, 4
add ecx, eax
mov eax, dword [esi + 0xb4]
inc edi
mov dword [esi + 0x10c], ecx
cmp edi, eax
jl 0x461c03
xor ebx, ebx
mov eax, dword [esi + 0xb8]
mov edi, eax
shl edi, 4
add edi, eax
mov eax, dword [esi + 0x10c]
shl edi, 1
lea ecx, [edi + eax*2]
shl ecx, 3
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esi + 0x10c]
mov dword [esi + 0x7c], eax
add esp, 4
xor eax, eax
lea ecx, [edi + edx*2]
test ecx, ecx
jle 0x461c82
mov edx, dword [esi + 0x7c]
inc eax
mov dword [edx + eax*8 - 8], ebx
mov dword [edx + eax*8 - 4], ebx
mov ecx, dword [esi + 0x10c]
lea edx, [edi + ecx*2]
cmp eax, edx
jl 0x461c69
mov eax, dword [esi + 0xb4]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x10], ecx
jle 0x4621a4
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
sub edx, ebx
xor eax, eax
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x18]
sub edx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x1c]
sub edx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], edx
jmp 0x461cc8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + 0x64]
mov edi, dword [edi + ecx*4]
mov dword [edx + ecx*4], edi
mov edi, dword [esi + 0x78]
mov edx, eax
add edx, edi
mov edi, dword [esp + 0x24]
mov edi, dword [edi + ebx]
mov dword [edx], edi
mov edi, dword [esp + 0x24]
mov edi, dword [edi + ebx + 4]
mov dword [edx + 4], edi
mov edx, dword [esi + 0x78]
mov edi, dword [ebx]
mov dword [eax + edx + 8], edi
mov edi, dword [ebx + 4]
mov dword [eax + edx + 0xc], edi
mov edi, dword [esp + 0x2c]
mov edx, dword [esi + 0x78]
mov edi, dword [edi + ebx]
mov dword [eax + edx + 0x10], edi
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + ebx + 4]
mov dword [eax + edx + 0x14], edi
mov edi, dword [esp + 0x28]
mov edx, dword [esi + 0x78]
mov edi, dword [edi + ebx]
mov dword [eax + edx + 0x18], edi
mov edi, dword [esp + 0x28]
mov edi, dword [edi + ebx + 4]
mov dword [eax + edx + 0x1c], edi
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + ecx*4]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.00442290
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x3c]
mov ecx, dword [esi + 0xb4]
mov edx, dword [esp + 0x10]
add ecx, edx
mov edx, dword [esi + 0x64]
mov dword [edx + ecx*4], eax
mov ecx, dword [esi + 0xb4]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x14]
lea ecx, [edx + ecx*2]
mov edx, dword [esi + 0x64]
mov dword [edx + ecx*4], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
mov ecx, dword [esi + 0xb8]
mov eax, dword [esi + 0x10c]
mov edx, dword [esp + 0x10]
shl ecx, 4
add ecx, eax
lea eax, [edx + ecx*2]
mov ecx, dword [esi + 0x7c]
fstp qword [ecx + eax*8 + 8]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x5c]
mov eax, dword [esi + 0xb8]
mov edx, dword [esp + 0x10]
mov ecx, eax
shl ecx, 5
add ecx, edx
mov edx, dword [esi + 0x10c]
add ecx, eax
lea eax, [ecx + edx*2]
mov ecx, dword [esi + 0x7c]
fstp qword [ecx + eax*8 + 8]
mov edx, dword [esi + 0x78]
mov eax, dword [esp + 0x1c]
add eax, edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x54]
push 0
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c8]
call fcn.00450d20
mov ecx, dword [eax + 4]
push 0
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
push 0
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x1c8], 0x4db6c8
call fcn.00450d20
mov edx, dword [eax + 4]
sub esp, 0x20
mov dword [esp + 0x98], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x78]
mov eax, esp
mov dword [esp + 0xb0], edx
mov dword [esp + 0x1b0], 0x4db6c8
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 [esp + 0x34], esp
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 [edi]
lea eax, [esp + 0x190]
mov ecx, edi
push eax
call dword [edx + 0x4c]
mov ecx, dword [eax + 4]
sub esp, 0x20
mov dword [esp + 0xd8], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ecx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xf0], eax
mov eax, esp
mov dword [esp + 0xec], edx
mov dword [esp + 0x34], esp
mov dword [eax + 4], ecx
mov dword [eax], 0x4db6c8
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x4db9a8
mov edx, dword [edi]
lea eax, [esp + 0x1f0]
mov ecx, edi
push eax
mov dword [esp + 0x194], 0x4db6c8
call dword [edx + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0xc4]
push eax
mov dword [esp + 0xb8], edx
mov edx, dword [edi]
lea eax, [esp + 0x294]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x1e4], 0x4db6c8
call dword [edx + 0x48]
mov byte [esp + 0x328], 5
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
lea eax, [esp + 0x1fc]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x48]
mov edx, dword [edi + 0x44]
xor ecx, ecx
mov byte [esp + 0x328], 6
mov dword [esp + 0x20], ecx
mov eax, dword [edx + 0x14]
test eax, eax
jle 0x462142
mov eax, dword [esp + 0x18]
lea edx, [eax*8]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x10c]
mov ebx, dword [esi + 0x7c]
add eax, ecx
add eax, edx
mov edx, dword [esp + 0x318]
lea ecx, [edx + ecx*8]
mov edx, dword [esp + 0x14]
add edx, ebx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov ecx, dword [ecx + 4]
mov dword [edx + 4], ecx
mov edx, dword [esp + 0x280]
mov ecx, dword [esp + 0x20]
lea edx, [edx + ecx*8]
mov ecx, dword [esi + 0x7c]
mov ebx, dword [edx]
mov dword [ecx + eax*8], ebx
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 4]
add ebx, 8
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [eax + 0x14]
inc ecx
cmp ecx, edx
mov dword [esp + 0x20], ecx
jl 0x4620d8
mov ebx, dword [esp + 0x30]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x3c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1f0]
add edx, eax
mov byte [esp + 0x328], 5
mov dword [esp + 0x18], edx
call fcn.0044c440
lea ecx, [esp + 0x288]
mov byte [esp + 0x328], 4
call fcn.0044c440
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0xb4]
inc eax
add ebx, 8
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], edx
jl 0x461cc0
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0x10c]
shl eax, 4
add eax, ecx
mov ecx, dword [esi + 0xb4]
lea eax, [ecx + eax*2]
mov ecx, dword [esi + 0x7c]
mov edx, dword [ecx + eax*8]
mov dword [ecx + eax*8 + 8], edx
mov edx, dword [ecx + eax*8 + 4]
mov dword [ecx + eax*8 + 0xc], edx
mov eax, dword [esi + 0xb8]
mov edx, dword [esi + 0x10c]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea eax, [ecx + edx*2]
mov ecx, dword [esi + 0xb4]
add eax, ecx
mov ecx, dword [esi + 0x7c]
mov edx, dword [ecx + eax*8]
mov dword [ecx + eax*8 + 8], edx
mov edx, dword [ecx + eax*8 + 4]
mov dword [ecx + eax*8 + 0xc], edx
mov eax, dword [esi + 0x64]
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax]
push eax
call fcn.00442290
mov ecx, eax
call fcn.004422a0
mov ecx, eax
call fcn.00441ad0
mov ecx, dword [esi + 0xb4]
mov ebx, eax
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x46228e
mov ecx, dword [esi + 0x64]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 0x20]
push eax
call fcn.00442290
mov ecx, eax
call fcn.0041bee0
mov edi, eax
mov ecx, edi
call fcn.004497b0
test eax, eax
je 0x46226e
mov eax, dword [eax + 4]
mov ecx, ebx
push eax
call fcn.00441c50
mov ecx, edi
call fcn.004497d0
test eax, eax
jne 0x462258
test edi, edi
je 0x46227b
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x462231
push ebx
mov ecx, esi
call fcn.00441e50
xor ebx, ebx
lea ecx, [esp + 0xd8]
push ebx
push 4
call fcn.0044c3d0
mov ecx, esi
mov byte [esp + 0x328], 7
call fcn.0041c170
fld qword [eax + 0x68]
mov ecx, dword [esp + 0x168]
xor edi, edi
fstp qword [ecx]
mov edx, dword [esp + 0x168]
mov dword [edx + 8], ebx
mov eax, dword [esp + 0x168]
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x168]
mov dword [ecx + 0x10], ebx
mov edx, dword [esp + 0x168]
mov dword [edx + 0x14], ebx
mov eax, dword [esp + 0x168]
mov dword [eax + 0x18], ebx
mov ecx, dword [esp + 0x168]
mov dword [ecx + 0x1c], ebx
mov edx, dword [esi + 0x44]
cmp dword [edx + 0xc], ebx
jle 0x462337
lea eax, [esp + 0xd8]
mov ecx, esi
push eax
push ebx
push edi
call fcn.0041c180
mov ecx, eax
call fcn.0047a5a0
mov ecx, eax
call fcn.0047a010
mov ecx, eax
call fcn.0047ab70
mov ecx, dword [esi + 0x44]
inc edi
cmp edi, dword [ecx + 0xc]
jl 0x462308
mov ecx, esi
call fcn.0041c170
fld qword [eax + 0x80]
fdiv qword [0x4dd148]
mov ecx, esi
fsqrt
fimul dword [esi + 0xc4]
fstp qword [esi + 0x130]
call fcn.0041c170
fld qword [eax + 0x50]
fdiv qword [0x4dd148]
mov ecx, esi
fsqrt
fimul dword [esi + 0xc4]
fstp qword [esi + 0x128]
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 + 0x128]
fld st(0)
fmul st(1)
mov ecx, esi
fmul qword [0x4dd148]
fmul st(2)
fstp qword [esi + 0xa8]
fstp st(0)
fstp st(0)
call fcn.0041c170
fld qword [eax + 0x98]
fcomp qword [0x4db678]
fnstsw ax
test ah, 0x41
je 0x4623ee
mov ebx, 1
mov ecx, esi
mov dword [esi + 0x118], ebx
call fcn.0041c170
fld qword [eax + 0xa0]
fst qword [esi + 0x58]
fcomp qword [0x4db678]
fnstsw ax
test ah, 0x40
jne 0x462418
mov dword [esi + 0x60], 1
mov ecx, esi
call fcn.0041c170
mov ecx, dword [eax + 0x70]
mov byte [esp + 0x328], 4
mov edx, dword [eax + 0x74]
mov dword [esi + 0x88], ecx
lea ecx, [esp + 0xd8]
mov dword [esi + 0x8c], edx
call fcn.0044c440
mov ecx, dword [esp + 0x320]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c