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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
cmp dword [ebx + 0x1d0c], ebp
jne 0x4ceb41
pop ebp
mov al, 1
pop ebx
add esp, 0xa8
ret 4
mov eax, dword [ebx + 4]
push esi
push edi
push 0x1c2
mov eax, dword [eax + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov ecx, dword [ebx + 4]
push ebp
call fcn.0049c8d0
mov ecx, dword [ebx + 4]
push 0x10
call fcn.0049c8b0
mov ecx, dword [ebx + 4]
push 7
call fcn.0049c890
lea edx, [esp + 0x78]
push edx
call fcn.004aab90
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x3c]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x38]
push eax
call fcn.0049c170
mov eax, dword [ebx + 0x1d0c]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
mov dword [esp + 0x24], ebp
jle 0x4cedae
lea ecx, [ebx + 0x1b0c]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov esi, dword [edx]
mov dword [esp + 0x34], esi
mov eax, dword [esi + 8]
cmp eax, ecx
je 0x4cec0e
cmp eax, 1
mov dword [esp + 0x2c], eax
jne 0x4cebf0
mov ecx, dword [ebx + 4]
push 2
call fcn.0049c820
mov ecx, dword [ebx + 4]
push 4
call fcn.0049c840
push ebp
jmp 0x4cec06
mov ecx, dword [ebx + 4]
push 5
call fcn.0049c820
mov ecx, dword [ebx + 4]
push 6
call fcn.0049c840
push 1
mov ecx, dword [ebx + 4]
call fcn.0049c860
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], ebp
cmp eax, ebp
jle 0x4ced8c
mov dword [esp + 0x20], ebp
add ebp, dword [esi + 0xc]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4ced6b
mov ecx, dword [ebp]
mov esi, eax
and eax, 0xff
sar esi, 8
mov edi, eax
test ecx, ecx
mov dword [esp + 0x1c], edi
je 0x4cec4f
mov eax, dword [ecx]
push 0
call dword [eax + 0x14]
jmp 0x4cec59
mov ecx, dword [ebx + 4]
push 0
call fcn.0049d270
test esi, esi
mov dword [esp + 0x14], 0
jle 0x4cecf1
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x14]
lea eax, [ebx + 0x1d10]
mov dword [esp + 0x28], 0x100
lea edx, [ecx*4]
mov ecx, dword [ebp + 0xc]
mov edi, eax
add eax, 0x70
mov esi, dword [ecx + edx]
mov ecx, 0x1c
add esi, 0x244
add edx, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x4cec86
mov edi, dword [esp + 0x14]
lea eax, [ebx + 0x1d10]
mov ecx, dword [ebx + 4]
push 0x1c
push eax
lea edx, [ebx + 0x8d10]
push 0x65
push edx
push 0x200
push 0x400
add edi, 0x100
push 0
push 4
mov dword [esp + 0x34], edi
call fcn.0049ccf0
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x4cec6d
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4ced60
jle 0x4ced36
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edi
lea edx, [eax*4]
lea eax, [ebx + 0x1d10]
mov ecx, dword [ebp + 0xc]
mov edi, eax
add eax, 0x70
mov esi, dword [ecx + edx]
mov ecx, 0x1c
add esi, 0x244
add edx, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x10], ecx
jne 0x4ced0c
mov edi, dword [esp + 0x1c]
lea edx, [ebx + 0x1d10]
push 0x1c
push edx
lea eax, [ebx + 0x8d10]
push 0x65
lea ecx, [edi + edi]
push eax
lea edx, [edi*4]
push ecx
mov ecx, dword [ebx + 4]
push edx
push 0
push 4
call fcn.0049ccf0
mov esi, dword [esp + 0x34]
mov dword [ebp + 0x14], 0
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esi + 0x20]
inc eax
add ebp, 0x18
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebp
jl 0x4cec21
xor ebp, ebp
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x1d0c]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
jl 0x4cebbb
mov ecx, dword [ebx + 4]
push 5
call fcn.0049c820
mov ecx, dword [ebx + 4]
push 6
call fcn.0049c840
mov ecx, dword [ebx + 4]
push 1
call fcn.0049c8d0
mov ecx, dword [ebx + 4]
push ebp
call fcn.0049c860
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xa8
ret 4