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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bfedd
sub esp, 0x60
mov eax, dword [esp + 0x68]
cmp eax, 1
jg 0x4bfe1a
test eax, eax
je 0x4bfe06
cmp eax, 1
je 0x4bfdf1
lea ecx, [eax - 1]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x74]
mov ebx, ecx
imul ecx, edx
mov ebp, dword [esp + 0x64]
xor esi, esi
cmp esi, eax
jge 0x4bfc31
jae 0x4bfdea
lea edi, [esi + 1]
mov dword [esp + 0x38], edi
shl esi, 3
mov edi, dword [ebp + esi + 4]
add ecx, edi
mov edi, dword [esp + 0x38]
mov esi, edi
cmp esi, eax
jl 0x4bfc11
lea esi, [0x60ce40]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00437130
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x68]
test ebx, ebx
jbe 0x4bfde3
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx]
cmp eax, ebp
jle 0x4bfddc
mov dword [esp + 0x3c], ebp
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0044a7d0
mov eax, dword [esp + 0x6c]
add eax, 0xfffffffe
sar eax, 0x1f
xor eax, 0xffffffff
and eax, 8
mov ecx, dword [esp + 0x64]
lea eax, [ecx + eax]
xor ecx, ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x50]
cmp ecx, ebx
jge 0x4bfda4
mov ebp, dword [eax + 4]
mov dword [esp + 0x34], ebp
mov esi, dword [eax]
mov dword [esp + 0x54], esi
mov edi, dword [esp + 0x40]
cmp edx, edi
ja 0x4bfd9d
sub edi, edx
mov ebx, dword [esp + 0x44]
sub ebx, edx
dec ebx
sar ebx, 0x1f
xor ebx, 0xffffffff
and ebx, edx
mov ecx, dword [esp + 0x58]
add ebx, ecx
mov eax, dword [esp + 0x74]
cmp edi, eax
jle 0x4bfd92
mov edi, eax
mov dword [esp + 0x48], eax
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0044a7d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
ja 0x4bfd8b
mov edx, ecx
sub ecx, eax
mov ebx, dword [esp + 0x44]
mov ebp, ebx
sub ebx, eax
dec ebx
sar ebx, 0x1f
xor ebx, 0xffffffff
and ebx, eax
mov esi, dword [esp + 0x58]
add ebx, esi
mov edi, dword [esp + 0x34]
cmp ecx, edi
jle 0x4bfd87
mov dword [esp + 0x48], edi
mov dword [esp], ebx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.0044a7d0
mov eax, dword [esp + 0x5c]
add eax, 8
mov ecx, dword [esp + 0x4c]
inc ecx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add edx, ebx
jmp 0x4bfcad
mov edi, ecx
jmp 0x4bfd54
call fcn.004246c0
ud2
mov eax, edi
mov edi, dword [esp + 0x74]
jmp 0x4bfd03
call fcn.004246c0
ud2
mov dword [esp], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
call fcn.0043a6b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov ebp, eax
jmp 0x4bfc7c
call fcn.00424660
ud2
call fcn.00424660
ud2
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x60
ret
cmp eax, 2
je 0x4bfe8e
cmp eax, 3
je 0x4bfe29
jmp 0x4bfbf7
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.0043a650
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
call fcn.0043a590
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
call fcn.00448420
jmp fcn.004bfbc0