Function at 0x462120
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.00473360
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 0x462189
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 0x4621a6
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
push 4
lea esi, [ebp + ebp + 1]
call fcn.0049d50f
xor edi, edi
add esp, 4
mov dword [esp + 0x74], eax
cmp eax, edi
je 0x4621c4
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 0x46221f
cmp eax, edi
je 0x46221f
lea esi, [esp + 0x74]
call fcn.00472e80
test eax, eax
je 0x462226
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
jmp 0x462226
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.00472ce0
mov eax, ebp
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
test eax, eax
jge 0x462273
fadd qword [0x4d3588]
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.00462620
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 0x462332
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 0x462356
cmp eax, 3
jne 0x46237a
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 0x462384
cmp eax, 2
jne 0x4623a8
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 0x4623c7
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xbc]
cmp dword [esp + 0x18], eax
jge 0x4623d8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc0]
cmp dword [esp + 0x1c], eax
jle 0x4623e9
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
cmp dword [esp + 0x20], eax
jle 0x4623fa
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.00473720
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 4
jb 0x462320
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 0x4624e8
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 0xbc]
cmp esi, ebp
mov dword [esp + 0x2c], ebp
jl 0x4624fb
mov dword [esp + 0x2c], esi
mov ebp, dword [esp + 0xc0]
cmp dword [esp + 0x30], ebp
jle 0x46250c
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0xc4]
cmp dword [esp + 0x34], esi
jle 0x46251d
mov dword [esp + 0x34], esi
cmp edi, edx
jge 0x462525
mov dword [esp + 0x5c], edx
mov edi, dword [esp + 0xbc]
cmp dword [esp + 0x60], edi
jge 0x462536
mov dword [esp + 0x60], edi
cmp dword [esp + 0x64], ebp
jle 0x462540
mov dword [esp + 0x64], ebp
cmp dword [esp + 0x68], esi
jle 0x46254a
mov dword [esp + 0x68], esi
cmp ebx, edx
jge 0x462552
mov dword [esp + 0x38], edx
cmp dword [esp + 0x3c], edi
jge 0x46255c
mov dword [esp + 0x3c], edi
cmp eax, ebp
jle 0x462564
mov dword [esp + 0x40], ebp
cmp ecx, esi
jle 0x46256c
mov dword [esp + 0x44], esi
cmp dword [esp + 0x14], edx
jge 0x462576
mov dword [esp + 0x14], edx
cmp dword [esp + 0x18], edi
jge 0x462580
mov dword [esp + 0x18], edi
cmp dword [esp + 0x1c], ebp
jle 0x46258a
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0x20], esi
jle 0x462594
mov dword [esp + 0x20], esi
cmp dword [esp + 0x4c], edx
jge 0x46259e
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x50], edi
jge 0x4625a8
mov dword [esp + 0x50], edi
cmp dword [esp + 0x54], ebp
jle 0x4625b2
mov dword [esp + 0x54], ebp
cmp dword [esp + 0x58], esi
jle 0x4625bc
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0xa4]
cmp esi, 0x1000000
jb 0x462609
mov ebx, dword [esp + 0x9c]
push esi
push ebx
lea edi, [esp + 0x30]
call fcn.004744f0
push esi
push ebx
lea edi, [esp + 0x64]
call fcn.004744f0
push esi
push ebx
lea edi, [esp + 0x40]
call fcn.004744f0
push esi
push ebx
lea edi, [esp + 0x1c]
call fcn.004744f0
push esi
push ebx
lea edi, [esp + 0x54]
call fcn.004744f0
lea esi, [esp + 0x74]
call fcn.00472be0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret