Function at 0x48c970
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4acdfb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c4b80]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0xac]
fld dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa8]
mov dword [eax], 0
fst dword [ecx]
mov eax, dword [edi]
mov esi, dword [eax + edx*4 + 4]
mov ecx, dword [esi + 8]
mov ecx, dword [eax + ecx*4 + 4]
mov edx, dword [esi + 0xc]
fld dword [ecx + 0x20]
mov ebx, dword [eax + edx*4 + 4]
fstp dword [esp + 0x3c]
fld dword [ebx + 0x24]
mov eax, dword [esi + 0x14]
fstp dword [esp + 0x2c]
mov ebp, dword [ebx + 0x14]
fld dword [ebx + 0x20]
mov dword [esp + 0x28], eax
fstp dword [esp + 0x34]
mov dword [esp + 0x44], ecx
fld dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
fstp dword [esp + 0x40]
mov dword [esp + 0x30], ecx
fld dword [esi + 0x28]
fstp dword [esp + 0x38]
fld dword [esi + 0x20]
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
fld st(0)
fsubp st(2)
fld dword [esp + 0x24]
fld st(0)
fdivp st(3)
fxch st(2)
fstp dword [esp + 0x2c]
fldz
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x48ca42
fadd qword [0x4b05c8]
jmp 0x48ca48
fsub qword [0x4b05c8]
call fcn.0048cf30
mov dword [esp + 0x18], eax
test eax, eax
jns 0x48ca71
cmp eax, 0xffffffff
jge 0x48ca65
fstp st(0)
xor eax, eax
fstp st(0)
jmp 0x48cdc4
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, ebp
jl 0x48ca7c
jg 0x48ca5a
dec ebp
mov dword [esp + 0x18], ebp
fild dword [esp + 0x18]
mov eax, dword [esp + 0xa0]
mov ebp, dword [edi + eax*4 + 4]
mov edx, dword [esp + 0xa8]
fmulp st(2)
mov dword [esp + 0x20], ebp
faddp st(1)
fstp dword [edx]
test ebp, ebp
je 0x48caac
mov ecx, ebp
call fcn.004742d0
jmp 0x48cbae
push 0x7c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov dword [esp + 0x98], ebp
cmp eax, ebp
je 0x48cad0
mov ecx, eax
call fcn.004776d0
mov ebp, eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x98], 0xffffffff
mov dword [edi + ecx*4 + 4], ebp
mov dword [esp + 0x20], ebp
test ebp, ebp
jne 0x48cb02
mov edx, dword [esp + 0xac]
mov dword [edx], 4
xor eax, eax
jmp 0x48cdc4
fld dword [esi + 0x30]
mov eax, dword [esp + 0x30]
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
fld dword [esi + 0x38]
push eax
fstp dword [esp + 0x18]
sub esp, 0x10
fld dword [esi + 0x34]
fstp dword [esp + 0x40]
fld dword [esi + 0x3c]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0x28]
fstp dword [esp + 8]
fld dword [esp + 0x48]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
fstp dword [esp]
push ecx
fld dword [esp + 0x44]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, ebp
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x64]
fstp dword [esp + 4]
fld dword [esp + 0x68]
fstp dword [esp]
call fcn.00477cf0
test eax, eax
je 0x48cbaa
mov ecx, ebp
call fcn.00477e50
push ebp
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xb0]
mov dword [edi + edx*4 + 4], 0
add esp, 4
mov dword [eax], 4
xor eax, eax
jmp 0x48cdc4
mov ebp, dword [esp + 0x20]
push 0
mov ecx, ebp
call fcn.00471df0
mov ecx, dword [eax + 0x14]
xor ebp, ebp
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x28], ebp
jle 0x48ccb4
mov edx, dword [ebx + 0x14]
fld dword [0x4b18c8]
mov eax, dword [ebx + 0x4c]
imul edx, ebp
fstp dword [esp + 0x14]
add edx, dword [esp + 0x18]
mov edi, 5
add edx, edx
mov esi, dword [eax + edx*8]
test esi, esi
je 0x48cc6e
nop
fld dword [esi]
fstp dword [esp + 0x40]
fld dword [esi + 8]
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
fld dword [esp + 0x40]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fabs
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fcomp dword [0x4b7f40]
fnstsw ax
test ah, 1
jne 0x48cc65
push 4
push ecx
lea ecx, [esp + 0x50]
fstp dword [esp]
call fcn.00471650
fld dword [esp + 0x14]
push eax
push edi
push ecx
lea ecx, [esp + 0x60]
fstp dword [esp]
call fcn.00471650
mov ecx, dword [esp + 0x20]
push eax
call fcn.00476fb0
fld dword [esp + 0x24]
fstp dword [esp + 0x14]
mov edi, 4
jmp 0x48cc67
fstp st(0)
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x48cbf0
fld dword [0x4b04c8]
push 5
push ecx
lea ecx, [esp + 0x68]
fstp dword [esp]
call fcn.00471650
fld dword [esp + 0x14]
push eax
push edi
push ecx
lea ecx, [esp + 0x78]
fstp dword [esp]
call fcn.00471650
mov esi, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.00476fb0
inc ebp
add esi, 0xc
mov dword [esp + 0x1c], esi
cmp ebp, dword [esp + 0x28]
jl 0x48cbca
mov ecx, dword [esp + 0x20]
push 1
call fcn.00471df0
mov ebp, dword [eax + 0x14]
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x48cdc0
mov edi, edi
mov eax, dword [esp + 0x44]
fld dword [0x4b18c8]
mov ecx, dword [eax + 0x14]
fstp dword [esp + 0x1c]
imul ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x4c]
add ecx, ebx
shl ecx, 4
mov esi, dword [ecx + edx]
mov edi, 5
test esi, esi
je 0x48cd7c
mov edi, edi
fld dword [esi]
fstp dword [esp + 0x40]
fld dword [esi + 8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fld dword [esp + 0x40]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fabs
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fcomp dword [0x4b7f40]
fnstsw ax
test ah, 1
jne 0x48cd73
push 4
push ecx
lea ecx, [esp + 0x74]
fstp dword [esp]
call fcn.00471650
fld dword [esp + 0x1c]
push eax
push edi
push ecx
lea ecx, [esp + 0x6c]
fstp dword [esp]
call fcn.00471650
push eax
mov ecx, ebp
call fcn.00476fb0
fld dword [esp + 0x2c]
fstp dword [esp + 0x1c]
mov edi, 4
jmp 0x48cd75
fstp st(0)
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x48cd00
fld dword [0x4b04c8]
push 5
push ecx
lea ecx, [esp + 0x80]
fstp dword [esp]
call fcn.00471650
fld dword [esp + 0x1c]
push eax
push edi
push ecx
lea ecx, [esp + 0x90]
fstp dword [esp]
call fcn.00471650
push eax
mov ecx, ebp
call fcn.00476fb0
inc ebx
add ebp, 0xc
cmp ebx, dword [esp + 0x30]
jl 0x48ccd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x10