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

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0x2c], 1
cmp dword [ebp + 0xb8], 2
jne 0x4cb8ba
mov eax, dword [esp + 0x38]
cmp byte [eax + ebp + 0x23e], 0
jne 0x4cb8ba
mov ecx, dword [ebp + 0xac]
mov ebx, 0x208
mov edi, dword [ebp + 0xc4]
jmp 0x4cb8c8
mov ecx, dword [ebp + 0x64]
mov ebx, 0x1d4
mov edi, dword [ebp + 0xc8]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov dword [eax], 0
cmp dword [ebp + 0xb8], 2
jne 0x4cb909
cmp dword [ebp + 0x14c], 0xffffffff
mov eax, 0x1b0
mov edx, 0x1c0
cmovne eax, edx
cmp dword [eax + ebp], 2
je 0x4cb909
mov esi, dword [esp + 0x28]
mov al, byte [esi + 0x48b]
jmp 0x4cb913
mov esi, dword [esp + 0x28]
mov al, byte [esi + 0x423]
test al, al
jne 0x4cb921
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4cb933
test byte [eax + 4], 0x10
je 0x4cb933
add eax, 0x74
jmp 0x4cb939
lea eax, [esi + 0x90c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [esi + 0x4c0], eax
jbe 0x4cbbc9
mov dword [esp + 0x14], eax
mov esi, dword [esi + 0x908]
add esi, eax
cmp dword [esi + 0xc], 0
je 0x4cbb74
push dword [esi]
push ecx
call fcn.004d51d0
add esp, 8
test eax, eax
je 0x4cbb74
cmp byte [ebp + 0x248], 0
mov eax, dword [esi + 4]
jne 0x4cb98d
test eax, eax
je 0x4cb9a9
jmp 0x4cbb74
test eax, eax
je 0x4cbb74
push eax
push dword [ebp + 0x7c]
call fcn.004d51d0
add esp, 8
test eax, eax
je 0x4cbb74
cmp byte [ebp + 0x249], 0
mov eax, dword [esi + 0x1c]
jne 0x4cb9bf
cmp eax, 0xffffffff
je 0x4cb9d4
jmp 0x4cbb74
cmp eax, 0xffffffff
je 0x4cbb74
cmp dword [ebp + 0xcc], eax
jne 0x4cbb74
cmp edi, dword [esi + 0x18]
jne 0x4cbb74
mov eax, dword [ebp + 0x288]
push dword [esi + 8]
push dword [eax]
call fcn.004d51d0
add esp, 8
test eax, eax
je 0x4cbb74
mov eax, dword [ebx + ebp]
cmp eax, dword [esi + 0x20]
jne 0x4cbb74
mov eax, dword [ebx + ebp + 4]
cmp eax, dword [esi + 0x24]
jne 0x4cbb74
mov al, byte [ebx + ebp + 0x30]
cmp al, byte [esi + 0x50]
jne 0x4cbb74
mov al, byte [ebx + ebp + 0x31]
cmp al, byte [esi + 0x51]
jne 0x4cbb74
mov al, byte [ebx + ebp + 0x32]
cmp al, byte [esi + 0x52]
jne 0x4cbb74
mov edx, dword [ebx + ebp + 0x28]
mov edi, dword [esi + 0x48]
test edx, edx
jne 0x4cba4d
test edi, edi
jne 0x4cbb74
jmp 0x4cbac1
test edi, edi
je 0x4cbb74
mov ecx, dword [edx + 4]
cmp ecx, dword [edi + 4]
jne 0x4cbb74
mov edx, dword [edx]
mov edi, dword [edi]
sub ecx, 4
jb 0x4cba81
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4cba86
add edx, 4
add edi, 4
sub ecx, 4
jae 0x4cba70
cmp ecx, 0xfffffffc
je 0x4cbab7
mov al, byte [edx]
cmp al, byte [edi]
jne 0x4cbab3
cmp ecx, 0xfffffffd
je 0x4cbab7
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x4cbab3
cmp ecx, 0xfffffffe
je 0x4cbab7
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x4cbab3
cmp ecx, 0xffffffff
je 0x4cbab7
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x4cbab7
xor al, al
jmp 0x4cbab9
mov al, 1
test al, al
je 0x4cbb74
push dword [esi + 0x28]
push dword [ebx + ebp + 8]
call fcn.004d51a0
add esp, 8
test eax, eax
je 0x4cbb74
push dword [esi + 0x2c]
push dword [ebx + ebp + 0xc]
call fcn.004d51a0
add esp, 8
test eax, eax
je 0x4cbb74
push dword [esi + 0x30]
push dword [ebx + ebp + 0x10]
call fcn.004d51a0
add esp, 8
test eax, eax
je 0x4cbb74
push dword [esi + 0x34]
push dword [ebx + ebp + 0x14]
call fcn.004d51a0
add esp, 8
test eax, eax
je 0x4cbb74
push dword [esi + 0x38]
push dword [ebx + ebp + 0x18]
call fcn.004d51a0
add esp, 8
test eax, eax
je 0x4cbb74
push dword [esi + 0x3c]
push dword [ebx + ebp + 0x1c]
call fcn.004d51a0
add esp, 8
test eax, eax
je 0x4cbb74
push dword [esi + 0x40]
push dword [ebx + ebp + 0x20]
call fcn.004d51a0
add esp, 8
test eax, eax
je 0x4cbb74
push dword [esi + 0x4c]
push dword [ebx + ebp + 0x2c]
call fcn.004d51a0
add esp, 8
test eax, eax
je 0x4cbb74
push dword [esi + 0x44]
push dword [ebx + ebp + 0x24]
call fcn.004d51a0
add esp, 8
test eax, eax
jne 0x4cbb9e
mov esi, dword [esp + 0x28]
inc dword [esp + 0x10]
add dword [esp + 0x14], 0x54
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x4c0]
jae 0x4cbbc9
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x4cb953
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
inc dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4cbbbf
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x14
ret
mov al, byte [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret