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

Disassembly:
push 0xffffffffffffffff
push 0x4a6d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [esp + 0xa4]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f9a0
mov ecx, dword [esp + 0xb4]
push ecx
lea ecx, [esp + 0x70]
call fcn.0040f9a0
mov edx, dword [esp + 0xb8]
lea ecx, [esp + 0x34]
push edx
call fcn.0040f9a0
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x50]
push eax
call fcn.0040f9a0
push 0x258
push 0
lea ecx, [esp + 0x98]
call fcn.00439d40
mov eax, dword [esp + 0x20]
mov dword [esp + 0xa8], 0
test eax, eax
mov ebx, 1
je 0x48c3f3
mov dword [esp + 0x2c], eax
jmp 0x48c3f7
mov byte [esp + 0x29], bl
push ebp
mov byte [esp + 0x34], 0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], 0
je 0x48c5ab
cmp eax, dword [esp + 0x30]
jne 0x48c41c
mov cl, byte [esp + 0x34]
test cl, cl
jne 0x48c5ab
mov ebp, eax
lea esi, [ebp + 8]
mov ecx, esi
call fcn.00402110
test al, al
jne 0x48c436
mov ax, word [esi + 6]
sub ax, word [esi + 2]
jmp 0x48c438
xor eax, eax
movsx edx, ax
cmp edx, dword [0x4dcd38]
jge 0x48c4cf
lea ecx, [esp + 0x1c]
call fcn.00402070
mov ecx, dword [esp + 0x70]
cmp dword [ecx], 0
jne 0x48c472
mov dword [eax], eax
mov edx, dword [esp + 0x70]
mov dword [edx], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
jmp 0x48c599
mov ecx, dword [esp + 0x7c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x48c49d
mov dword [ecx], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x74], ecx
cmp ecx, dword [edx]
jne 0x48c4c6
mov dword [edx], eax
mov dword [esp + 0x78], eax
jmp 0x48c599
mov edx, dword [esp + 0x74]
mov dword [edx], eax
mov cl, byte [esp + 0x80]
test cl, cl
je 0x48c4b4
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
mov cl, byte [esp + 0x81]
test cl, cl
je 0x48c4c6
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], eax
jmp 0x48c599
mov ecx, esi
call fcn.00402110
test al, al
jne 0x48c4e4
mov di, word [esi + 6]
sub di, word [esi + 2]
jmp 0x48c4e6
xor edi, edi
mov ecx, esi
call fcn.00402110
test al, al
jne 0x48c4fa
mov ax, word [esi + 4]
sub ax, word [esi]
jmp 0x48c4fc
xor eax, eax
mov edx, dword [ebp + 4]
movsx eax, ax
movsx ecx, di
imul eax, ecx
shl edx, 2
sar edx, 2
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x4dcd18]
fcompp
fnstsw ax
test ah, 0x41
je 0x48c599
lea ecx, [esp + 0x1c]
call fcn.00402070
mov edx, dword [esp + 0x38]
cmp dword [edx], 0
jne 0x48c551
mov dword [eax], eax
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
jmp 0x48c595
mov edx, dword [esp + 0x44]
mov dword [eax], edx
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x48c575
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
cmp ecx, dword [edx]
jne 0x48c595
mov dword [edx], eax
jmp 0x48c595
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov cl, byte [esp + 0x48]
test cl, cl
je 0x48c589
mov edx, dword [esp + 0x38]
mov dword [edx], eax
mov cl, byte [esp + 0x49]
test cl, cl
je 0x48c595
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x1c]
call fcn.004403e0
mov eax, dword [esp + 0x24]
jmp 0x48c3fd
test eax, eax
pop ebp
je 0x48c5b6
mov dword [esp + 0x2c], eax
jmp 0x48c5ba
mov byte [esp + 0x29], bl
mov byte [esp + 0x30], 0
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
je 0x48c610
cmp eax, dword [esp + 0x2c]
jne 0x48c5d6
mov cl, byte [esp + 0x30]
test cl, cl
jne 0x48c610
lea esi, [eax + 8]
mov ecx, esi
call fcn.00402110
test al, al
jne 0x48c5ee
mov ax, word [esi + 6]
sub ax, word [esi + 2]
jmp 0x48c5f0
xor eax, eax
movsx edx, ax
push ebx
push edx
lea ecx, [esp + 0x98]
call fcn.00439e30
lea ecx, [esp + 0x18]
call fcn.004403e0
mov eax, dword [esp + 0x20]
jmp 0x48c5bf
fld qword [0x4dccf8]
push ecx
lea ecx, [esp + 0x94]
fstp dword [esp]
call fcn.00439fc0
fstp dword [esp + 0xc]
fld qword [0x4dc628]
fadd st(0), st(0)
sub esp, 8
fadd qword [0x4dc638]
fadd qword [0x4dc648]
fmul dword [esp + 0x14]
fdiv qword [0x4dc638]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fstp dword [esp + 0x94]
fld dword [esp + 0x14]
fmul dword [0x4a8208]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fmul qword [0x4dc668]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fstp dword [esp + 0x90]
add esp, 8
lea ecx, [esp + 0x34]
call fcn.004020e0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x48c6a6
mov dword [esp + 0x48], eax
jmp 0x48c6aa
mov byte [esp + 0x45], bl
mov byte [esp + 0x4c], 0
mov ecx, dword [esp + 0x34]
cmp dword [ecx], 0
je 0x48c77c
cmp eax, dword [esp + 0x48]
jne 0x48c6ce
mov cl, byte [esp + 0x4c]
test cl, cl
jne 0x48c77c
lea esi, [eax + 8]
mov ecx, esi
call fcn.00402110
test al, al
jne 0x48c6e6
mov ax, word [esi + 6]
sub ax, word [esi + 2]
jmp 0x48c6e8
xor eax, eax
movsx edx, ax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x48c76a
lea ecx, [esp + 0x34]
call fcn.00402070
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 0
jne 0x48c722
mov dword [eax], eax
mov edx, dword [esp + 0x50]
mov dword [edx], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
jmp 0x48c766
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x48c746
mov dword [ecx], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
cmp ecx, dword [edx]
jne 0x48c766
mov dword [edx], eax
jmp 0x48c766
mov edx, dword [esp + 0x54]
mov dword [edx], eax
mov cl, byte [esp + 0x60]
test cl, cl
je 0x48c75a
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
mov cl, byte [esp + 0x61]
test cl, cl
je 0x48c766
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x34]
call fcn.004403e0
mov eax, dword [esp + 0x3c]
jmp 0x48c6af
lea ecx, [esp + 0x90]
call fcn.00439de0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x48c796
mov dword [esp + 0x2c], eax
jmp 0x48c79a
mov byte [esp + 0x29], bl
mov byte [esp + 0x30], 0
mov edx, dword [esp + 0x18]
cmp dword [edx], 0
je 0x48c879
cmp eax, dword [esp + 0x2c]
jne 0x48c7be
mov cl, byte [esp + 0x30]
test cl, cl
jne 0x48c879
lea esi, [eax + 8]
mov ecx, esi
call fcn.00402110
test al, al
jne 0x48c7d6
mov di, word [esi + 6]
sub di, word [esi + 2]
jmp 0x48c7d8
xor edi, edi
mov eax, dword [esp + 0x20]
lea esi, [eax + 8]
mov ecx, esi
call fcn.00402110
test al, al
jne 0x48c7f3
mov cx, word [esi + 4]
sub cx, word [esi]
jmp 0x48c7f5
xor ecx, ecx
movsx edx, di
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x48c81d
lea ecx, [esp + 0x18]
fstp st(0)
call fcn.00402070
push eax
lea ecx, [esp + 0x38]
jmp 0x48c862
fcomp dword [esp + 0x8c]
fnstsw ax
test ah, 0x41
je 0x48c854
movsx ecx, cx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 0x41
je 0x48c854
push ebx
push edx
lea ecx, [esp + 0x98]
call fcn.00439e30
jmp 0x48c867
lea ecx, [esp + 0x18]
call fcn.00402070
push eax
lea ecx, [esp + 0x54]
call fcn.00426fb0
lea ecx, [esp + 0x18]
call fcn.004403e0
mov eax, dword [esp + 0x20]
jmp 0x48c79f
fld qword [0x4dcce8]
push ecx
lea ecx, [esp + 0x94]
fstp dword [esp]
call fcn.00439fc0
fld qword [0x4dc628]
fadd qword [0x4dc638]
pop edi
pop esi
pop ebx
fdivr qword [0x4dc638]
fxch st(1)
fmulp st(1)
fcom dword [esp]
fnstsw ax
test ah, 0x41
jne 0x48c8b9
fstp dword [esp]
jmp 0x48c8bb
fstp st(0)
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], 0xffffffff
call fcn.00439e10
mov ecx, dword [esp + 0x94]
fld dword [esp]
mov dword fs:[0], ecx
add esp, 0xa0
ret