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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 4], eax
mov edi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x34]
xor edx, edx
div dword [ebx + 0x28]
mov dword [ebx + 0x30], eax
cmp dword [ebx + 0x28], 1
jbe 0x4bb773
mov esi, dword [ebx + 0x38]
push ebx
call fcn.004bafef
pop ecx
xor eax, eax
jmp 0x4bb76c
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x3c]
mov dword [ecx + edx*8 + 0xc], 0
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x3c]
mov dword [ecx + edx*8 + 0x10], 0
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x3c]
mov dword [ecx + edx*8 + 0x14], esi
mov edx, dword [ebx + 0xc]
add edx, 4
imul edx, dword [ebx + 0x30]
add esi, edx
inc eax
cmp eax, dword [ebx + 0x28]
jb 0x4bb739
jmp 0x4bb79d
push ebx
call fcn.004bacaa
pop ecx
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x24]
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x24]
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 0x3c]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
mov dword [edx + 0x14], ecx
push ebx
call fcn.004bb1da
pop ecx
xor esi, esi
jmp 0x4bb830
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xc]
push edx
push ebx
call fcn.004bb318
add esp, 0xc
test eax, eax
jne 0x4bb7d6
push 0
push 0
push str.hb_cdxSortOut:_memory_structure_corrupted.
push 0x2458
call fcn.00463c60
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x4bb800
test esi, esi
je 0x4bb800
push 0
mov ecx, edi
push ecx
push dword [ebp - 0xc]
mov eax, edi
push eax
lea edx, [ebx + 0x148]
push edx
push dword [ebx]
call fcn.004aef4d
add esp, 0x18
test eax, eax
je 0x4bb82f
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push ebx
call fcn.004baceb
add esp, 0x14
push edi
push dword [ebp - 0xc]
lea ecx, [ebx + 0x148]
push ecx
call fcn.004d9148
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [ebx + 0x238], eax
inc esi
cmp esi, dword [ebx + 0x20]
jb 0x4bb7ab
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0xc]
push ecx
push ebx
call fcn.004bb318
add esp, 0xc
test eax, eax
je 0x4bb864
push 0
push 0
push str.hb_cdxSortOut:_memory_structure_corrupted_2_.
push 0x245a
call fcn.00463c60
add esp, 0x10
cmp dword [ebx + 0x40], 0
jne 0x4bb88b
push 0
push 0
push dword [ebx]
call fcn.004b1bdf
add esp, 0xc
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x40]
mov byte [eax + 0xc], 2
push dword [ebx + 0x40]
call fcn.004b11fe
pop ecx
xor esi, esi
mov edi, 1
lea eax, [esi + 1]
cmp eax, 0x40
je 0x4bb8a1
cmp dword [ebx + esi*4 + 0x44], 0
jne 0x4bb8b8
mov edx, dword [ebx + esi*4 + 0x40]
or byte [edx + 0xc], 1
mov ecx, dword [ebx + esi*4 + 0x40]
mov eax, dword [ecx]
mov edx, dword [ebx]
mov dword [edx + 0x78], eax
xor edi, edi
jmp 0x4bb8d8
mov eax, dword [ebx + esi*4 + 0x40]
push dword [eax]
push dword [ebx + 0x238]
lea edx, [ebx + 0x148]
push edx
lea ecx, [esi + 1]
push ecx
push ebx
call fcn.004baceb
add esp, 0x14
push 1
push dword [ebx + esi*4 + 0x40]
call fcn.004b1d29
add esp, 8
inc esi
test edi, edi
jne 0x4bb892
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret