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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011dea3
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ecx + 0x90]
lea edx, [eax - 1]
cmp dword [ebp + 8], edx
jne 0x100bbc9b
mov edx, dword [ecx + 0x94]
mov esi, dword [ecx + 0x88]
mov ecx, dword [ecx + 0x8c]
add eax, 0xffffffff
imul edx
sub esi, eax
sbb ecx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], esi
jmp 0x100bbca7
mov eax, dword [ecx + 0x94]
mov dword [esp + 0x14], eax
mov esi, eax
movzx ecx, byte [ebx + 0x4ef]
and ecx, 0x1f
mov edi, 1
shl edi, cl
push 0x10
lea eax, [edi + esi - 1]
cdq
idiv edi
mov dword [esp + 0x24], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
xor eax, eax
cmp edi, eax
mov dword [esp + 0x70], eax
je 0x100bbcf7
mov byte [esp + 0x1c], al
mov ecx, dword [esp + 0x1c]
push ecx
push eax
lea ecx, [edi + 4]
mov dword [edi], eax
call fcn.100605e0
mov dword [esp + 0x10], edi
jmp 0x100bbcfd
mov dword [esp + 0x10], eax
mov edi, eax
push 0x10154c20
push esi
mov dword [esp + 0x78], 0xffffffff
call fcn.1010e07d
add esp, 8
call fcn.10060330
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
mov dword [edi + 8], ecx
mov byte [edi + 0xc], cl
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
jle 0x100bbe66
mov dword [esp + 0x30], ecx
lea ecx, [ebx + 0x1c]
mov dword [esp + 0x2c], 0x100bc480
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
jmp 0x100bbd56
mov esi, dword [esp + 0x14]
mov ebx, eax
movzx ecx, byte [ebx + 0x4ef]
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov ecx, esi
sub ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
cmp eax, ecx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
jl 0x100bbd81
lea eax, [esp + 0x24]
mov esi, dword [eax]
mov ebx, dword [esp + 0x28]
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x44], esp
sub esp, 8
mov dword [esp + 0x4c], esp
mov edi, esp
mov dword [esp + 0x68], esi
mov dword [esp + 0x4c], eax
call fcn.100d2250
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [esp + 0x70]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
movzx edx, byte [0x10155709]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
movzx eax, byte [0x1015570d]
push edx
push eax
mov eax, dword [esp + 0x6c]
push eax
call fcn.100d52e0
add esp, 0x2c
lea edi, [esp + 0x64]
call fcn.100d5440
mov ecx, dword [esp + 0x18]
push 0
mov edx, edi
mov ebx, 1
push 0
mov dword [esp + 0x78], ebx
mov esi, dword [ecx + 0xa8]
push edx
lea edi, [esp + 0x44]
call fcn.100b12c0
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100bbe3f
test bl, al
jne 0x100bbe3f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x100bbe3f
lea ecx, [esp + 0x4c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, dword [esp + 0x10]
add dword [eax + 8], ebx
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 0x4ef]
and ecx, 0x1f
mov edx, ebx
shl edx, cl
add dword [esp + 0x3c], edx
sub dword [esp + 0x1c], ebx
jne 0x100bbd50
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4