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

Disassembly:
sub esp, 0xd8
push ebx
push ebp
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx + 0x38]
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x4cd6ba5
call fcn.04cad140
push eax
call fcn.04c99fd0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4cd6ba5
lea ebp, [eax + 0x418]
mov edi, 0x4e0d04c
mov esi, ebp
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x28], ebp
mov byte [esp + 0x12], bl
jne 0x4cd668a
mov byte [esp + 0x12], 1
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov edx, dword [edx + 0x98]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0xf0]
push eax
call edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x38]
call fcn.04ca61a0
fstp dword [esp + 0x14]
fld dword [esp + 0xfc]
fld dword [esp + 0x14]
fld st(1)
fmulp st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4cd6b4a
fld dword [esp + 0x34]
lea ecx, [esp + 0x7c]
fsub dword [esp + 0xf0]
push ecx
lea ecx, [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fsub dword [esp + 0xf8]
fstp dword [esp + 0x24]
fld dword [esp + 0x40]
fsub dword [esp + 0xfc]
fstp dword [esp + 0x28]
call fcn.04b883a0
fldz
mov ecx, dword [0x4e83f60]
fst dword [esp + 0xa0]
or eax, 0xffffffff
fst dword [esp + 0xa4]
mov dword [esp + 0x70], eax
fst dword [esp + 0xa8]
mov dword [esp + 0x6c], eax
fst dword [esp + 0x4c]
mov dword [esp + 0x78], eax
fst dword [esp + 0x50]
lea edx, [esp + 0x4c]
fst dword [esp + 0x54]
push edx
fst dword [esp + 0x5c]
lea eax, [esp + 0x8c]
fst dword [esp + 0x60]
mov dword [esp + 0xbc], ebx
fst dword [esp + 0x64]
mov dword [esp + 0xb8], ebx
fstp dword [esp + 0x68]
mov dword [esp + 0xc4], ebx
fld dword [esp + 0xf4]
mov dword [esp + 0xc0], ebx
fstp dword [esp + 0x8c]
mov dword [esp + 0x6c], ebx
fld dword [esp + 0xf8]
mov dword [esp + 0x78], ebx
fstp dword [esp + 0x90]
mov dword [esp + 0xb0], 7
fld dword [esp + 0xfc]
mov dword [esp + 0xb4], 0x4cda750
fstp dword [esp + 0x94]
push eax
fld dword [esp + 0x3c]
xor edi, edi
fstp dword [esp + 0x9c]
xor esi, esi
fld dword [esp + 0x44]
fstp dword [esp + 0xa4]
fld dword [esp + 0x40]
fadd qword [0x4e37440]
fstp dword [esp + 0xa0]
mov edx, dword [ecx + 0x64]
call edx
add esp, 8
test al, al
je 0x4cd68e4
cmp edi, ebx
jne 0x4cd68e4
cmp esi, 0xa
jge 0x4cd68e4
mov eax, dword [esp + 0x68]
add esi, 1
cmp eax, ebx
je 0x4cd68c2
or ecx, 0xffffffff
cmp dword [esp + 0x70], ecx
jne 0x4cd683a
cmp dword [esp + 0x6c], ecx
je 0x4cd68c2
mov ecx, dword [0x4e7ffd4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x4cd6853
mov edi, 1
jmp 0x4cd68c2
fld dword [esp + 0x7c]
fld qword [0x4e56000]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x80]
fmul st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x84]
fstp dword [esp + 0x48]
fld dword [esp + 0x40]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x44]
fadd dword [esp + 0x50]
fstp dword [esp + 0x20]
fld dword [esp + 0x48]
fadd dword [esp + 0x54]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fstp dword [esp + 0x88]
fld dword [esp + 0x20]
fstp dword [esp + 0x8c]
fld dword [esp + 0x24]
fstp dword [esp + 0x90]
mov eax, dword [0x4e83f60]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [eax + 0x64]
lea edx, [esp + 0x8c]
push edx
call ecx
add esp, 8
test al, al
jne 0x4cd6807
fld dword [esp + 0x14]
call fcn.04df7e8c
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov edx, dword [esp + 0x18]
fmul qword [0x4e55f90]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [edx + 0x7c0]
fld1
fsubrp st(1)
fstp dword [esp + 0x14]
fldz
fcom dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4cd6926
fst dword [esp + 0x14]
mov eax, dword [esp + 0x30]
fild dword [eax + 0x6c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x18]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4cd6946
fstp dword [esp + 0x18]
jmp 0x4cd6948
fstp st(0)
cmp edi, ebx
je 0x4cd695a
fld dword [esp + 0x18]
fmul qword [0x4e55f88]
fstp dword [esp + 0x18]
fld1
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jp 0x4cd6b4a
mov ebx, dword [esp + 0xf8]
mov esi, ebp
mov ebp, dword [esp + 0xf4]
mov edi, 0x4e0d04c
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov edi, dword [esp + 0xf0]
mov ecx, dword [0x55cdb88]
jne 0x4cd69ad
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
push edx
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
push 0x4e373f0
jmp 0x4cd69c1
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x34]
push 0
push eax
call fcn.04cffd10
mov ecx, dword [0x4e7ffd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x14]
push eax
call edx
test eax, eax
jne 0x4cd6ac7
mov eax, dword [0x4e83f6c]
cmp dword [eax + 0x50], 0
je 0x4cd6ac7
lea ecx, [esp + 0xc4]
call fcn.04cb8a80
mov al, byte [0x4e83faa]
mov ecx, dword [esp + 0x30]
mov byte [esp + 0xcc], al
add al, 1
mov byte [0x4e83faa], al
mov ecx, dword [ecx + 0x38]
call fcn.04cad140
fld dword [esp + 0x18]
mov ecx, dword [0x4e83f6c]
fnstcw word [esp + 0x12]
mov word [esp + 0xdc], ax
movzx eax, word [esp + 0x12]
or eax, 0xc00
mov dword [esp + 0x28], eax
mov byte [esp + 0xe0], 7
fldcw word [esp + 0x28]
fistp dword [esp + 0x28]
mov dx, word [esp + 0x28]
mov word [esp + 0xde], dx
fldcw word [esp + 0x12]
call fcn.04b77130
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xe1], al
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push 0x10
push 0x3a
call edx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0xc8]
call fcn.04cb8b60
mov ecx, dword [0x4e83f60]
mov esi, dword [ecx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 1
add esi, 0x154
call eax
mov ecx, dword [0x4e83f60]
mov edx, dword [esi]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [0x4e83f6c]
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x4cd6ba5
fldz
sub esp, 0xc
mov eax, esp
fst dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fst dword [esp + 0x2c]
mov dword [eax], edx
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x24]
mov dword [eax + 4], edx
fnstcw word [esp + 0x1e]
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edx
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x34], eax
push 1
push 0
fldcw word [esp + 0x3c]
push 4
fistp qword [esp + 0x40]
mov eax, dword [esp + 0x40]
push eax
sub esp, 0xc
fldcw word [esp + 0x3a]
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
call fcn.04ce7ab0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 0x14
push ebx
sub esp, 0xc
cmp byte [esp + 0x22], 1
mov eax, esp
push ebx
jne 0x4cd6b7c
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x108]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
push 0x4e373f0
jmp 0x4cd6b9a
mov edx, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov dword [eax], edx
mov edx, dword [esp + 0x10c]
mov dword [eax + 4], ecx
push ebp
mov dword [eax + 8], edx
mov ecx, dword [0x55cdb88]
call fcn.04cffcc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 0x14