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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push esi
push edi
push eax
lea ebx, [eax + 0x18]
call fcn.004bf430
add esp, 0xc
test eax, eax
je 0x4cbee3
mov eax, 1
jmp 0x4cc345
cmp edi, 0x14c
jg 0x4cbfcb
je 0x4cc182
add edi, 0xffffff02
cmp edi, 0x2f
ja case.0x4cbf04.255
jmp dword [edi*4 + 0x4cbf0b]
cmp edi, 0x213
jg 0x4cc019
je 0x4cc2b9
cmp edi, 0x152
jg 0x4cc001
je 0x4cc1b6
sub edi, 0x14e
je 0x4cc19c
sub edi, 2
je 0x4cc155
jmp case.0x4cbf04.255
sub edi, 0x211
je 0x4cc24a
dec edi
je 0x4cc28f
jmp case.0x4cbf04.255
cmp edi, 0x80e4
jg 0x4cc044
je 0x4cc219
sub edi, 0x214
je 0x4cc31e
sub edi, 0x7ecf
je 0x4cc1d8
jmp case.0x4cbf04.255
sub edi, 0x80e5
je 0x4cc235
dec edi
je 0x4cc204
jmp case.0x4cbf04.255
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x24]
mov dword [eax], edx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x28]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x30]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x32]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x34]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x36]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x38]
mov dword [eax], edx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x3c]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x3e]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x5a]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0x58]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov ax, 1
mov edx, dword [esi - 4]
mov word [edx], 0
mov cx, word [ebx + 0x28]
shl ax, cl
add ax, 0xffff
add esi, 4
mov edx, dword [esi - 4]
mov word [edx], ax
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0xe2]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0xe4]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov cx, word [ebx + 0x78]
mov edx, dword [esi - 4]
add esi, 4
mov word [edx], cx
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x7a]
mov dword [eax], edx
mov eax, 1
jmp 0x4cc345
cmp word [ebx + 0x78], 1
jne 0x4cc1e8
mov edx, dword [ebx + 0x7a]
cmp word [edx], 1
je 0x4cc1ec
xor ecx, ecx
jmp 0x4cc1f1
mov ecx, 1
add esi, 4
mov eax, dword [esi - 4]
mov word [eax], cx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov eax, 1
jmp 0x4cc345
mov dx, word [ebx + 0x2a]
add dx, 0xffff
add esi, 4
mov eax, dword [esi - 4]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0x14]
mov dword [eax], edx
mov eax, 1
jmp 0x4cc345
cmp dword [ebx + 0xc0], 0
jne 0x4cc277
push 0xc
call fcn.004c9514
pop ecx
mov edi, eax
mov dword [ebx + 0xc0], edi
mov dword [edi], 0x3e991687
mov dword [edi + 4], 0x3f1645a2
mov dword [edi + 8], 0x3de978d5
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0xc0]
mov dword [eax], edx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov cx, word [ebx + 0xc4]
mov edx, dword [esi - 4]
add esi, 4
mov word [edx], cx
mov dx, word [ebx + 0xc6]
mov eax, dword [esi - 4]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
add esi, 4
mov eax, dword [esi - 4]
mov dx, word [ebx + 0xc8]
mov word [eax], dx
mov eax, 1
jmp 0x4cc345
cmp dword [ebx + 0xd6], 0
jne 0x4cc2e0
push ebx
call fcn.004cbd6c
pop ecx
add esi, 4
mov edx, dword [esi - 4]
mov ecx, dword [ebx + 0xd6]
mov dword [edx], ecx
movzx eax, word [ebx + 0x36]
movzx edx, word [ebx + 0x78]
sub eax, edx
dec eax
jle 0x4cc317
add esi, 4
mov eax, dword [ebx + 0xda]
mov ecx, dword [esi - 4]
add esi, 4
mov dword [ecx], eax
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0xde]
mov dword [eax], edx
mov eax, 1
jmp 0x4cc345
cmp dword [ebx + 0xd2], 0
jne 0x4cc32e
push ebx
call fcn.004cbe6c
pop ecx
add esi, 4
mov eax, dword [esi - 4]
mov edx, dword [ebx + 0xd2]
mov dword [eax], edx
mov eax, 1
jmp 0x4cc345
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret