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

Disassembly:
sub esp, 0xa4
push esi
mov esi, ecx
mov al, byte [esi + 0x48]
test al, al
je 0x4cd6da
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x4cd6da
call fcn.004dec60
test eax, eax
mov dword [esp + 0x20], eax
je 0x4cd6da
mov eax, dword [esi + 0x3c]
fld dword [esi + 0x40]
fadd dword [0x5997ac]
mov dword [esp + 0x30], eax
movzx eax, byte [esi + 0x10]
sub eax, 2
fstp dword [esp + 0x38]
je 0x4ccd2e
dec eax
jne 0x4ccd48
movzx ecx, word [esi + 0xc]
mov dword [esp + 8], ecx
fild dword [esp + 8]
jmp 0x4ccd40
mov dx, word [esi + 0xc]
shr dx, 1
movzx eax, dx
mov dword [esp + 8], eax
fild dword [esp + 8]
fsubr dword [esp + 0x30]
fstp dword [esp + 0x30]
mov al, byte [esi + 0x11]
cmp al, 0x20
je 0x4ccd61
cmp al, 0x30
jne 0x4ccd7b
movzx ecx, word [esi + 0xe]
mov dword [esp + 8], ecx
fild dword [esp + 8]
jmp 0x4ccd73
movzx edx, word [esi + 0xe]
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul dword [0x5abeb4]
fsubr dword [esp + 0x38]
fstp dword [esp + 0x38]
mov ecx, dword [0x5ef6e8]
push ebx
push ebp
push edi
push 5
push 0x13
call fcn.004c0600
mov ecx, dword [0x5ef6e8]
push 6
push 0x14
call fcn.004c0600
mov ecx, dword [0x5ef6e8]
push 0x1c
call fcn.004bff40
mov ecx, dword [0x5ef6e8]
push 0x89
mov dword [esp + 0xb4], eax
call fcn.004bff40
mov ecx, dword [0x5ef6e8]
push 0
push 0x1c
mov dword [esp + 0xb4], eax
call fcn.004bff50
mov ecx, dword [0x5ef6e8]
push 0
push 0x89
call fcn.004bff50
mov ecx, dword [0x5ef6e8]
push 0x142
call fcn.004c0010
mov ecx, dword [0x5ef6e8]
push 2
push 2
push 0
call fcn.004bffd0
mov ecx, dword [0x5ef6e8]
push 0
push 3
push 0
call fcn.004bffd0
mov ecx, dword [0x5ef6e8]
push 4
push 1
push 0
call fcn.004bffd0
mov ecx, dword [0x5ef6e8]
push 2
push 5
push 0
call fcn.004bffd0
mov ecx, dword [0x5ef6e8]
push 0
push 6
push 0
call fcn.004bffd0
mov ecx, dword [0x5ef6e8]
push 4
push 4
push 0
call fcn.004bffd0
mov eax, dword [esi + 0x44]
mov ebp, dword [esi + 4]
mov ebx, dword [esi + 8]
mov ecx, eax
mov edx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x9c], eax
mov al, byte [esi + 0x1b]
test al, al
mov dword [esp + 0x48], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x84], edx
je 0x4cd189
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x54]
cmp ecx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
je 0x4cd189
mov edi, dword [ecx]
fild dword [edi + 4]
fstp dword [esp + 0x10]
fild dword [edi + 8]
fld dword [esp + 0x10]
fadd dword [esp + 0x28]
fsub dword [esi + 0x3c]
fcomp dword [esi + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4cceee
mov al, byte [esi + 0x1a]
test al, al
je 0x4cd187
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4ccf0e
fild dword [eax + 4]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
jne 0x4ccf0e
fstp st(0)
jmp 0x4cd167
fld dword [esp + 0x28]
mov eax, dword [edi]
fsub dword [0x5abeb4]
mov ecx, dword [esp + 0x2c]
push eax
fstp dword [esp + 0x3c]
fld dword [esp + 0x38]
fsub dword [0x5abeb4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x3c]
fadd dword [esp + 0x14]
fstp dword [esp + 0x44]
fld dword [esp + 0x1c]
fadd st(1)
fstp dword [esp + 0x34]
fstp st(0)
call fcn.004e0730
mov ecx, dword [esp + 0x2c]
mov ebp, dword [0x5ef6e8]
call fcn.004c41e0
push eax
push 0
mov ecx, ebp
call fcn.004bff90
fld dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
fsub dword [esi + 0x1c]
mov dword [esp + 0x5c], ecx
mov edx, dword [edi + 0x10]
mov dword [esp + 0x60], edx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x78], ecx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x8c], edx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x90], eax
mov ecx, dword [edi + 0x14]
mov dword [esp + 0xa4], ecx
mov edx, dword [edi + 0x18]
fst dword [esp + 0x50]
fld dword [esp + 0x30]
lea eax, [esp + 0x4c]
fadd dword [esi + 0x1c]
push 4
push eax
mov dword [esp + 0xb0], edx
fst dword [esp + 0x70]
mov dword [esp + 0x60], ebx
fxch st(1)
mov dword [esp + 0x78], ebx
fstp dword [esp + 0x88]
mov dword [esp + 0x90], ebx
mov dword [esp + 0xa8], ebx
fstp dword [esp + 0xa0]
fld dword [esp + 0x40]
fsub dword [0x5997ac]
fsub dword [esi + 0x1c]
fst dword [esp + 0x54]
fstp dword [esp + 0x6c]
fld dword [esp + 0x48]
fsub dword [0x5997ac]
fadd dword [esi + 0x1c]
fst dword [esp + 0x84]
fstp dword [esp + 0x9c]
call fcn.004c60a0
add esp, 8
test al, al
je 0x4cd03b
mov ecx, dword [0x5ef6e8]
push 2
push 0
push 5
call fcn.004c0160
fld dword [esp + 0x38]
lea ecx, [esp + 0x4c]
fadd dword [0x5997ac]
push 4
push ecx
fsub dword [esi + 0x1c]
fst dword [esp + 0x54]
fstp dword [esp + 0x6c]
fld dword [esp + 0x48]
fadd dword [esi + 0x1c]
fadd dword [0x5997ac]
fst dword [esp + 0x84]
fstp dword [esp + 0x9c]
call fcn.004c60a0
add esp, 8
test al, al
je 0x4cd08f
mov ecx, dword [0x5ef6e8]
push 2
push 0
push 5
call fcn.004c0160
fld dword [esp + 0x38]
lea edx, [esp + 0x4c]
fsub dword [esi + 0x1c]
push 4
push edx
fst dword [esp + 0x54]
fstp dword [esp + 0x6c]
fld dword [esp + 0x48]
fadd dword [esi + 0x1c]
fst dword [esp + 0x84]
fstp dword [esp + 0x9c]
fld dword [esp + 0x20]
fsub dword [0x5997ac]
fsub dword [esi + 0x1c]
fst dword [esp + 0x58]
fld dword [esp + 0x38]
fsub dword [0x5997ac]
fadd dword [esi + 0x1c]
fst dword [esp + 0x70]
fxch st(1)
fstp dword [esp + 0x88]
fstp dword [esp + 0xa0]
call fcn.004c60a0
add esp, 8
test al, al
je 0x4cd109
mov ecx, dword [0x5ef6e8]
push 2
push 0
push 5
call fcn.004c0160
fld dword [esp + 0x18]
lea eax, [esp + 0x4c]
fadd dword [0x5997ac]
push 4
push eax
fsub dword [esi + 0x1c]
fst dword [esp + 0x58]
fld dword [esp + 0x38]
fadd dword [esi + 0x1c]
fadd dword [0x5997ac]
fst dword [esp + 0x70]
fxch st(1)
fstp dword [esp + 0x88]
fstp dword [esp + 0xa0]
call fcn.004c60a0
add esp, 8
test al, al
je 0x4cd15f
mov ecx, dword [0x5ef6e8]
push 2
push 0
push 5
call fcn.004c0160
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x48]
fld dword [esp + 0x10]
mov eax, dword [esi + 0x58]
fadd dword [esp + 0x28]
add ecx, 4
cmp ecx, eax
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x28]
jne 0x4cceb2
jmp 0x4cd189
fstp st(0)
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x54]
cmp ecx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
je 0x4cd369
jmp 0x4cd1b0
mov edi, dword [ecx]
fild dword [edi + 4]
fstp dword [esp + 0x10]
fild dword [edi + 8]
fst dword [esp + 0x30]
fcomp st(0)
fnstsw ax
test ah, 0x41
jne 0x4cd1cf
fld dword [esp + 0x30]
jmp 0x4cd1d2
fild dword [edi + 8]
fld dword [esp + 0x10]
fadd dword [esp + 0x28]
fsub dword [esi + 0x3c]
fcomp dword [esi + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4cd204
mov al, byte [esi + 0x1a]
test al, al
je 0x4cd367
fadd dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
fstp dword [esp + 0x34]
jmp 0x4cd206
fstp st(0)
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4cd223
fild dword [eax + 4]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x4cd347
fld dword [esp + 0x28]
mov ecx, dword [edi]
fsub dword [0x5abeb4]
push ecx
mov ecx, dword [esp + 0x30]
fstp dword [esp + 0x3c]
fld dword [esp + 0x38]
fsub dword [0x5abeb4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x3c]
fadd dword [esp + 0x14]
fstp dword [esp + 0x44]
fld dword [esp + 0x1c]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
call fcn.004e0730
mov ecx, dword [esp + 0x2c]
mov ebx, dword [0x5ef6e8]
call fcn.004c41e0
push eax
push 0
mov ecx, ebx
call fcn.004bff90
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], ebp
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], ebp
mov edx, dword [edi + 0xc]
mov dword [esp + 0x74], edx
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], ebp
mov eax, dword [edi + 0x14]
mov dword [esp + 0x8c], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0xa0], ebp
mov ecx, dword [edi + 0x14]
mov dword [esp + 0xa4], ecx
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x4c]
push 4
push eax
mov dword [esp + 0xb0], edx
call fcn.004c60a0
add esp, 8
test al, al
je 0x4cd343
mov ecx, dword [0x5ef6e8]
push 2
push 0
push 5
call fcn.004c0160
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x10]
mov eax, dword [esi + 0x58]
fadd dword [esp + 0x28]
add ecx, 4
cmp ecx, eax
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x28]
jne 0x4cd1b0
jmp 0x4cd369
fstp st(0)
mov al, byte [esi + 0x18]
test al, al
je 0x4cd690
call fcn.004d9190
mov edi, eax
call fcn.004d91a0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ebp, eax
push edi
mov ecx, esi
add ebp, edi
call fcn.004ccaf0
cmp edi, ebp
jge 0x4cd3b3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebp
mov ecx, esi
mov ebx, SysReAllocString
call fcn.004ccaf0
jmp 0x4cd3c4
fld dword [esp + 0x14]
or ebx, 0xffffffff
fadd dword [0x59d15c]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
movzx edx, word [esi + 0xe]
fadd dword [esi + 0x3c]
mov al, byte [esi + 0x11]
cmp al, 0x20
mov dword [esp + 0x48], edx
fst dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esi + 0x40]
fst dword [esp + 0x18]
fld dword [esp + 0x10]
fadd dword [esi + 0x3c]
fstp dword [esp + 0x10]
fild dword [esp + 0x48]
fst dword [esp + 0x2c]
fadd st(1)
je 0x4cd40a
cmp al, 0x30
jne 0x4cd41e
fxch st(1)
fsub dword [esp + 0x2c]
jmp 0x4cd418
fld dword [esp + 0x2c]
fmul dword [0x5abeb4]
fsubp st(2)
fxch st(1)
fst dword [esp + 0x18]
fxch st(1)
fld st(2)
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x24]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fld st(1)
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
fxch st(1)
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x20]
mov dword [esp + 0x50], ecx
fxch st(1)
mov ecx, eax
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x1c]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x20]
fst dword [esp + 0x20]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x20]
fstp dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], edx
mov edx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
push 0
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x5ef6e8]
push 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
call fcn.004bff90
push 5
call fcn.004c5e30
lea edx, [esp + 0x50]
push 4
push edx
call fcn.004c60a0
add esp, 0xc
test al, al
je 0x4cd52d
mov ecx, dword [0x5ef6e8]
push 2
push 0
push 4
push 0
push 4
call fcn.004c01d0
call fcn.004d91b0
mov ebx, eax
call fcn.004d91c0
mov ebp, eax
cmp ebx, ebp
jge 0x4cd690
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
add ebx, edi
push ebx
mov ecx, esi
call fcn.004ccaf0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
add ebp, edi
push ebp
mov ecx, esi
call fcn.004ccaf0
fld dword [esp + 0x14]
fadd dword [esi + 0x3c]
movzx ecx, word [esi + 0xe]
mov dword [esp + 0x48], ecx
mov eax, 0xffff0000
mov dword [esp + 0x58], eax
fild dword [esp + 0x48]
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0xa0], eax
fadd dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
fadd dword [esi + 0x40]
mov dword [esp + 0x24], 0
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
fadd dword [esi + 0x3c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x24], 0
push 0x18
fst dword [esp + 0x14]
fld st(1)
fadd dword [0x59d15c]
fstp dword [esp + 0x30]
fld st(2)
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fld st(1)
mov dword [esp + 0x50], edx
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x30]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov ecx, edx
fstp dword [esp + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x88], edx
mov edx, eax
mov dword [esp + 0x98], edx
lea edx, [esp + 0x50]
push edx
push 0x65
push 0x5abea8
mov dword [esp + 0x2c], eax
mov eax, ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
push 2
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
push 4
mov ecx, dword [0x5ef6e8]
push 0
push 4
call fcn.004c0200
mov ecx, dword [0x5ef6e8]
push 0x13
call fcn.004c0640
mov ecx, dword [0x5ef6e8]
push 0x14
call fcn.004c0640
mov eax, dword [esp + 0xb0]
mov ecx, dword [0x5ef6e8]
push eax
push 0x1c
call fcn.004bff50
mov ecx, dword [esp + 0xac]
push ecx
mov ecx, dword [0x5ef6e8]
push 0x89
call fcn.004bff50
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xa4
ret 4