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

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
add ecx, 0xfffffffc
add ecx, dword [esp + 0x68]
cmp dword [esp + 0x68], 4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], ecx
ja 0x101100ec
mov eax, 0xffffffba
add esp, 0x60
ret 0x2c
mov eax, dword [esp + 0x70]
push ebx
push ebp
mov ebp, dword [esp + 0x90]
push esi
push edi
movzx eax, byte [eax + ebp - 1]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x54]
push eax
call fcn.1010acf0
mov eax, dword [esp + 0x88]
movzx eax, byte [eax + ebp - 1]
push eax
push dword [esp + 0x88]
lea eax, [esp + 0x34]
push eax
call fcn.1010acf0
mov esi, dword [esp + 0x90]
movzx eax, byte [esi + ebp - 1]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x44]
push eax
call fcn.1010acf0
movzx eax, byte [esi + ebp - 1]
mov edx, dword [esp + 0x80]
movzx ebx, byte [eax + 0x100100e4]
mov eax, dword [esp + 0x94]
mov esi, ebx
movzx edi, word [eax + ebp*8 - 4]
lea ecx, [eax + ebp*8]
mov eax, dword [esp + 0x74]
and edi, dword [ebx*4 + 0x10010038]
shr esi, 3
mov dword [esp + 0x78], ecx
mov dword [eax], edi
lea ebp, [esi + eax]
mov eax, dword [esp + 0x98]
cmp ebp, dword [esp + 0x6c]
cmova ebp, dword [esp + 0x6c]
and ebx, 7
movzx eax, byte [edx + eax - 1]
movzx edx, byte [eax + 0x10010154]
movzx eax, word [ecx - 2]
mov ecx, dword [edx*4 + 0x10010038]
and ecx, eax
mov dword [esp + 0x74], ecx
mov ecx, ebx
mov eax, dword [esp + 0x74]
shl eax, cl
lea ecx, [esi*8]
shr edi, cl
lea esi, [edx + ebx]
mov ebx, dword [esp + 0x6c]
or eax, edi
mov edi, dword [esp + 0x88]
mov ecx, esi
shr ecx, 3
mov dword [ebp], eax
add ebp, ecx
cmp ebp, ebx
cmova ebp, ebx
shl ecx, 3
shr eax, cl
and esi, 7
cmp dword [esp + 0x9c], 0
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x74], eax
movzx edx, byte [edi + ecx - 1]
mov dword [esp + 0x7c], edx
je 0x1011027f
mov eax, 0x18
cmp edx, eax
cmovb eax, edx
mov dword [esp + 0x7c], eax
sub edx, eax
je 0x10110254
mov ecx, dword [esp + 0x78]
mov eax, dword [edx*4 + 0x10010038]
and eax, dword [ecx - 8]
mov ecx, esi
shl eax, cl
add esi, edx
or eax, dword [esp + 0x74]
mov ecx, esi
shr ecx, 3
mov edi, eax
mov dword [ebp], eax
add ebp, ecx
cmp ebp, ebx
cmova ebp, ebx
shl ecx, 3
shr edi, cl
and esi, 7
jmp 0x10110258
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, edx
mov edx, dword [esp + 0x7c]
mov eax, dword [eax - 8]
mov edx, dword [edx*4 + 0x10010038]
shr eax, cl
mov ecx, esi
and edx, eax
shl edx, cl
or edx, edi
mov edi, dword [esp + 0x88]
jmp 0x10110293
mov ecx, dword [esp + 0x78]
mov edx, dword [edx*4 + 0x10010038]
and edx, dword [ecx - 8]
mov ecx, esi
shl edx, cl
or edx, eax
add esi, dword [esp + 0x7c]
mov ecx, esi
mov dword [ebp], edx
shr ecx, 3
add ebp, ecx
cmp ebp, ebx
cmova ebp, ebx
shl ecx, 3
shr edx, cl
and esi, 7
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x18], edx
lea eax, [ecx - 2]
mov dword [esp + 0x74], eax
cmp eax, ecx
jae 0x10110615
mov ebx, dword [esp + 0x90]
lea ecx, [eax + edi]
sub dword [esp + 0x80], edi
sub ebx, edi
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x2c]
add eax, 6
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], eax
nop dword [eax]
movzx ebx, byte [ebx + ecx]
movzx ebp, byte [ecx]
mov dword [esp + 0x14], ebp
movzx eax, byte [ebx + 0x100100e4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
movzx eax, byte [eax + ecx]
movzx ecx, byte [eax + 0x10010154]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + ebp*8 + 4]
add ecx, edi
shr ecx, 0x10
mov edx, dword [ecx*4 + 0x10010038]
and edx, edi
lea edi, [ecx + esi]
mov esi, dword [esp + 0x7c]
sar esi, cl
mov ecx, dword [esp + 0x34]
add esi, dword [ecx + ebp*8]
mov ecx, dword [esp + 0x30]
movzx esi, word [ecx + esi*2]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x7c], esi
mov esi, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, edi
add eax, dword [esp + 0x78]
shr eax, 0x10
add edi, eax
mov ebp, dword [eax*4 + 0x10010038]
and ebp, dword [esp + 0x78]
shl ebp, cl
mov ecx, dword [esp + 0x8c]
shl edx, cl
mov ecx, eax
mov eax, dword [esp + 0x78]
or ebp, edx
mov edx, dword [esp + 0x88]
or ebp, dword [esp + 0x18]
sar eax, cl
mov ecx, dword [esp + 0x50]
add eax, esi
movzx eax, word [ecx + eax*2]
mov ecx, edi
mov dword [edx], ebp
shr ecx, 3
add edx, ecx
mov dword [esp + 0x78], eax
cmp edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x44]
cmova edx, dword [esp + 0x6c]
and edi, 7
mov dword [esp + 0x88], edx
shl ecx, 3
mov edx, dword [eax + ebx*8 + 4]
add edx, dword [esp + 0x84]
shr edx, 0x10
shr ebp, cl
mov ecx, edi
mov eax, dword [edx*4 + 0x10010038]
lea esi, [edi + edx]
and eax, dword [esp + 0x84]
shl eax, cl
mov ecx, edx
or ebp, eax
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x84]
mov edx, esi
sar eax, cl
mov ecx, dword [esp + 0x44]
shr edx, 3
add eax, dword [ecx + ebx*8]
mov ecx, dword [esp + 0x40]
movzx eax, word [ecx + eax*2]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
mov dword [eax], ebp
add eax, edx
cmp eax, edi
cmova eax, edi
mov ebx, dword [esp + 0x24]
and esi, 7
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x74]
shl eax, 3
mov ecx, dword [ebx*4 + 0x10010038]
mov dword [esp + 0x28], eax
add eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
movzx eax, word [eax - 2]
and ecx, eax
mov dword [esp + 0x8c], ecx
mov ecx, esi
mov eax, dword [esp + 0x8c]
shl eax, cl
lea ecx, [edx*8]
shr ebp, cl
lea edx, [esi + ebx]
mov esi, dword [esp + 0x10]
or eax, ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x8c], eax
lea eax, [esi + ebx]
mov ebx, dword [esp + 0x8c]
cmp eax, 0x18
jbe 0x101104d7
mov ecx, edx
mov dword [ebp], ebx
shr ecx, 3
add ebp, ecx
cmp ebp, edi
cmova ebp, edi
shl ecx, 3
and edx, 7
shr ebx, cl
mov eax, dword [esp + 0x18]
mov ecx, edx
mov esi, dword [esi*4 + 0x10010038]
movzx eax, word [eax]
and esi, eax
mov eax, dword [esp + 0x10]
shl esi, cl
add eax, edx
or esi, ebx
mov ecx, eax
mov ebx, dword [esp + 0x14]
shr ecx, 3
mov dword [ebp], esi
add ebp, ecx
cmp ebp, edi
cmova ebp, edi
shl ecx, 3
and eax, 7
shr esi, cl
cmp dword [esp + 0x9c], 0
je 0x1011059a
mov ecx, 0x18
cmp ebx, ecx
cmovb ecx, ebx
mov dword [esp + 0x88], ecx
sub ebx, ecx
je 0x1011056f
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x94]
mov edx, dword [ebx*4 + 0x10010038]
and edx, dword [edi + ecx*8]
mov ecx, eax
mov edi, dword [esp + 0x6c]
add eax, ebx
shl edx, cl
or esi, edx
mov edx, eax
shr edx, 3
mov dword [ebp], esi
add ebp, edx
mov ecx, ebp
cmp ecx, edi
lea ecx, [edx*8]
cmova ebp, edi
shr esi, cl
and eax, 7
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x94]
mov edx, dword [edx + ecx*8]
mov ecx, ebx
mov ebx, dword [esp + 0x88]
shr edx, cl
mov ecx, eax
and edx, dword [ebx*4 + 0x10010038]
shl edx, cl
or edx, esi
lea esi, [ebx + eax]
jmp 0x101105bc
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x28]
mov edx, dword [ebx*4 + 0x10010038]
and edx, dword [edi + ecx]
mov ecx, eax
mov edi, dword [esp + 0x6c]
shl edx, cl
or edx, esi
lea esi, [eax + ebx]
mov eax, dword [esp + 0x74]
mov ecx, esi
mov ebx, dword [esp + 0x90]
shr ecx, 3
mov dword [ebp], edx
add ebp, ecx
cmp ebp, edi
cmova ebp, edi
mov edi, dword [esp + 0x7c]
shl ecx, 3
dec eax
shr edx, cl
and esi, 7
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x98]
jb 0x10110320
mov ebx, dword [esp + 0x6c]
jmp 0x10110630
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov ecx, esi
add esi, eax
mov edi, dword [eax*4 + 0x10010038]
and edi, dword [esp + 0x78]
shl edi, cl
mov ecx, esi
shr ecx, 3
or edi, edx
mov edx, dword [esp + 0x38]
mov dword [ebp], edi
add ebp, ecx
cmp ebp, ebx
mov eax, dword [edx*4 + 0x10010038]
cmova ebp, ebx
and eax, dword [esp + 0x7c]
and esi, 7
shl ecx, 3
shr edi, cl
mov ecx, esi
shl eax, cl
add esi, edx
mov edx, dword [esp + 0x48]
or edi, eax
mov dword [ebp], edi
mov ecx, esi
shr ecx, 3
add ebp, ecx
mov eax, dword [edx*4 + 0x10010038]
cmp ebp, ebx
cmova ebp, ebx
and eax, dword [esp + 0x84]
shl ecx, 3
and esi, 7
shr edi, cl
mov ecx, esi
shl eax, cl
or edi, eax
lea eax, [esi + edx]
mov dword [ebp], edi
mov ecx, eax
shr ecx, 3
add ebp, ecx
cmp ebp, ebx
cmova ebp, ebx
and eax, 7
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
shl ecx, 3
shr edi, cl
push eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x60], edi
call fcn.1010fe60
pop edi
pop esi
test eax, eax
mov ecx, 0xffffffba
pop ebp
cmove eax, ecx
pop ebx
add esp, 0x60
ret 0x2c