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

Disassembly:
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x19d8], 0
push edi
je 0x4cb08ee
mov ecx, dword [0x4e7ffd8]
lea edx, [esp + 0x10]
push edx
movzx edx, byte [esi + 0x1fd]
push edx
mov edx, dword [esi + 0x70]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
push edx
call eax
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.04cade00
test eax, eax
je 0x4cb0792
cmp eax, 2
je 0x4cb0792
cmp eax, 1
jne 0x4cb0775
mov edx, dword [esi + 0x78]
push edx
call fcn.04c89550
mov eax, dword [eax + 0x958]
push eax
call fcn.04c87710
fld dword [eax + 0x8c]
jmp 0x4cb07ad
mov ecx, dword [esi + 0x78]
push ecx
call fcn.04c89550
mov edx, dword [eax + 0x958]
push edx
call fcn.04c87710
fld dword [eax + 0x88]
jmp 0x4cb07ad
mov eax, dword [esi + 0x78]
push eax
call fcn.04c89550
mov ecx, dword [eax + 0x958]
push ecx
call fcn.04c87710
fld dword [eax + 0x90]
fadd qword [0x4e55f88]
add esp, 8
fstp dword [esp + 0xc]
fld dword [esi + 0x19dc]
fld dword [esp + 0xc]
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
fld1
jnp 0x4cb0846
mov edx, dword [esi + 0x70]
fxch st(1)
sub esp, 0x10
fst dword [esi + 0x19dc]
mov eax, dword [0x4e83f60]
fstp dword [esp + 0xc]
mov ecx, dword [eax + 0x224]
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push edx
call ecx
add esp, 0x14
xor edi, edi
lea ebx, [esi + 0x163c]
lea esp, [esp]
cmp edi, dword [esi + 0x1638]
jge 0x4cb084a
fld dword [esi + 0x19dc]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, ebx
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.04cbb0b0
add edi, 1
add ebx, 0x3c
cmp edi, 6
jl 0x4cb0810
jmp 0x4cb084a
fstp st(1)
fstp st(0)
mov ecx, dword [0x4e7ffd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0xa
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi + 0x70]
push eax
call edx
cmp dword [esp + 0x14], 0
jbe 0x4cb08a3
fld dword [esi + 0x19dc]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx + 0x224]
sub esp, 0x10
fstp dword [esp + 0xc]
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push eax
call edx
add esp, 0x14
cmp dword [esi + 0x17ec], 0
je 0x4cb08d1
fld dword [esi + 0x19dc]
sub esp, 0x10
fstp dword [esp + 0xc]
lea ecx, [esi + 0x17a4]
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.04cbb0b0
cmp byte [esi + 0x19e8], 0
je 0x4cb08e7
push 0
lea ecx, [esi + 0x1f68]
call fcn.04cbb010
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
cmp byte [esi + 0x19cd], 0
je 0x4cb08e7
nop
call 0x74e847a0
sub eax, dword [esi + 0x19d4]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
jge 0x4cb0917
fadd dword [0x4e0d1b8]
cmp eax, 0xfa0
fdiv qword [0x4e36828]
fld1
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esi + 0x19d0]
ja 0x4cb0a96
mov edx, dword [esi + 0x78]
fstp qword [esp + 0x18]
push edx
call fcn.04c89550
mov eax, dword [eax + 0x958]
push eax
call fcn.04c87710
fld dword [eax + 0x88]
fcomp qword [esp + 0x20]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x4cb0a98
fld dword [esi + 0x19d0]
mov ecx, dword [esi + 0x70]
mov edx, dword [0x4e83f60]
mov eax, dword [edx + 0x224]
sub esp, 0x10
fstp dword [esp + 0xc]
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push ecx
call eax
add esp, 0x14
xor edi, edi
lea ebx, [esi + 0x163c]
cmp edi, dword [esi + 0x1638]
jge 0x4cb09d6
fld dword [esi + 0x19d0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, ebx
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.04cbb0b0
add edi, 1
add ebx, 0x3c
cmp edi, 6
jl 0x4cb09a2
cmp byte [esi + 0x19e8], 0
je 0x4cb0a04
fld dword [esi + 0x19d0]
sub esp, 0x10
fstp dword [esp + 0xc]
lea ecx, [esi + 0x1f68]
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.04cbb0b0
mov ecx, dword [0x4e7ffd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0xa
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi + 0x70]
push eax
call edx
cmp dword [esp + 0x14], 0
jbe 0x4cb0a5d
fld dword [esi + 0x19d0]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx + 0x224]
sub esp, 0x10
fstp dword [esp + 0xc]
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push eax
call edx
add esp, 0x14
cmp dword [esi + 0x17ec], 0
je 0x4cb08e7
fld dword [esi + 0x19d0]
sub esp, 0x10
fstp dword [esp + 0xc]
lea ecx, [esi + 0x17a4]
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.04cbb0b0
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
fstp st(0)
mov eax, dword [esi + 0x78]
push eax
call fcn.04c89550
mov ecx, dword [eax + 0x958]
push ecx
call fcn.04c87710
fld dword [eax + 0x88]
add esp, 8
fstp dword [esi + 0x19d0]
pop edi
mov byte [esi + 0x19cd], 0
mov ecx, esi
pop esi
pop ebx
add esp, 0x3c
jmp fcn.04cad870