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

Disassembly:
push 0xffffffffffffffff
push 0x5eb4c6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], eax
lea edi, [ebx + 0x10]
test edi, edi
mov dword [esp + 0xc0], 0
mov dword [esp + 0x30], edi
je 0x4cb714
mov eax, dword [edi]
test eax, eax
je 0x4cb714
push eax
call dword [0x610260]
xor esi, esi
mov eax, ebx
mov byte [esp + 0xc0], 1
mov dword [esp + 0x2c], esi
call fcn.004cc4e0
test eax, eax
jbe 0x4cba5a
mov dword [esp + 0x20], esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4cb748
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 5
cmp esi, eax
jb 0x4cb74e
call dword [0x6105e8]
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x20]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x44]
call dword [0x610494]
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0xd0]
jne 0x4cba25
lea edi, [ebx + 0x24]
test edi, edi
mov dword [esp + 0x34], edi
je 0x4cb792
mov eax, dword [edi]
test eax, eax
je 0x4cb792
push eax
call dword [0x610260]
xor esi, esi
mov byte [esp + 0xc0], 3
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4cba14
mov ecx, dword [ebx + 0x1c]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x4cba14
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4cb7ee
mov ecx, dword [ebx + 0x1c]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4cb7f4
call dword [0x6105e8]
mov edi, dword [ebx + 0x18]
add edi, dword [esp + 0x1c]
lea eax, [esp + 0x5c]
push eax
call fcn.00404350
mov byte [esp + 0xc0], 4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
cmp ecx, eax
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x14]
jb 0x4cb829
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x60]
mov ecx, 8
cmp dword [esp + 0x74], ecx
jae 0x4cb83c
lea esi, [esp + 0x60]
cmp dword [esp + 0x58], ecx
mov edi, dword [esp + 0x44]
jae 0x4cb84a
lea edi, [esp + 0x44]
mov ebp, dword [eax]
test ebp, ebp
je 0x4cb8b4
movzx eax, word [esi]
mov ebx, dword [0x610650]
push eax
call ebx
movzx ecx, word [edi]
push ecx
mov word [esp + 0x1c], ax
call ebx
movzx ecx, word [esp + 0x1c]
add esp, 8
add esi, 2
cmp ax, cx
jne 0x4cb889
mov dx, word [edi]
add edi, 2
test dx, dx
je 0x4cb8b0
sub ebp, 1
jne 0x4cb850
jmp 0x4cb8b0
movzx eax, word [esi - 2]
mov ebx, dword [0x610650]
sub esi, 2
push eax
call ebx
movzx ecx, word [edi]
push ecx
movzx esi, ax
call ebx
movzx eax, ax
add esp, 8
sub eax, esi
jne 0x4cb9c0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x28], eax
cmp ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x28]
jb 0x4cb8d6
lea eax, [esp + 0x14]
cmp dword [esp + 0x90], 8
mov edx, dword [esp + 0x7c]
jae 0x4cb8e8
lea edx, [esp + 0x7c]
cmp dword [esp + 0xec], 8
mov ecx, dword [esp + 0xd8]
jae 0x4cb900
lea ecx, [esp + 0xd8]
mov eax, dword [eax]
test eax, eax
je 0x4cb919
push eax
push edx
push ecx
call fcn.004ce260
add esp, 0xc
test eax, eax
jne 0x4cb9c4
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
call dword [0x61059c]
lea eax, [esp + 0x78]
push eax
lea ecx, [esi + 0x1c]
call dword [0x61059c]
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esi + 0x38]
call dword [0x61059c]
mov dl, byte [esp + 0xb0]
lea eax, [esp + 0x5c]
push eax
mov byte [esi + 0x54], dl
mov byte [esp + 0xc4], 3
call fcn.004c0720
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4cb97a
mov eax, dword [eax]
test eax, eax
je 0x4cb97a
push eax
call dword [0x61025c]
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 1
call dword [0x6105a0]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4cb9a1
mov eax, dword [eax]
test eax, eax
je 0x4cb9a1
push eax
call dword [0x61025c]
lea ecx, [esp + 0xd4]
mov dword [esp + 0xc0], 0xffffffff
call dword [0x6105a0]
mov al, 1
jmp 0x4cba85
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 6
call dword [0x6105a0]
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 5
call dword [0x6105a0]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 3
call dword [0x6105a0]
add dword [esp + 0x24], 1
add dword [esp + 0x1c], 0x58
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
jmp 0x4cb7a4
test edi, edi
je 0x4cba25
mov eax, dword [edi]
test eax, eax
je 0x4cba25
push eax
call dword [0x61025c]
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 1
call dword [0x6105a0]
mov esi, dword [esp + 0x2c]
add dword [esp + 0x20], 0x20
add esi, 1
mov eax, ebx
mov dword [esp + 0x2c], esi
call fcn.004cc4e0
cmp esi, eax
jb 0x4cb735
mov edi, dword [esp + 0x30]
test edi, edi
je 0x4cba6b
mov eax, dword [edi]
test eax, eax
je 0x4cba6b
push eax
call dword [0x61025c]
lea ecx, [esp + 0xd4]
mov dword [esp + 0xc0], 0xffffffff
call dword [0x6105a0]
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005e693f
add esp, 0xb0
ret 0x28