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

Disassembly:
push ebp
push ebx
push esi
push edi
add esp, 0xffffffac
mov dword [esp + 4], 0
mov edi, dword [esp + 0x68]
mov al, byte [esp + 0x7c]
test al, al
je 0x45471c
mov word [esp + 0x4c], 0x12c
mov word [esp + 0x4e], 0
mov word [esp + 0x50], 0
mov word [esp + 0x44], 0
mov word [esp + 0x46], 0x12c
mov word [esp + 0x48], 0
mov word [esp + 0x3c], 0x226
mov word [esp + 0x3e], 0x226
mov word [esp + 0x40], 0
jmp 0x454753
mov word [esp + 0x4c], 0
mov word [esp + 0x4e], 0
mov word [esp + 0x50], 0
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x50]
mov word [esp + 0x40], dx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x50]
mov word [esp + 0x48], cx
push dword [esp + 0x74]
call fcn.00454680
fstp dword [esp + 0x24]
push dword [esp + 0x78]
call fcn.00454680
fst dword [esp + 0x38]
fcomp dword [esp + 0x24]
fnstsw ax
and ah, 1
je 0x454782
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jmp 0x45478a
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
test dword [esp + 0x20], 0x7fffffff
je 0x4547aa
fld dword [esp + 0x20]
fmul dword [esp + 0x38]
fld dword [esp + 0x38]
fadd dword [esp + 0x24]
fdivp st(1)
fstp dword [esp + 0x38]
mov eax, dword [0x493dc4]
lea ecx, [eax - 1]
mov dword [esp], ecx
mov dword [esp + 4], 0
fild qword [esp]
fst dword [esp + 0x18]
fmul dword [esp + 0x38]
push eax
push 0x7fffffff
push 0x80000000
sub esp, 8
fstp qword [esp]
call fcn.00460570
add esp, 0x10
mov dword [esp + 0x18], eax
pop eax
fld dword [esp + 0x18]
fmul dword [esp + 0x20]
push eax
push 0x7fffffff
push 0x80000000
sub esp, 8
fstp qword [esp]
call fcn.00460570
add esp, 0x10
mov dword [esp + 0x14], eax
pop eax
add eax, 0xfffffffe
mov edx, dword [edi + 4]
dec edx
mov dword [esp + 0x1c], edx
cmp edx, eax
jl 0x45481f
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x4548f3
mov eax, dword [esp + 0x70]
add eax, 0xfffffffe
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 0x28], 6
nop
mov ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x4548e3
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [esp + 0x2c], ecx
add edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
imul ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, 1
mov ebx, dword [esp + 0x2c]
nop
mov ebp, dword [esp + 8]
add ebp, edx
cmp dword [esp + 0x10], eax
jge 0x45489c
mov esi, dword [esp + 0x4c]
add word [ebx + ebp], si
mov esi, dword [esp + 0x4e]
add word [ebx + ebp + 2], si
mov esi, dword [esp + 0x50]
add word [ebx + ebp + 4], si
jmp 0x4548d8
cmp dword [esp + 0x14], eax
jge 0x4548be
mov esi, dword [esp + 0x3c]
add word [ebx + ebp], si
mov esi, dword [esp + 0x3e]
add word [ebx + ebp + 2], si
mov esi, dword [esp + 0x40]
add word [ebx + ebp + 4], si
jmp 0x4548d8
mov esi, dword [esp + 0x44]
add word [ebx + ebp], si
mov esi, dword [esp + 0x46]
add word [ebx + ebp + 2], si
mov esi, dword [esp + 0x48]
add word [ebx + ebp + 4], si
inc ecx
add ebx, dword [esp + 0x2c]
cmp dword [esp + 0xc], ecx
jae 0x454874
inc eax
add dword [esp + 0x28], 6
cmp dword [esp + 0x1c], eax
jae 0x454844
sub esp, 0xffffffac
pop edi
pop esi
pop ebx
pop ebp
ret 0x18