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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, ecx
mov byte [esp + 3], 0
push ebx
xor ecx, ecx
mov dword [esp + 0x10], eax
push esi
mov ebx, dword [eax + 8]
push edi
mov dword [esp + 0x50], ecx
mov edi, edx
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x54], ecx
cmp dword [ebx + 0x70], ecx
jg 0x101aeecd
push 0
push 0
push 0
mov edx, 0xe
mov ecx, ebx
call fcn.10210d20
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x101aef00
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [edi + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
movlpd qword [esp + 0x58], xmm0
mov eax, dword [edx + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc]
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*2]
mov edi, dword [edi + 0x50]
shl eax, 4
add eax, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
cmp esi, eax
jae 0x101af120
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
nop dword [eax]
test byte [esi + 0xa], 2
mov edi, dword [esi]
jne 0x101aefdd
mov cl, byte [edx + 0x24]
test cl, 0x40
jne 0x101aefdd
mov eax, dword [edi + 4]
and eax, 1
test cl, 8
je 0x101aef7d
test eax, eax
je 0x101aefdd
mov eax, dword [edx + 0x2c]
cmp dword [edi + 0x24], eax
jne 0x101aefdd
jmp 0x101aef84
test eax, eax
jne 0x101aefdd
mov eax, dword [edx + 0x2c]
mov ecx, 3
mov dword [esp + 0x68], fcn.101f6450
mov word [esp + 0x78], cx
mov edx, edi
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], 0x101f66f0
mov dword [esp + 0x7c], eax
call fcn.101fc670
movzx eax, word [esp + 0x78]
test eax, eax
je 0x101aefda
mov edx, edi
mov edi, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [edi]
call fcn.101f7650
mov edx, dword [esp + 0x38]
mov ecx, edi
push eax
call fcn.101f7ef0
add esp, 0xc
mov dword [esp + 0x30], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2c]
cmp dword [esi + 0x14], ecx
jne 0x101af105
test byte [esi + 0xc], 0x82
je 0x101af105
test byte [edx + 0x24], 0x58
je 0x101af00e
mov eax, dword [esi]
test byte [eax + 4], 3
je 0x101af105
cmp dword [eax + 0x24], ecx
jne 0x101af105
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x101af105
mov ecx, dword [esi + 0x18]
test ecx, ecx
js 0x101af105
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 8]
mov ecx, dword [esi]
call fcn.101f8fc0
test eax, eax
je 0x101af102
mov edx, dword [esi + 0x18]
xor edi, edi
cmp edx, 0x40
jl 0x101af05c
mov dword [esp + 0x40], accept
jmp 0x101af075
mov eax, edx
xor ecx, ecx
bts edi, eax
cmp eax, 0x20
cmovae ecx, edi
xor edi, ecx
cmp eax, 0x40
cmovae ecx, edi
mov dword [esp + 0x40], ecx
cmp byte [esp + 0xf], 0
jne 0x101af0a1
mov ecx, dword [esp + 0x3c]
add edx, edx
mov eax, dword [ecx + 4]
push dword [eax + edx*8]
push dword [ecx]
push str.automatic_index_on__s__s_
push 0x11c
call sym.WMCommon.dll_sqlite3_log
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x40]
mov ecx, edi
and ecx, dword [esp + 0x24]
and eax, dword [esp + 0x14]
or ecx, eax
jne 0x101af102
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.101adf30
add esp, 4
test eax, eax
jne 0x101afa27
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
or dword [esp + 0x24], edi
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x38]
or edi, dword [esp + 0x40]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], edi
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
jmp 0x101af10d
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0x30
cmp esi, dword [esp + 0x1c]
jb 0x101aef50
mov esi, dword [esp + 0x24]
jmp 0x101af128
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
movzx eax, cx
not edi
mov ecx, dword [esp + 0x28]
or edi, 0x80000000
not esi
mov word [ecx + 0x30], ax
mov word [ecx + 0x18], ax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x2c], 0x4241
mov ecx, dword [edx + 0x38]
and esi, ecx
and edi, dword [edx + 0x3c]
mov dword [esp + 0x24], esi
mov esi, 0x3f
mov dword [esp + 0x14], edi
movzx edi, word [eax + 0x22]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edi
movzx eax, di
cmp si, di
jge 0x101af17b
mov dword [esp + 0x38], esi
jmp 0x101af189
movsx esi, di
mov dword [esp + 0x38], esi
xor esi, esi
cmp si, ax
jge 0x101af1cc
mov ebx, dword [esp + 0x38]
xor esi, esi
mov edi, dword [esp + 0x14]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, edi
or edx, ecx
je 0x101af1b8
inc dword [esp + 0x10]
inc esi
cmp esi, ebx
jl 0x101af193
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
jg 0x101af1e8
jl 0x101af1d8
test ecx, ecx
jae 0x101af1e8
mov ecx, dword [esp + 0x10]
movsx eax, di
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x58]
mov esi, dword [esp + 0x18]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [esi]
call fcn.101e36f0
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x101afa2b
mov ecx, dword [esp + 0x28]
xor edi, edi
mov esi, dword [esp + 0x4c]
xorps xmm0, xmm0
mov dword [esp + 0x40], edi
movlpd qword [esp + 0x58], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov esi, dword [esi + 0x18]
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x1c]
jae 0x101af3a1
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0x2c]
cmp dword [esi + 0x14], ecx
jne 0x101af38a
test byte [esi + 0xc], 0x82
je 0x101af38a
test byte [edx + 0x24], 0x58
je 0x101af294
mov eax, dword [esi]
test byte [eax + 4], 3
je 0x101af386
cmp dword [eax + 0x24], ecx
jne 0x101af386
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x101af386
mov ecx, dword [esi + 0x18]
test ecx, ecx
js 0x101af386
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 8]
mov ecx, dword [esi]
call fcn.101f8fc0
test eax, eax
je 0x101af383
mov eax, dword [esi + 0x18]
xor edx, edx
movzx ecx, ax
mov dword [esp + 0x58], ecx
cmp eax, 0x40
jl 0x101af2e6
mov esi, accept
jmp 0x101af2f9
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
mov ecx, edx
mov eax, esi
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x44]
or ecx, eax
jne 0x101af37f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
or dword [esp + 0x40], edx
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov ecx, dword [ecx]
or dword [esp + 0x44], esi
mov word [eax + edi*2], dx
test dword [ecx + 4], 0x400
je 0x101af337
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
jmp 0x101af33d
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
test dword [edx + 4], 0x200
jne 0x101af360
test esi, esi
je 0x101af353
test dword [esi + 4], 0x200
jne 0x101af35e
mov ecx, ebx
call fcn.101f9140
test eax, eax
jne 0x101af36b
mov edx, esi
mov ecx, ebx
call fcn.101f9140
test eax, eax
je 0x101af36f
mov ecx, dword [eax]
jmp 0x101af374
mov ecx, 0x1025cd44
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x20]
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
add esi, 0x30
mov dword [esp + 0x34], esi
cmp esi, eax
jb 0x101af263
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], edi
xor esi, esi
cmp dword [esp + 0x38], esi
jle 0x101af3f4
mov ebx, dword [esp + 0x20]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, dword [esp + 0x14]
or edx, ecx
je 0x101af3e5
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x1025cd44
inc edi
inc esi
cmp esi, dword [esp + 0x38]
jl 0x101af3b0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], edi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x101af441
jl 0x101af405
cmp dword [eax + 0x38], 0
jae 0x101af441
mov esi, dword [esp + 0x3c]
mov eax, 0x3f
mov edx, dword [esp + 0x20]
cmp ax, word [esi + 0x22]
jge 0x101af445
mov ecx, eax
nop word [eax + eax]
mov eax, dword [edx + 4]
mov word [eax + edi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + edi*4], 0x1025cd44
inc edi
movsx eax, word [esi + 0x22]
cmp ecx, eax
jl 0x101af420
mov dword [esp + 0x40], edi
jmp 0x101af445
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
inc edx
mov dword [eax + edi*4], 0x1025cd44
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
inc dword [edi + 0x28]
mov esi, dword [ecx + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x101af48e
push 0
push edx
push esi
mov edx, 0x74
mov ecx, ebx
call fcn.10210d20
add esp, 0xc
jmp 0x101af4bd
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x20]
mov ecx, edi
mov esi, dword [edi + 8]
call fcn.101e0e90
mov edx, eax
test edx, edx
je 0x101af4fb
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x101af4e9
push edx
mov edx, 0xfffffff8
call fcn.1020ff90
add esp, 4
jmp 0x101af4fb
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [edi]
test dword [eax + 0x50], 0x80000
jne 0x101af563
mov edx, dword [edi + 0x2c]
mov eax, dword [ebp + 0x14]
inc edx
mov dword [edi + 0x2c], edx
mov dword [eax + 0x34], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x101af534
push 0
push edx
push 0x2710
mov edx, 0x4d
mov ecx, ebx
call fcn.10210d20
add esp, 0xc
jmp 0x101af563
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], 0x2710
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0x3c]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x20
lea esi, [eax + ecx*8]
mov dword [esp + 0x4c], esi
je 0x101af68c
mov ecx, dword [ebx + 0x6c]
mov edi, dword [esi + 0x24]
mov dword [esp + 0x48], ecx
cmp dword [ebx + 0x70], ecx
jg 0x101af5b2
push 0
push 0
push 0
mov edx, 0x47
mov ecx, ebx
call fcn.10210d20
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x101af5e5
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esi + 0x20]
cmp dword [ebx + 0x70], ecx
jg 0x101af605
push edx
push 0
push edi
mov edx, 0xa
mov ecx, ebx
call fcn.10210d20
add esp, 0xc
jmp 0x101af630
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x101af657
push 0
push 0
push edi
mov edx, 0xb
mov ecx, ebx
call fcn.10210d20
mov edi, dword [esp + 0x24]
add esp, 0xc
mov esi, eax
jmp 0x101af6e2
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x101af6e2
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x101af6af
push 0
push 0
push edx
mov edx, 0x23
mov ecx, ebx
call fcn.10210d20
add esp, 0xc
mov esi, eax
jmp 0x101af6e2
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x23
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x101af70c
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
push 0x10
push ecx
push eax
push edi
mov dword [esp + 0x60], ecx
call fcn.101f1020
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x2c], 0x20000
mov al, byte [edi + 0x13]
test al, al
jne 0x101af71b
inc dword [edi + 0x2c]
mov edi, dword [edi + 0x2c]
jmp 0x101af72a
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edi, dword [edi + eax*4 + 0x98]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push edi
push dword [eax + 4]
mov dword [esp + 0x3c], edi
call fcn.101dea20
mov dword [esp + 0x5c], eax
add esp, 0x18
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x58], eax
test eax, eax
je 0x101af7e3
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 0x6c]
movzx ecx, word [ecx + 0x18]
mov dword [esp + 0x3c], ecx
cmp dword [ebx + 0x70], edx
jg 0x101af791
push dword [esp + 0x44]
mov edx, 0xb4
mov ecx, ebx
push 0
push eax
call fcn.10210d20
add esp, 0xc
mov edx, eax
jmp 0x101af7c8
mov edi, dword [esp + 0x58]
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xb4
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne 0x101af7e3
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x3c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebx + 0x6c]
mov edx, dword [eax + 8]
cmp dword [ebx + 0x70], ecx
jg 0x101af806
push 0
push edi
push edx
mov edx, 0x8a
mov ecx, ebx
call fcn.10210d20
add esp, 0xc
jmp 0x101af835
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jle 0x101af84f
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [esp + 0x30], 0
je 0x101af880
mov edi, dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [edi + 0x3c]
add eax, dword [edi + 0x38]
jns 0x101af876
push edx
mov edx, ebx
mov ecx, edi
call fcn.102104a0
add esp, 4
jmp 0x101af87c
mov eax, dword [edi + 0x40]
mov dword [eax + edx*4], ecx
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
test byte [edx + 0x30], 0x20
je 0x101af941
mov ecx, dword [esp + 0x48]
test ecx, ecx
jns 0x101af89a
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x101af8a9
mov ecx, 0x103210d8
jmp 0x101af8b2
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x44]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [eax + 8]
push dword [edx + 0x28]
mov edx, esi
push dword [eax + 4]
call fcn.101afab0
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x101af904
push 0
push esi
push 0
mov edx, 8
mov ecx, ebx
call fcn.10210d20
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edi, dword [esp + 0x24]
and dword [ecx + 0x30], 0xffffffdf
jmp 0x101af9b5
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 8
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
and dword [ecx + 0x30], 0xffffffdf
jmp 0x101af9b5
mov eax, dword [ebp + 0x14]
lea edx, [esi + 1]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
cmp dword [ebx + 0x70], ecx
jg 0x101af96b
push 0
push edx
push eax
mov edx, 0x26
mov ecx, ebx
call fcn.10210d20
add esp, 0xc
jmp 0x101af99e
mov edi, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x101af9b5
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x101af9c7
mov eax, 0x103210d8
jmp 0x101af9d8
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x18]
mov dword [eax + 8], edx
test edi, edi
je 0x101af9f7
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x101af9f7
movzx eax, al
mov dword [esi + eax*4 + 0x98], edi
inc byte [esi + 0x13]
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x101afa0c
mov eax, 0x103210d8
mov dword [eax + 8], edx
jmp 0x101afa2b
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x101afa2b
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x101afa3c
mov ecx, dword [esi]
mov edx, eax
call fcn.101f7b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret