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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + 0x30]
mov ebx, dword [eax + edx*4]
push edi
mov edi, dword [eax + ecx*4]
mov eax, dword [ebx + 4]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 4]
test al, 1
mov dword [ebp - 0xc], ebx
je 0x4900a5
test ah, 0x10
jne 0x4900a5
mov eax, dword [edi]
mov ecx, eax
and ecx, 0x1f
mov dword [ebp - 4], ecx
mov ecx, dword [ebx]
mov edx, ecx
and edx, 0x40
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
and edx, 0xfff00000
cmp edx, 0x10000000
mov dword [ebp - 8], edx
jne 0x48fa63
or ecx, dword [ebp - 4]
mov dword [ebx], ecx
mov eax, dword [ebp + 0x10]
jmp 0x4900a2
and eax, 0x60
or eax, ecx
mov ecx, 0xe000000
test ecx, eax
mov dword [ebx], eax
jne 0x48faa6
cmp edx, 0x10100000
je 0x48fa9b
cmp edx, 0x10300000
je 0x48fa9b
cmp edx, 0x10400000
je 0x48fa9b
cmp edx, 0x10d00000
je 0x48fa9b
cmp edx, 0x10e00000
jne 0x48faa6
mov edx, dword [edi]
and edx, ecx
or edx, eax
mov dword [ebx], edx
mov edx, dword [ebp - 8]
cmp edx, 0x10100000
push 4
pop eax
je 0x48fb0c
cmp edx, 0x10300000
je 0x48fad5
cmp edx, 0x10400000
je 0x48fad1
cmp edx, 0x10500000
je 0x48fad1
cmp edx, 0x10700000
jne 0x48fb27
or dword [ebx], eax
jmp 0x48fb27
test byte [ebp - 4], al
je 0x48fb04
test byte [ebp - 4], 8
je 0x48fb04
cmp dword [ebp + 0xc], 0
jne 0x48fad1
push 0x4ddfd8
push 0xfa1
mov eax, dword [ebp + 8]
push dword [eax + 0x3c]
push esi
call fcn.0048c825
add esp, 8
jmp 0x49008f
mov eax, dword [ebp - 4]
and eax, 0xc
jmp 0x48fad1
mov ecx, dword [ebp - 4]
shr ecx, 1
and ecx, eax
mov eax, dword [ebp - 4]
and eax, 4
shl eax, 1
or ecx, eax
mov eax, dword [ebp - 4]
and eax, 0xfffffff3
or ecx, eax
or dword [ebx], ecx
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 4]
test ch, 1
je 0x48fd71
cmp dword [edi + 8], 0xffffffff
jne 0x48fd71
mov eax, 0x10800000
cmp edx, eax
ja 0x48fc8a
je 0x48fc80
cmp edx, 0x10100000
je 0x48fc76
cmp edx, 0x10300000
je 0x48fc56
cmp edx, 0x10400000
je 0x48fc28
cmp edx, 0x10500000
je 0x48fc15
cmp edx, 0x10600000
je 0x48fbc8
cmp edx, 0x10700000
jne 0x4900a5
cmp dword [ebp + 0xc], 0
jne 0x48fbbe
fldz
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 0x41
jne 0x48fbbe
push 0x4ddfec
push 0xfa3
jmp 0x48fd46
fld qword [edi + 0x20]
fsqrt
jmp 0x48fe10
cmp dword [ebp + 0xc], 0
jne 0x48fbe2
fld qword [edi + 0x20]
fcomp qword [0x4ddfa8]
fnstsw ax
test ah, 0x44
jnp 0x4900a5
fldz
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 0x41
jne 0x48fbfd
push 0x4e8f38
push 0xfa2
jmp 0x48fd46
fldln2
fld qword [edi + 0x20]
fyl2x
fldln2
fld qword [0x4de050]
fyl2x
fdivp st(1)
jmp 0x48fe10
fld qword [0x4de050]
fld qword [edi + 0x20]
call sub.MSVCRT.DLL__CIpow
jmp 0x48fe10
fld qword [edi + 0x20]
push ecx
push ecx
fstp qword [esp]
call sub.MSVCRT.DLL__finite
test eax, eax
pop ecx
pop ecx
je 0x48fe0e
fld qword [edi + 0x20]
push ecx
push ecx
fstp qword [esp]
call sub.MSVCRT.DLL_floor
fsubr qword [edi + 0x20]
pop ecx
pop ecx
jmp 0x48fe10
cmp dword [ebp + 0xc], 0
jne 0x48fc6c
fldz
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 0x44
jnp 0x48fe0e
fld1
fdiv qword [edi + 0x20]
jmp 0x48fe10
fld qword [edi + 0x20]
fchs
jmp 0x48fe10
fld qword [edi + 0x20]
fsin
jmp 0x48fe10
cmp edx, 0x10900000
je 0x48fd67
cmp edx, 0x10a00000
je 0x48fd16
cmp edx, 0x10b00000
je 0x48fcd7
cmp edx, 0x10c00000
je 0x48fccb
cmp edx, 0x10d00000
je 0x48fe0e
cmp edx, 0x10e00000
jne 0x4900a5
jmp 0x48fe0e
fld qword [edi + 0x20]
fld1
fpatan
jmp 0x48fe10
cmp dword [ebp + 0xc], 0
jne 0x48fd09
fld qword [edi + 0x20]
fcomp qword [0x4de088]
fnstsw ax
test ah, 5
jnp 0x48fcfd
fld qword [edi + 0x20]
fcomp qword [0x4de080]
fnstsw ax
test ah, 0x41
jne 0x48fd09
push 0x4e8f20
push 0xfa6
jmp 0x48fd46
fld qword [edi + 0x20]
call sub.MSVCRT.DLL__CIacos
jmp 0x48fe10
cmp dword [ebp + 0xc], 0
jne 0x48fd5a
fld qword [edi + 0x20]
fcomp qword [0x4de088]
fnstsw ax
test ah, 5
jnp 0x48fd3c
fld qword [edi + 0x20]
fcomp qword [0x4de080]
fnstsw ax
test ah, 0x41
jne 0x48fd5a
push 0x4e8f0c
push 0xfa5
mov eax, dword [ebp + 8]
push dword [eax + 0x3c]
push esi
call fcn.0048c825
add esp, 0x10
jmp 0x48fe0e
fld qword [edi + 0x20]
call sub.MSVCRT.DLL__CIasin
jmp 0x48fe10
fld qword [edi + 0x20]
fcos
jmp 0x48fe10
mov al, byte [ebp - 4]
test al, 1
je 0x48fd90
cmp edx, 0x10400000
je 0x48fe0e
cmp edx, 0x10700000
je 0x48fa5b
test al, 2
je 0x48fd9c
cmp edx, 0x10400000
je 0x48fe0e
test al, 8
je 0x48fdf9
cmp edx, 0x10600000
je 0x48fdc9
cmp edx, 0x10700000
jne 0x48fdf9
cmp dword [ebp + 0xc], 0
jne 0x4900a5
push 0x4ddfec
push 0xfa3
jmp 0x48faf0
cmp dword [ebp + 0xc], 0
jne 0x4900a5
test al, 4
jne 0x4900a5
mov eax, dword [ebp + 8]
push 0x4e8f38
push 0xfa2
push dword [eax + 0x3c]
push esi
call fcn.0048c825
add esp, 0x10
jmp 0x4900a5
test ch, 2
je 0x48fe17
cmp edx, 0x10d00000
je 0x48fe0e
cmp edx, 0x10e00000
jne 0x48fe17
fldz
push ecx
push ecx
jmp 0x490091
cmp dword [ebp + 0xc], 0
jne 0x4900a5
test cl, 2
je 0x4900a5
cmp edx, 0x10100000
jne 0x48febf
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x44]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov ecx, 0xfff00000
and edx, ecx
cmp edx, 0x10100000
je 0x48feb0
mov edx, dword [ebp - 8]
cmp edx, 0x10300000
jne 0x48fe73
mov edx, dword [esi + 0x18]
mov eax, dword [edi + 0x44]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
and edx, ecx
cmp edx, 0x10300000
je 0x48feb0
mov edx, dword [ebp - 8]
cmp edx, 0x10500000
jne 0x48fe93
mov edx, dword [esi + 0x18]
mov eax, dword [edi + 0x44]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
and edx, ecx
cmp edx, 0x10600000
je 0x48feb0
mov edx, dword [ebp - 8]
cmp edx, 0x10600000
jne 0x48ff05
mov edx, dword [esi + 0x18]
mov eax, dword [edi + 0x44]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
and edx, ecx
cmp edx, 0x10500000
jne 0x48ff02
and dword [ebp + 8], 0
cmp dword [eax + 0xc], 0
jbe 0x48fee1
mov ecx, dword [eax + 0x10]
jmp 0x48fec9
mov ecx, 0xfff00000
jmp 0x48fe53
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp dword [ecx], edx
je 0x48fee1
inc dword [ebp + 8]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x48fec6
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jae 0x48fefd
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x30]
jmp 0x4900a2
mov ecx, 0xfff00000
mov edx, dword [ebp - 8]
cmp edx, 0x10700000
jne 0x48ff79
mov edx, dword [esi + 0x18]
mov eax, dword [edi + 0x44]
mov eax, dword [edx + eax*4]
mov edx, dword [eax]
and edx, ecx
cmp edx, 0x20500000
jne 0x48ff76
mov edx, dword [eax + 0xc]
and dword [ebp + 8], 0
test edx, edx
jbe 0x48ff76
mov ecx, edx
shl ecx, 2
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov ebx, dword [ebp + 0x10]
shl edx, 2
cmp dword [ecx + edx], ebx
jne 0x48ff5f
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx]
mov ebx, dword [ebp + 0xc]
cmp edx, dword [ecx + ebx]
jne 0x48ff5f
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edx*4]
test byte [ecx], 4
jne 0x48ffad
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
add dword [ebp + 0xc], 4
cmp ecx, dword [eax + 0xc]
jb 0x48ff35
mov ebx, dword [ebp - 0xc]
mov ecx, 0xfff00000
mov edx, dword [ebp - 8]
cmp edx, 0x10500000
jne 0x4900a5
mov edx, dword [edi + 0x44]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edx*4]
mov edx, dword [eax]
and edx, ecx
cmp edx, 0x20500000
jne 0x4900a5
and dword [ebp + 8], 0
cmp dword [eax + 0xc], 0
jbe 0x48ffe5
mov edx, dword [eax + 0x10]
jmp 0x48ffcd
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], eax
jmp 0x4900a5
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp dword [edx], edi
je 0x48ffe5
inc dword [ebp + 8]
add edx, 4
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 8]
cmp edx, dword [eax + 0xc]
jb 0x48ffca
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
and dword [ebp + 0xc], 0
shl edx, 2
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
shl edx, 2
mov dword [ebp - 0xc], edx
add eax, edx
mov edi, dword [esi + 0x14]
mov edx, dword [eax]
mov edx, dword [edi + edx*4]
mov edi, dword [edx + 4]
mov dword [ebp + 8], edx
mov edx, dword [esi + 0x10]
mov edx, dword [edx + edi*4]
test byte [edx + 4], 2
je 0x49007b
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x44]
mov edx, dword [esi + 0x18]
mov edx, dword [edx + edi*4]
mov edi, dword [edx]
and edi, ecx
cmp edi, 0x10600000
mov dword [ebp + 0x10], edx
jne 0x49007b
and dword [ebp + 8], 0
cmp dword [edx + 0xc], 0
jbe 0x490060
mov edx, dword [edx + 0x10]
mov edi, dword [ebp - 0xc]
mov edx, dword [edi + edx]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
cmp edx, dword [eax]
mov edx, dword [ebp + 0x10]
je 0x490060
inc dword [ebp + 8]
mov edi, dword [ebp + 8]
cmp edi, dword [edx + 0xc]
jb 0x49004b
mov edx, dword [edx + 8]
mov edi, dword [ebp + 8]
mov edi, dword [edx + edi*4]
mov edx, dword [esi + 0x14]
mov edx, dword [edx + edi*4]
mov edx, dword [edx]
test dl, 4
je 0x49007b
test dl, 8
jne 0x49008d
inc dword [ebp + 0xc]
add eax, dword [ebp - 4]
cmp dword [ebp + 0xc], 2
jb 0x490000
jmp 0x4900a5
push ecx
push ecx
fldz
fstp qword [esp]
push 0
push 0
push dword [esi + 0x78]
mov ecx, esi
call fcn.00479f2b
mov dword [ebx + 0x30], eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc