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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov dword [esp + 0x5c], 0
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x60], 0x3f800000
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x64], 0
mov esi, dword [esp + 0x64]
push edi
xor eax, eax
mov edi, dword [0x11cfa34]
add edi, eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [edi + 8], esi
mov edi, dword [0x11cfa34]
lea edi, [eax + edi + 0xc]
add eax, 0x18
cmp eax, 0x180000
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [edi + 8], esi
jl 0x4a4fbd
xor esi, esi
xor ecx, ecx
mov ebx, 0x106bca0
mov eax, 0x106bcb4
mov ebp, 0x106d0b4
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], ecx
mov edx, 0xff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], 0x106d0a0
mov edi, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ebp
xor eax, eax
test edx, edx
mov dword [esp + 0x30], eax
jle 0x4a518e
inc ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, 0xff
fild dword [esp + 0x34]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
lea esi, [esi + esi*2]
mov dword [esp + 0x1c], ecx
fmul qword [0x51d868]
shl esi, 0xb
mov dword [esp + 0x18], edx
fstp dword [esp + 0x10]
fild dword [esp + 0x20]
fmul qword [0x51d868]
fstp dword [esp + 0x14]
fild dword [esp + 0x30]
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x30], eax
fmul qword [0x51d868]
fst dword [esp + 0x60]
fst dword [esp + 0x44]
mov ecx, dword [ebx]
mov dword [esp + 0x68], edx
fstp dword [esp + 0x54]
fild dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x18]
fmul qword [0x51d868]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov eax, ecx
lea ecx, [esp + 0x48]
fst dword [esp + 0x2c]
fstp dword [esp + 0x48]
mov edx, dword [ebp]
push ecx
mov ecx, dword [0x11cfa34]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x54], eax
push edx
lea eax, [esp + 0x68]
lea edx, [esi + ecx]
push eax
push edx
call fcn.004cb390
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov ecx, dword [ebx]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov ecx, dword [ebp]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x58], eax
mov edx, dword [ecx]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], edx
push ecx
mov ecx, dword [0x11cfa34]
lea edx, [esp + 0x68]
mov dword [esp + 0x64], eax
push edx
lea eax, [esp + 0x78]
lea edx, [esi + ecx + 0xc]
push eax
fstp st(0)
push edx
call fcn.004cb390
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
add ecx, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x54]
add esp, 0x20
add ebx, edi
add ebp, edi
add edx, edi
add esi, 0x18
cmp eax, ecx
fstp st(0)
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
jl 0x4a5074
mov esi, dword [esp + 0x40]
mov edx, ecx
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov eax, 0x1400
inc ecx
add ebp, eax
add ebx, eax
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x3c]
add ebp, eax
add ebx, eax
inc esi
cmp ecx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
jl 0x4a5026
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret