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

Disassembly:
sub esp, 0x88
mov edx, dword [esp + 0x8c]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0xb8]
call fcn.004737c0
fld dword [esp + 0xa0]
fadd qword [0x4bab50]
fnstcw word [esp + 0x24]
movzx eax, word [esp + 0x24]
or eax, 0xc00
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb0]
fldcw word [esp + 0x38]
sub eax, dword [esp + 0xa8]
fistp qword [esp + 0x38]
mov ebp, dword [esp + 0x38]
lea ecx, [ebp + ebp]
fldcw word [esp + 0x24]
cmp ecx, eax
jbe 0x4625f9
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0xac]
lea edx, [ebp + ebp]
cmp edx, eax
jbe 0x462616
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
push 4
lea esi, [ebp + ebp + 1]
call fcn.0049d99f
xor edi, edi
add esp, 4
mov dword [esp + 0x74], eax
cmp eax, edi
je 0x462634
mov dword [eax], 1
mov eax, esi
mov dword [esp + 0x84], edi
mov byte [esp + 0x88], 1
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x94], edi
cmp esi, edi
je 0x46268f
cmp eax, edi
je 0x46268f
lea esi, [esp + 0x74]
call fcn.004732e0
test eax, eax
je 0x462696
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
jmp 0x462696
mov dword [esp + 0x84], edi
or esi, 0xffffffff
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
movq xmm0, qword [esp + 0x38]
movq qword [eax], xmm0
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
movq xmm0, qword [esp + 0x40]
lea edi, [esp + 0x84]
movq qword [eax + 8], xmm0
call fcn.00473140
mov eax, ebp
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
test eax, eax
jge 0x4626e3
fadd qword [0x4d35b8]
mov ecx, dword [esp + 0xa4]
fst qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
fadd qword [0x4bab50]
addsd xmm0, qword [0x4c88e8]
cvtpd2ps xmm0, xmm0
sub esp, 0x10
fstp dword [esp + 0x80]
mov eax, esp
movss dword [esp + 0x48], xmm0
fld dword [esp + 0x48]
movss dword [esp + 0x7c], xmm0
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
movq xmm0, qword [esp + 0x3c]
movq qword [eax], xmm0
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
movq xmm0, qword [esp + 0x48]
movq qword [eax + 8], xmm0
fstp dword [esp]
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x88]
call fcn.00462a90
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
lea ecx, [edx + ebp]
add esp, 0x1c
mov dword [esp + 0x6c], ecx
xor eax, eax
lea ecx, [ebx + ebp]
mov edi, edx
mov esi, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ecx
jmp 0x4627a2
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0xac]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov ecx, edx
cmp eax, 1
je 0x4627c6
cmp eax, 3
jne 0x4627ea
mov eax, dword [esp + 0xb0]
mov ecx, eax
sub ecx, dword [esp + 0x7c]
sub eax, edx
sub eax, ebp
add dword [esp + 0x1c], eax
lea edx, [edi + eax]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
cmp eax, 1
je 0x4627f4
cmp eax, 2
jne 0x462818
mov eax, dword [esp + 0xb4]
mov ebx, eax
sub eax, dword [esp + 0xac]
sub ebx, dword [esp + 0x80]
sub eax, ebp
add dword [esp + 0x20], eax
lea edx, [eax + esi]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0x14], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
jge 0x462837
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xbc]
cmp dword [esp + 0x18], eax
jge 0x462848
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc0]
cmp dword [esp + 0x1c], eax
jle 0x462859
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
cmp dword [esp + 0x20], eax
jle 0x46286a
mov dword [esp + 0x20], eax
movq xmm0, qword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x2c]
movq qword [eax + 8], xmm0
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.00473b80
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 4
jb 0x462790
mov edx, dword [esp + 0xb0]
sub edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xb4]
sub ebx, dword [esp + 0xac]
mov eax, edx
sub eax, ebp
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
add dword [esp + 0x1c], edi
mov ecx, ebx
sub ecx, ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
add dword [esp + 0x30], edi
mov dword [esp + 0x68], ecx
add dword [esp + 0x68], esi
mov dword [esp + 0x50], ecx
add dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
add dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
add dword [esp + 0x58], esi
mov dword [esp + 0x14], eax
add dword [esp + 0x14], edi
mov dword [esp + 0x20], ecx
add dword [esp + 0x20], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xb8]
add eax, edi
add ecx, esi
cmp ebp, edx
mov ebx, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
jge 0x462958
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 0xbc]
cmp esi, ebp
mov dword [esp + 0x2c], ebp
jl 0x46296b
mov dword [esp + 0x2c], esi
mov ebp, dword [esp + 0xc0]
cmp dword [esp + 0x30], ebp
jle 0x46297c
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0xc4]
cmp dword [esp + 0x34], esi
jle 0x46298d
mov dword [esp + 0x34], esi
cmp edi, edx
jge 0x462995
mov dword [esp + 0x5c], edx
mov edi, dword [esp + 0xbc]
cmp dword [esp + 0x60], edi
jge 0x4629a6
mov dword [esp + 0x60], edi
cmp dword [esp + 0x64], ebp
jle 0x4629b0
mov dword [esp + 0x64], ebp
cmp dword [esp + 0x68], esi
jle 0x4629ba
mov dword [esp + 0x68], esi
cmp ebx, edx
jge 0x4629c2
mov dword [esp + 0x38], edx
cmp dword [esp + 0x3c], edi
jge 0x4629cc
mov dword [esp + 0x3c], edi
cmp eax, ebp
jle 0x4629d4
mov dword [esp + 0x40], ebp
cmp ecx, esi
jle 0x4629dc
mov dword [esp + 0x44], esi
cmp dword [esp + 0x14], edx
jge 0x4629e6
mov dword [esp + 0x14], edx
cmp dword [esp + 0x18], edi
jge 0x4629f0
mov dword [esp + 0x18], edi
cmp dword [esp + 0x1c], ebp
jle 0x4629fa
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0x20], esi
jle 0x462a04
mov dword [esp + 0x20], esi
cmp dword [esp + 0x4c], edx
jge 0x462a0e
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x50], edi
jge 0x462a18
mov dword [esp + 0x50], edi
cmp dword [esp + 0x54], ebp
jle 0x462a22
mov dword [esp + 0x54], ebp
cmp dword [esp + 0x58], esi
jle 0x462a2c
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0xa4]
cmp esi, 0x1000000
jb 0x462a79
mov ebx, dword [esp + 0x9c]
push esi
push ebx
lea edi, [esp + 0x30]
call fcn.00474950
push esi
push ebx
lea edi, [esp + 0x64]
call fcn.00474950
push esi
push ebx
lea edi, [esp + 0x40]
call fcn.00474950
push esi
push ebx
lea edi, [esp + 0x1c]
call fcn.00474950
push esi
push ebx
lea edi, [esp + 0x54]
call fcn.00474950
lea esi, [esp + 0x74]
call fcn.00473040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret