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

Disassembly:
push 0xffffffffffffffff
push 0x651620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
push esi
mov eax, dword [ebx + 0x18]
push edi
cmp eax, 1
mov dword [esp + 0x30], ecx
jne 0x4b20e0
mov edi, dword [ebx + 0x38]
mov eax, dword [ebx + 0x10]
lea ebp, [ebx + 0x10]
mov esi, dword [eax]
lea ecx, [edi*8]
push ecx
call fcn.0048b3b0
add esp, 4
mov ecx, ebx
mov dword [esp + 0x20], eax
push eax
call fcn.004a5430
mov ecx, ebp
call fcn.004b41e0
fstp dword [esp + 0x24]
mov ecx, ebp
call fcn.004b41c0
fstp dword [esp + 0x18]
push 0x20
mov ecx, esi
call fcn.004aad20
cmp eax, 0xffffffff
je 0x4b1c96
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
fmul dword [esp + 0x24]
fmul dword [0x662c1c]
fst dword [esp + 0x14]
fcomp dword [0x66419c]
fnstsw ax
test ah, 0x40
je 0x4b1ca4
fld dword [esp + 0x24]
fmul dword [0x675070]
fstp dword [esp + 0x14]
mov ecx, ebp
call fcn.004b4200
fcomp dword [0x66419c]
fnstsw ax
test ah, 0x40
jne 0x4b1e43
mov eax, dword [0x67506c]
lea edx, [esp + 0x60]
mov ecx, eax
push edx
mov dword [esp + 0x64], ecx
mov ecx, ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
call fcn.004a4d90
mov eax, dword [ebx + 0x38]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x24], ecx
jle 0x4b1e31
mov ebx, dword [esp + 0x20]
cmp eax, 1
jne 0x4b1d1d
mov eax, dword [esp + 0x88]
mov edi, dword [eax + 0x3c]
jmp 0x4b1d2a
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0x3c]
mov edi, dword [eax + ecx*4]
cmp edi, 0xffffffff
je 0x4b1e1a
mov edx, dword [esi]
lea eax, [esp + 0x50]
push eax
push edi
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ebp]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x2c]
fld dword [eax + 4]
fild dword [esp + 0x54]
lea ecx, [esp + 0x48]
add ebx, 8
fmul st(1)
fmul dword [0x662c1c]
fstp dword [esp + 0x38]
fstp st(0)
fld dword [eax + 4]
fild dword [esp + 0x5c]
lea eax, [esp + 0x4c]
push eax
push ecx
fmul st(1)
push 0
push edx
lea ecx, [esp + 0x70]
fmul dword [0x662c1c]
fstp dword [esp + 0x4c]
fstp st(0)
call fcn.004a2750
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.004a27c0
xor eax, eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.004aab60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push esi
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push 0
call fcn.004b2100
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
call fcn.00490f90
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x88]
inc ecx
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 0x38]
cmp ecx, eax
jl 0x4b1d0c
mov eax, dword [esp + 0x20]
push eax
call fcn.0048b400
add esp, 4
jmp 0x4b20e0
mov ecx, dword [ebp]
xor edx, edx
fld dword [ecx + 4]
fld dword [esp + 0x24]
fdiv st(1)
lea ecx, [edi + edi]
cmp ecx, edx
fstp dword [esp + 0x88]
fstp st(0)
jle 0x4b1e77
mov eax, dword [esp + 0x20]
fld dword [esp + 0x88]
fmul dword [eax]
add eax, 4
dec ecx
fstp dword [eax - 4]
jne 0x4b1e65
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x1c]
xor edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x80], 1
fld dword [0x66419c]
cmp eax, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x4c], edx
jle 0x4b20bd
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
cmp eax, 1
mov eax, dword [ebx + 0x3c]
je 0x4b1edf
mov eax, dword [eax + edx*4]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4b2057
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], eax
fld dword [esp + 0x18]
fcomp st(1)
add ecx, 8
mov dword [esp + 0x40], ecx
fnstsw ax
test ah, 1
fstp st(0)
jne 0x4b1f2a
fld dword [esp + 0x18]
fsub dword [esp + 0x48]
fld dword [esp + 0x14]
fmul dword [0x6641a8]
fcompp
fnstsw ax
test ah, 1
je 0x4b1f89
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x2c]
fadd dword [esp + 0x88]
lea ecx, [esp + 0x10]
push esi
push ecx
mov ecx, dword [esp + 0x40]
push ebp
push edx
push eax
push ecx
push ecx
mov edx, dword [esp + 0x58]
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x50]
fstp dword [esp]
push edx
push edi
call fcn.004b2100
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x730500
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.00491140
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
cmp eax, 0x20
mov eax, dword [esp + 0x28]
je 0x4b2042
cmp eax, 1
jle 0x4b1ff4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x2c]
fadd dword [esp + 0x88]
lea ecx, [esp + 0x10]
push esi
push ecx
mov ecx, dword [esp + 0x40]
push ebp
push edx
push eax
push ecx
push ecx
mov edx, dword [esp + 0x58]
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x50]
fstp dword [esp]
push edx
push edi
call fcn.004b2100
push 0x730500
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00491140
jmp 0x4b2004
jne 0x4b2004
lea eax, [esp + 0x10]
push 0x20
push eax
mov ecx, esi
call fcn.004aab60
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b2013
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4b201b
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.004aab60
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], 0
jmp 0x4b2047
inc eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x44]
fld dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x38]
inc edx
cmp edx, eax
mov dword [esp + 0x4c], edx
jl 0x4b1ed4
mov eax, dword [esp + 0x10]
test eax, eax
fstp st(0)
je 0x4b20bf
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4b20bf
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x2c]
fadd dword [esp + 0x88]
lea eax, [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x40]
push ebp
push ecx
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x5c]
fstp dword [esp]
push ecx
mov ecx, dword [esp + 0x54]
push edi
call fcn.004b2100
jmp 0x4b20bf
fstp st(0)
mov edx, dword [esp + 0x20]
push edx
call fcn.0048b400
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.00490f90
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4