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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cb6f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4cc2dc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x4cc2dc
mov eax, dword [ebp - 8]
call fcn.004ca5c8
test eax, eax
je 0x4cc2dc
xor eax, eax
mov dword [ebx + 0xe0], eax
xor eax, eax
mov dword [ebx + 0xe4], eax
mov byte [ebx + 0xe8], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041ffe0
lea esi, [ebp - 0x34]
lea edi, [ebx + 0xf4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041ffe0
lea esi, [ebp - 0x34]
lea edi, [ebx + 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4cbf43
mov eax, dword [eax + 0x34]
add eax, 2
mov dword [ebp - 0x18], eax
jmp 0x4cbf48
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x4cbf64
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x30]
add eax, 2
mov dword [ebp - 0x1c], eax
jmp 0x4cbf6d
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x4cbf8d
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
call dword [edx + 0x30]
cdq
idiv dword [ebx + 0x68]
add eax, 2
mov dword [ebp - 0x20], eax
jmp 0x4cbf92
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x60]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x4cbfab
mov eax, dword [ebx + 0x60]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x24], eax
jmp 0x4cbfb0
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4cc193
inc edi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004214c4
mov esi, eax
cmp byte [esi + 0x1e], 0
je 0x4cc189
mov eax, esi
call fcn.004ca5d0
test al, al
je 0x4cc003
mov eax, dword [ebx + 0xe4]
add eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebx + 0xe4], eax
jmp 0x4cc030
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
jne 0x4cc01f
mov eax, dword [ebx + 0xe4]
add eax, dword [ebx + 0x74]
add eax, 2
mov dword [ebx + 0xe4], eax
jmp 0x4cc030
mov edx, dword [ebx + 0xe4]
add edx, eax
add edx, 2
mov dword [ebx + 0xe4], edx
cmp dword [esi + 8], 0
je 0x4cc0f6
cmp byte [esi + 0x1d], 0
jne 0x4cc058
mov eax, dword [ebx + 0x1a4]
call fcn.0043805c
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x44]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4cc0cc
cmp esi, dword [ebx + 0x1e8]
jne 0x4cc078
mov eax, dword [ebx + 0x1a4]
call fcn.0043805c
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4cc0cc
cmp esi, dword [ebx + 0x1ec]
jne 0x4cc098
mov eax, dword [ebx + 0x1a4]
call fcn.0043805c
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x40]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4cc0cc
cmp byte [esi + 0x21], 0
je 0x4cc0b6
mov eax, dword [ebx + 0x1a4]
call fcn.0043805c
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x48]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4cc0cc
mov eax, dword [ebx + 0x1a4]
call fcn.0043805c
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x1a4]
call fcn.0043805c
lea ecx, [ebp - 0x3c]
mov edx, dword [esi + 8]
call fcn.00432e04
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
jmp 0x4cc109
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
cmp word [esi + 0x28], 0
je 0x4cc143
lea edx, [ebp - 4]
movzx eax, word [esi + 0x28]
call fcn.00458c10
mov eax, dword [ebx + 0x1a4]
call fcn.0043805c
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 4]
call fcn.00432e04
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x44]
jmp 0x4cc153
xor eax, eax
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x48], 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 2
add edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.004ca5c8
test eax, eax
jle 0x4cc175
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xe0]
cmp eax, dword [ebp - 0x10]
jge 0x4cc189
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xe0], eax
inc dword [ebp - 0xc]
dec edi
jne 0x4cbfca
mov eax, dword [ebx + 0x94]
add eax, eax
add dword [ebx + 0xe0], eax
mov esi, dword [ebx + 0x94]
add esi, esi
add esi, dword [ebx + 0xe4]
add esi, 2
mov dword [ebx + 0xe4], esi
mov eax, dword [0x4f1bfc]
mov eax, dword [eax]
call fcn.004860b4
cmp esi, eax
jle 0x4cc2dc
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x4cc2dc
mov eax, dword [0x4f1bfc]
mov eax, dword [eax]
call fcn.004860b4
sub eax, 0x14
mov dword [ebx + 0xe4], eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x24]
add eax, eax
add dword [ebx + 0xe4], eax
mov byte [ebx + 0xe8], 1
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, 6
cdq
idiv ecx
mov esi, dword [ebx + 0xe0]
sub esi, eax
sar esi, 1
jns 0x4cc230
adc esi, 0
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebx + 0x94]
add edx, 2
add eax, edx
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, 6
cdq
idiv ecx
mov ecx, eax
add ecx, esi
mov edx, dword [ebx + 0x94]
add edx, 2
mov eax, esi
call fcn.0041ffe0
push esi
lea esi, [ebp - 0x34]
lea edi, [ebx + 0xf4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0xe4]
sub eax, dword [ebx + 0x94]
sub eax, 2
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, 6
cdq
idiv ecx
add eax, esi
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebx + 0xe4]
sub edx, dword [ebx + 0x94]
sub edx, eax
sub edx, 2
mov eax, esi
pop ecx
call fcn.0041ffe0
lea esi, [ebp - 0x34]
lea edi, [ebx + 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb6f9
lea eax, [ebp - 4]
call fcn.0040649c
ret