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

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x7c], eax
inc eax
mov ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
inc ecx
mov dword [esp + 0x40], ecx
push ebx
push ebp
lea ebx, [ecx + 1]
mov byte [esp + 0x1c], 1
add ecx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x4c], ecx
inc ecx
mov dword [esp + 0x44], ecx
inc ecx
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x68], ecx
inc ecx
mov dword [esp + 0x64], ecx
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [edi + 0x2c]
cmp eax, ecx
mov ebp, dword [edi + 8]
mov edx, dword [edi]
cmovle eax, ecx
mov dword [esp + 0x28], edx
mov dword [edi + 0x2c], eax
test ebp, ebp
je 0x1001b5fc
mov dword [esp + 0x1c], ebp
jmp 0x1001b623
cmp dword [edi + 0x78], 0
jne 0x1001b60c
test byte [edx + 0x50], 8
jne 0x1001b60c
mov byte [edi + 0x17], 1
push edi
call fcn.1007aff0
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x1001c38f
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x1001c38f
cmp byte [edx + 0x2b], 0
jne 0x1001c38f
mov eax, dword [edx]
test eax, eax
je 0x1001b660
push 0x5c
push 0x100aea44
push eax
push str.sqlite__
call fcn.1003ec90
add esp, 0x10
test eax, eax
je 0x1001c38f
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx + 0x3c]
push esi
mov esi, 0xffff8000
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x1001b691
mov eax, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x3c], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1001b691
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x1001b685
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x2c]
mov ecx, esi
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push 0
push dword [edx]
push 0x1c
push edi
call fcn.1004a610
add esp, 0x14
test eax, eax
jne 0x1001c38e
mov eax, dword [esp + 0x80]
push dword [eax]
push 0
push dword [eax + 0x14]
push esi
push edi
call fcn.100765a0
mov eax, dword [esp + 0xa4]
mov edx, eax
inc eax
mov dword [esp + 0x88], edx
push 0x70
push dword [esp + 0x98]
mov dword [esp + 0xac], eax
lea ecx, [eax + 1]
mov eax, dword [edi + 0x28]
cmp eax, ecx
push esi
push edx
cmovle eax, ecx
push edi
mov dword [edi + 0x28], eax
call fcn.10066550
mov esi, dword [esp + 0xa8]
push dword [esi]
push dword [esp + 0x78]
push ebp
call fcn.10084ff0
mov edx, dword [esi + 8]
add esp, 0x34
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x1001c2fc
mov eax, dword [esp + 0x24]
test ecx, ecx
je 0x1001b73e
cmp ecx, edx
jne 0x1001c2e5
xor ecx, ecx
movzx eax, al
cmp dword [edx + 0x24], ecx
cmovne ecx, eax
test byte [esi + 0x1c], 0x80
mov dword [esp + 0x24], ecx
je 0x1001b766
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x1001b766
movzx ebx, word [edx + 0x32]
mov eax, esi
mov ecx, ebx
jmp 0x1001b778
test byte [edx + 0x38], 8
mov eax, edx
movzx ebx, word [edx + 0x34]
mov ecx, ebx
je 0x1001b778
movzx ecx, word [edx + 0x32]
mov eax, dword [eax]
lea esi, [ecx - 1]
push 0
push eax
push 0
push dword [esp + 0x78]
mov dword [esp + 0x50], esi
push 0
push 0x75
push ebp
call fcn.1007aa80
mov ecx, dword [esp + 0x4c]
add esp, 0x1c
mov eax, dword [edi + 0x2c]
add ecx, esi
mov edx, dword [esp + 0x1c]
cmp eax, ecx
cmovle eax, ecx
mov dword [edi + 0x2c], eax
lea eax, [ebp + 0x70]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x14], eax
cmp dword [eax], ecx
jg 0x1001b7e1
push dword [esp + 0x3c]
push edx
push dword [esp + 0x98]
push 0x70
push ebp
call fcn.10031c40
mov edx, dword [esp + 0x34]
add esp, 0x14
add edx, 0x68
mov dword [esp + 0x10], edx
jmp 0x1001b81d
mov edi, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
lea eax, [ebp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x1c]
mov edi, dword [edi + 8]
push dword [esp + 0x80]
call fcn.100649a0
mov edx, eax
add esp, 8
test edx, edx
je 0x1001b884
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x1001b868
cmp dword [eax + 0x210], 0
jne 0x1001b85b
add dword [edx], 0xffffffff
jne 0x1001b85b
push edx
push dword [edx + 0xc]
call fcn.10053e60
add esp, 8
mov edi, dword [esp + 0x20]
add edi, 0x68
mov dword [esp + 0x10], edi
jmp 0x1001b888
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
jmp 0x1001b888
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x1001b8a7
push 0
push dword [esp + 0x48]
push ebx
push 0x47
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001b8d5
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x6c]
movzx edx, word [eax + 0x32]
cmp dword [ebx], ecx
jg 0x1001b8fc
push 0
push dword [esp + 0x54]
push edx
push 0x47
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001b92e
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x64], ecx
cmp dword [ebx], ecx
jg 0x1001b95c
push 0
push 0
push dword [esp + 0x98]
push 0x24
push ebp
call fcn.10031c40
mov edx, dword [esp + 0xa4]
add esp, 0x14
mov dword [esp + 0x64], eax
jmp 0x1001b991
mov edx, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x24
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 ecx, dword [ebp + 0x6c]
cmp dword [ebx], ecx
jg 0x1001b9ac
push 1
push dword [esp + 0x1c]
push edx
push 0x62
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001b9de
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [eax + 0x1f0]
cmp dword [ebx], ecx
jg 0x1001ba03
push 0
push dword [esp + 0x58]
push edx
push 0x47
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001ba31
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x7c]
push 0
push 0x2c
push dword [eax]
mov edi, dword [eax + 8]
call fcn.10053d40
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1001bab4
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x94]
mov dword [ecx], 0
push dword [esp + 0x50]
mov dword [ecx + 4], 0x100ad3b8
push 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 4
mov eax, dword [edi + 0x6c]
push 0x42
push edi
mov dword [ecx + 0x10], eax
call fcn.1007aa80
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x1001baa0
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x7c]
mov ecx, edi
mov eax, dword [edi + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x1001bab8
mov edi, dword [esp + 0x7c]
mov ecx, dword [ebp + 0x6c]
cmp dword [ebx], ecx
jg 0x1001bad8
push 0
push dword [esp + 0x2c]
push 0
push 0x47
push ebp
call fcn.10031c40
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x1001bb0e
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x1001bea0
dec dword [edi + 0x38]
mov edi, dword [edi + 0x38]
shl eax, 2
push 0
push eax
push dword [esp + 0x34]
mov dword [esp + 0x6c], edi
call fcn.10053d40
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
je 0x1001c2cf
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [edx], ecx
jg 0x1001bb67
push 0
push 0
push 0
push 9
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001bb99
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 9
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
cmp dword [esp + 0x40], 1
mov ecx, dword [ebp + 0x6c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
jne 0x1001bc02
mov eax, dword [esp + 0x1c]
cmp word [eax + 0x32], 1
jne 0x1001bc02
cmp byte [eax + 0x36], 0
je 0x1001bc02
cmp dword [edx], ecx
jg 0x1001bbd4
push 0
push edi
push dword [esp + 0x38]
push 0x33
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001bc02
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x33
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
xor edi, edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + edi*4]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x70], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x54]
mov bl, byte [ecx + 0xb1]
mov byte [esp + 0x58], al
movzx eax, bl
push eax
push edx
push dword [esp + 0x60]
push ecx
call fcn.1005b470
add esp, 0x10
mov dword [esp + 0x5c], eax
test bl, bl
jne 0x1001bc65
test eax, eax
je 0x1001bc49
cmp dword [eax + 0xc], 0
jne 0x1001bc65
push dword [esp + 0x70]
push eax
push dword [esp + 0x60]
push dword [esp + 0x88]
call fcn.10060d30
add esp, 0x10
mov ebx, eax
jmp 0x1001bc69
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x1001bc88
push 0
push dword [esp + 0x2c]
push edi
push 0x47
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001bcba
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [esp + 0x10]
cmp dword [eax], ecx
jg 0x1001bce2
push dword [esp + 0x18]
push edi
push dword [esp + 0x98]
push 0x5e
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001bd13
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
push 0xfffffffffffffffe
push ebx
add eax, edi
push eax
push 0
push dword [esp + 0x28]
push 0x34
push ebp
call fcn.1007aa80
mov ecx, dword [esp + 0x64]
add esp, 0x1c
mov ebx, dword [esp + 0x10]
mov dword [ecx + edi*4], eax
mov eax, dword [ebp + 0x6c]
test eax, eax
jle 0x1001bd4f
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x40]
inc edi
cmp edi, edx
jl 0x1001bc04
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x1001bd7b
push 0
push dword [esp + 0x2c]
push edx
push 0x47
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001bda9
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x60]
push ebp
call fcn.10084800
mov eax, dword [ebp]
add esp, 8
mov edx, dword [ebp + 0x6c]
xor edi, edi
cmp byte [eax + 0x57], 0
je 0x1001bdcc
mov dword [0x100bdf38], edx
jmp 0x1001bdd9
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 - 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1001bdf4
mov eax, 0x100bdf30
jmp 0x1001be03
mov eax, dword [esp + 0x48]
mov eax, dword [eax + edi*4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x6c]
add edx, edi
cmp dword [eax], ecx
jg 0x1001be2d
push edx
push edi
push dword [esp + 0x98]
push 0x5e
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001be5e
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x90]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc edi
cmp edi, dword [esp + 0x40]
jl 0x1001bde1
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1001be87
push edx
push ebp
push ecx
call fcn.100430f0
add esp, 0xc
jmp 0x1001be90
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebp + 0x6c]
mov dword [ecx + edx*4], eax
push dword [esp + 0x48]
push dword [esp + 0x30]
call fcn.10053c30
add esp, 8
mov ebx, dword [esp + 0x7c]
push 0
push 0x24
push dword [ebx]
mov edi, dword [ebx + 8]
call fcn.10053d40
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1001bf1d
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x20]
mov dword [ecx], 0
push dword [esp + 0x98]
mov dword [ecx + 4], 0x100ad3e0
push 1
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 2
mov eax, dword [edi + 0x6c]
push 0x42
push edi
mov dword [ecx + 0x10], eax
call fcn.1007aa80
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x1001bf0f
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0x78]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 0x6c]
cmp dword [ecx + 0x1f0], 0
mov eax, dword [eax]
je 0x1001c0cd
cmp eax, edi
jg 0x1001bf56
push 0
push 0
push dword [esp + 0x20]
push 0x32
push ebp
call fcn.10031c40
mov edx, dword [esp + 0x24]
add esp, 0x14
mov edi, eax
jmp 0x1001bf8c
mov edx, dword [esp + 0x10]
lea eax, [edi + 1]
mov ebx, dword [esp + 0x18]
lea ecx, [edi + edi*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebx
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 + 0x14]
mov ebx, dword [ebp + 0x6c]
cmp dword [eax], ebx
jg 0x1001bfae
push 0
push 0
push dword [esp + 0x20]
push 0x10
push ebp
call fcn.10031c40
add esp, 0x14
mov ebx, eax
jmp 0x1001bfe0
lea eax, [ebx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x10
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
push 1
push dword [esp + 0x34]
push 0
push dword [esp + 0x9c]
push 0x18
push ebp
call fcn.1007ab00
mov ecx, dword [ebp]
add esp, 0x18
mov edx, dword [ebp + 0x6c]
mov dword [esp + 0x70], eax
cmp byte [ecx + 0x57], 0
je 0x1001c015
mov edi, dword [esp + 0x10]
mov ecx, 0x100bdf30
jmp 0x1001c021
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 8], edx
mov ecx, dword [ebp + 0x6c]
cmp dword [eax], ecx
jg 0x1001c04a
mov edx, dword [esp + 0x34]
push 0
push edx
push dword [esp + 0x98]
push 0x27
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001c07f
mov edx, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1001c092
mov eax, 0x100bdf30
jmp 0x1001c09a
mov eax, dword [edi]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1001c0b7
mov ebx, dword [esp + 0x10]
mov eax, 0x100bdf30
mov dword [eax + 8], edx
jmp 0x1001c129
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1001c129
cmp eax, edi
jg 0x1001c0f0
mov edx, dword [esp + 0x34]
push 0
push edx
push dword [esp + 0x98]
push 0x27
push ebp
call fcn.10031c40
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x1001c129
mov ebx, dword [esp + 0x10]
lea eax, [edi + 1]
mov edx, dword [esp + 0x90]
lea ecx, [edi + edi*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x7c]
push 0
push 0x20
push dword [eax]
mov edi, dword [eax + 8]
call fcn.10053d40
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1001c1a8
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x70]
mov dword [ecx], 0
push dword [esp + 0x98]
mov dword [ecx + 4], 0x100ad408
push 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 1
mov eax, dword [edi + 0x6c]
push 0x42
push edi
mov dword [ecx + 0x10], eax
call fcn.1007aa80
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x1001c198
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
push 0
push 0x100b5b64
push dword [esp + 0x20]
push 3
push dword [esp + 0x5c]
push 0x61
push ebp
call fcn.1007aa80
mov edi, dword [esp + 0x30]
add esp, 0x1c
mov ecx, dword [ebp + 0x6c]
cmp dword [edi], ecx
jg 0x1001c1f0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x90]
push 0x7f
push ebp
call fcn.10031c40
mov edx, dword [esp + 0x9c]
add esp, 0x14
jmp 0x1001c229
mov edi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x88]
lea ecx, [ecx + ecx*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x6c]
cmp dword [edi], ecx
jg 0x1001c249
push dword [esp + 0x38]
push dword [esp + 0x1c]
push edx
push 0x80
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x1001c277
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x6c]
test eax, eax
jle 0x1001c28d
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp]
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1001c2a0
mov eax, 0x100bdf30
jmp 0x1001c2ac
mov eax, dword [esp + 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jmp 0x1001c2e9
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x1001b732
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x1001c38e
cmp byte [esp + 0x24], cl
je 0x1001c38e
mov esi, dword [esp + 0x68]
push esi
push dword [esp + 0x78]
push 0x62
push ebp
call fcn.1007a9c0
push esi
push 0x11
push ebp
call fcn.1007a960
push dword [esp + 0x88]
mov esi, eax
push 0
push 0x4b
push ebp
call fcn.1007a9c0
push 0
push 0x100b5b64
push ebx
push 3
push dword [esp + 0x88]
push 0x61
push ebp
call fcn.1007aa80
mov edi, dword [esp + 0xd0]
add esp, 0x48
push dword [esp + 0x38]
push edi
push 0x7f
push ebp
call fcn.1007a9c0
push dword [esp + 0x48]
push ebx
push edi
push 0x80
push ebp
call fcn.1007aa20
push 8
push ebp
call fcn.1007af00
push esi
push ebp
call fcn.10084d50
add esp, 0x34
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x68
ret