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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x103b9004]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], ecx
test edi, edi
je 0x10119dde
test eax, eax
je 0x10119dde
mov ebx, dword [eax + 0x10]
xor ecx, ecx
mov edx, dword [eax + 0x14]
xor esi, esi
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
cmp ax, word [edi]
jge 0x10119d7a
nop
mov eax, dword [edi + 0xc]
movsx esi, word [eax + esi*2]
mov dword [esp + 0x30], esi
test esi, esi
js 0x10119dc7
mov eax, dword [edi + 4]
lea edi, [eax + esi*8]
lea esi, [eax + ecx*8]
mov dword [esp + 0x18], edi
mov eax, dword [esi]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov ecx, ebx
shl eax, cl
sub eax, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
shl eax, cl
sub eax, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov edi, dword [edi + 4]
shl eax, cl
sub eax, edx
shl edi, cl
mov ecx, dword [esp + 0x40]
sub edi, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov edx, dword [edx + 8]
mov eax, dword [esp + 0x28]
add edi, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
movsx eax, byte [edi]
and eax, 3
cmp eax, 2
je 0x10119dc7
test eax, eax
jne 0x10119b20
mov eax, dword [esp + 0x30]
mov al, byte [edx + eax]
and al, 3
cmp al, 1
mov eax, dword [esp + 0x20]
jne 0x10119b00
sub dword [esp + 0x18], 8
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
jmp 0x10119b18
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
sub esi, 8
mov dword [esp + 0x48], eax
dec edi
push dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x10119de3
mov ecx, dword [esp + 0x18]
cmp esi, ecx
jae 0x10119d34
movsx eax, byte [edi + 1]
inc edi
and eax, 3
add esi, 8
sub eax, 0
je 0x10119c3c
sub eax, 1
je 0x10119bff
lea eax, [esi + 8]
cmp eax, ecx
ja 0x10119dc7
mov al, byte [edi + 1]
and al, 3
cmp al, 2
jne 0x10119dc7
mov eax, dword [esi]
add esi, 0x10
mov edx, dword [esp + 0x1c]
mov ecx, ebx
shl eax, cl
add edi, 2
sub eax, edx
push dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [esi - 0xc]
shl eax, cl
sub eax, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esi - 8]
shl eax, cl
sub eax, edx
mov dword [esp + 0x60], eax
mov eax, dword [esi - 4]
shl eax, cl
sub eax, edx
mov dword [esp + 0x64], eax
cmp esi, dword [esp + 0x1c]
ja 0x10119d8e
mov eax, dword [esi]
shl eax, cl
sub eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esi + 4]
shl eax, cl
sub eax, edx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
test eax, eax
jne 0x10119de3
jmp 0x10119d28
mov eax, dword [esi]
mov ecx, ebx
push dword [esp + 0x10]
shl eax, cl
sub eax, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 4]
shl eax, cl
sub eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x10119de3
jmp 0x10119d28
mov ebx, dword [esi]
mov ecx, dword [esp + 0x2c]
shl ebx, cl
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov eax, dword [esi + 4]
shl eax, cl
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], eax
nop dword [eax]
cmp esi, dword [esp + 0x18]
jae 0x10119dab
movsx edx, byte [edi + 1]
inc edi
mov eax, dword [esi + 8]
add esi, 8
mov dword [esp + 0x20], edi
and edx, 3
shl eax, cl
sub eax, dword [esp + 0x1c]
mov edi, dword [esi + 4]
shl edi, cl
sub edi, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edi
cmp edx, 1
je 0x10119cfe
test edx, edx
jne 0x10119dc7
push dword [esp + 0x10]
add eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
add eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x10119de3
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebx
jmp 0x10119c55
push dword [esp + 0x10]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x10119de3
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cmp esi, ecx
jb 0x10119b48
push dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x10119de3
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
inc esi
mov ebx, dword [esp + 0x2c]
inc ecx
movsx eax, word [edi]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
cmp esi, eax
jl 0x10119a50
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
jmp 0x10119d49
push dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
jmp 0x10119d49
mov eax, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
mov eax, 6
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret