Function at 0x4b94ae
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 0x4b9523
mov esi, dword [ebx + 0x38]
push ebx
call fcn.004b8d9f
pop ecx
xor eax, eax
jmp 0x4b951c
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 0x4b94e9
jmp 0x4b954d
push ebx
call fcn.004b8a5a
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.004b8f8a
pop ecx
xor esi, esi
jmp 0x4b95e0
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xc]
push edx
push ebx
call fcn.004b90c8
add esp, 0xc
test eax, eax
jne 0x4b9586
push 0
push 0
push str.hb_cdxSortOut:_memory_structure_corrupted.
push 0x2458
call fcn.00461a10
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x4b95b0
test esi, esi
je 0x4b95b0
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.004accfd
add esp, 0x18
test eax, eax
je 0x4b95df
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push ebx
call fcn.004b8a9b
add esp, 0x14
push edi
push dword [ebp - 0xc]
lea ecx, [ebx + 0x148]
push ecx
call fcn.004d4838
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [ebx + 0x238], eax
inc esi
cmp esi, dword [ebx + 0x20]
jb 0x4b955b
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0xc]
push ecx
push ebx
call fcn.004b90c8
add esp, 0xc
test eax, eax
je 0x4b9614
push 0
push 0
push str.hb_cdxSortOut:_memory_structure_corrupted_2_.
push 0x245a
call fcn.00461a10
add esp, 0x10
cmp dword [ebx + 0x40], 0
jne 0x4b963b
push 0
push 0
push dword [ebx]
call fcn.004af98f
add esp, 0xc
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x40]
mov byte [eax + 0xc], 2
push dword [ebx + 0x40]
call fcn.004aefae
pop ecx
xor esi, esi
mov edi, 1
lea eax, [esi + 1]
cmp eax, 0x40
je 0x4b9651
cmp dword [ebx + esi*4 + 0x44], 0
jne 0x4b9668
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 0x4b9688
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.004b8a9b
add esp, 0x14
push 1
push dword [ebx + esi*4 + 0x40]
call fcn.004afad9
add esp, 8
inc esi
test edi, edi
jne 0x4b9642
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret