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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x40], edi
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xf], 1
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
inc ecx
mov dword [esp + 0x4c], ecx
inc ecx
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x30], ecx
inc ecx
mov dword [esp + 0x5c], ecx
inc ecx
mov dword [esp + 0x14], ecx
inc ecx
mov dword [esp + 0x60], ecx
inc ecx
mov dword [esp + 0x3c], ecx
inc ecx
mov dword [esp + 0x54], ecx
inc ecx
mov dword [esp + 0x50], ecx
inc ecx
mov esi, dword [ebx + 8]
cmp eax, ecx
mov edx, dword [ebx]
cmovle eax, ecx
mov dword [esp + 0x34], edx
mov dword [ebp + 0x10], ecx
mov dword [ebx + 0x2c], eax
test esi, esi
jne 0x10065858
cmp dword [ebx + 0x78], esi
jne 0x10065847
test byte [edx + 0x50], 8
jne 0x10065847
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.1003f640
mov esi, eax
test esi, esi
je 0x10066812
test edi, edi
je 0x10066812
cmp byte [edi + 0x2b], 0
jne 0x10066812
mov edx, dword [edi]
test edx, edx
je 0x1006588c
push 0x5c
push 0x10129d4c
mov ecx, str.sqlite__
call fcn.100757d0
add esp, 8
test eax, eax
je 0x10066812
mov ecx, dword [edi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x28], edx
test ecx, ecx
je 0x100658bc
mov eax, dword [esp + 0x34]
xor edx, edx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x100658bc
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x100658b0
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x34]
mov edi, edx
mov edx, dword [esp + 0x40]
add edi, edi
mov ecx, ebx
mov eax, dword [eax + 0x10]
push dword [eax + edi*8]
push 0
push dword [edx]
mov edx, 0x1c
call fcn.10067f40
add esp, 0xc
test eax, eax
jne 0x10066812
mov ecx, dword [esp + 0x28]
cmp ecx, 1
je 0x10065918
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*8 + 4]
cmp byte [eax + 9], 0
je 0x10065918
mov eax, dword [esp + 0x40]
mov edx, ecx
mov ecx, ebx
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.10067fd0
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov edx, eax
mov edi, dword [esp + 0x40]
inc eax
mov dword [ebp + 0x14], eax
push 0x70
push edi
push dword [esp + 0x30]
lea ecx, [eax + 1]
mov dword [esp + 0x78], edx
mov eax, dword [ebx + 0x28]
cmp eax, ecx
cmovle eax, ecx
mov ecx, ebx
mov dword [ebx + 0x28], eax
call fcn.1007b6a0
mov ebx, dword [edi]
lea eax, [esi + 0x70]
mov edx, dword [esi + 0x6c]
lea edi, [esi + 0x6c]
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
cmp dword [eax], edx
jg 0x1006597a
push 0
push dword [esp + 0x40]
mov edx, 0x75
mov ecx, esi
push 0
call fcn.1003f820
add esp, 0xc
mov edx, eax
jmp 0x100659b0
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ebx
mov ecx, esi
call fcn.10040470
mov edx, dword [esp + 0x48]
add esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [esp + 0x20], edx
test edx, edx
je 0x100665a3
test eax, eax
je 0x100659df
cmp eax, edx
jne 0x10066594
movzx eax, byte [esp + 0xf]
xor ecx, ecx
cmp dword [edx + 0x24], ecx
cmovne ecx, eax
mov byte [esp + 0xf], cl
mov ecx, dword [esp + 0x40]
test byte [ecx + 0x1c], 0x80
je 0x10065a11
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x10065a11
movzx ebx, word [edx + 0x32]
mov eax, ecx
mov dword [esp + 0x48], ebx
mov ecx, ebx
jmp 0x10065a27
test byte [edx + 0x38], 8
movzx eax, word [edx + 0x34]
mov dword [esp + 0x48], eax
mov ecx, eax
mov eax, edx
je 0x10065a27
movzx ecx, word [edx + 0x32]
mov ebx, dword [eax]
dec ecx
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
mov dword [esp + 0x44], ecx
cmp dword [eax], edx
jg 0x10065a53
push 0
push dword [esp + 0x58]
mov edx, 0x75
mov ecx, esi
push 0
call fcn.1003f820
add esp, 0xc
mov edx, eax
jmp 0x10065a89
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ebx
mov ecx, esi
call fcn.10040470
mov edx, dword [esp + 0x24]
add esp, 8
mov ecx, dword [ebp + 0x10]
add ecx, dword [esp + 0x44]
mov eax, dword [edx + 0x2c]
cmp eax, ecx
cmovle eax, ecx
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
mov edx, dword [edx + 0x2c]
cmp dword [eax], ecx
jg 0x10065ad6
push dword [esp + 0x28]
mov ecx, esi
push edx
push dword [ebp + 0x14]
mov edx, 0x70
call fcn.1003f820
add esp, 0xc
jmp 0x10065b03
mov ebx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [esp + 0x20]
mov ebx, dword [eax + 8]
call fcn.100716d0
mov edx, eax
test edx, edx
je 0x10065b45
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x10065b33
push edx
mov edx, 0xfffffff8
call fcn.10040210
add esp, 4
jmp 0x10065b45
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [edi]
inc ebx
mov edx, dword [esp + 0x48]
cmp dword [eax], ecx
jg 0x10065b6d
push 0
push ebx
push edx
mov edx, 0x47
mov ecx, esi
call fcn.1003f820
add esp, 0xc
jmp 0x10065b97
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
movzx edx, word [eax + 0x32]
mov eax, dword [esp + 0x10]
cmp dword [eax], ecx
jg 0x10065bc1
push 0
push dword [esp + 0x60]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.1003f820
add esp, 0xc
jmp 0x10065bf3
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
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 + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x68], ecx
cmp dword [eax], ecx
jg 0x10065c20
push 0
push 0
push dword [ebp + 0x14]
mov edx, 0x24
mov ecx, esi
call fcn.1003f820
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x10065c51
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x10065c73
push 1
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x62
call fcn.1003f820
add esp, 0xc
jmp 0x10065ca5
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 + 0x34]
mov ecx, dword [edi]
mov edx, dword [eax + 0x1f0]
mov eax, dword [esp + 0x10]
cmp dword [eax], ecx
jg 0x10065cd1
push 0
push dword [esp + 0x64]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.1003f820
add esp, 0xc
jmp 0x10065d03
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
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 [esp + 0x1c]
xor edx, edx
push 0
push 0x1012d854
push 4
push dword [esp + 0x58]
push ebx
call fcn.1003fa60
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov ecx, dword [edi]
cmp dword [ebx], ecx
jg 0x10065d42
push 0
push dword [esp + 0x34]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.1003f820
add esp, 0xc
jmp 0x10065d74
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 ecx, dword [esp + 0x44]
mov eax, dword [edi]
mov dword [esp + 0x38], eax
test ecx, ecx
jle 0x100661aa
mov eax, dword [esp + 0x1c]
push 0
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x4c], eax
lea eax, [ecx*4]
mov ecx, dword [esp + 0x38]
push eax
call fcn.1001d1c0
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x1006658d
mov ecx, dword [edi]
cmp dword [ebx], ecx
jg 0x10065dd3
push 0
push 0
push 0
mov edx, 9
mov ecx, esi
call fcn.1003f820
add esp, 0xc
jmp 0x10065e05
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 + 0x44], 1
mov ecx, dword [edi]
mov dword [esp + 0x38], ecx
jne 0x10065e72
mov eax, dword [esp + 0x20]
cmp word [eax + 0x32], 1
jne 0x10065e72
cmp byte [eax + 0x36], 0
je 0x10065e72
cmp dword [ebx], ecx
jg 0x10065e41
push 0
push dword [esp + 0x4c]
mov edx, 0x33
mov ecx, esi
push dword [ebp + 0x10]
call fcn.1003f820
add esp, 0xc
jmp 0x10065e72
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor eax, eax
mov dword [esp + 0x2c], eax
nop dword [eax + eax]
lea ecx, [eax*4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov eax, dword [eax + 0x20]
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], edx
mov ecx, dword [eax]
mov bl, byte [ecx + 0xb1]
mov bh, byte [ecx + 0x54]
movzx eax, bl
push eax
push edx
mov dl, bh
call fcn.10071b20
add esp, 8
mov dword [esp + 0x64], eax
test bl, bl
jne 0x10065ee0
test eax, eax
je 0x10065ec9
cmp dword [eax + 0xc], 0
jne 0x10065ee0
push dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
mov dl, bh
push eax
call fcn.10071c30
add esp, 8
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [ebx], ecx
jg 0x10065f09
push 0
push dword [esp + 0x34]
mov edx, 0x47
mov ecx, esi
push dword [esp + 0x34]
call fcn.1003f820
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x10065f3f
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp dword [ebx], ecx
jg 0x10065f62
push dword [esp + 0x14]
mov ecx, esi
push edx
push dword [ebp + 0x14]
mov edx, 0x5e
call fcn.1003f820
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x10065f8f
mov ebx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ebx, dword [edi]
add edx, dword [ebp + 0x10]
cmp dword [eax], ebx
jg 0x10065fb6
push edx
push 0
push dword [esp + 0x1c]
mov edx, 0x34
mov ecx, esi
call fcn.1003f820
add esp, 0xc
mov ebx, eax
jmp 0x10065fe8
lea eax, [ebx + 1]
mov dword [edi], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffe
push dword [esp + 0x68]
mov edx, ebx
mov ecx, esi
call fcn.10040470
mov eax, dword [esp + 0x7c]
add esp, 8
mov ecx, dword [esp + 0x58]
mov dword [eax + ecx], ebx
mov eax, dword [edi]
test eax, eax
jle 0x1006601b
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, edx
jl 0x10065e80
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [ebx], ecx
jg 0x10066052
push 0
push dword [esp + 0x34]
mov ecx, esi
push edx
mov edx, 0x47
call fcn.1003f820
add esp, 0xc
jmp 0x10066084
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
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 [edi]
cmp dword [ebx], ecx
jg 0x100660a3
push 0
push dword [esp + 0x4c]
mov edx, 9
mov ecx, esi
push 0
call fcn.1003f820
add esp, 0xc
jmp 0x100660d5
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
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 [esi]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x100660e7
mov dword [0x10143a28], edx
jmp 0x100660f5
mov eax, dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 - 0xc], edx
xor ebx, ebx
mov eax, dword [esi]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x10066108
mov eax, 0x10143a20
jmp 0x10066118
mov eax, dword [esp + 0x58]
mov eax, dword [eax + ebx*4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi]
add edx, ebx
cmp dword [eax], ecx
jg 0x10066140
push edx
push ebx
push dword [ebp + 0x14]
mov edx, 0x5e
mov ecx, esi
call fcn.1003f820
add esp, 0xc
jmp 0x1006616d
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc ebx
cmp ebx, dword [esp + 0x44]
jl 0x100660f7
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x48]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10066192
push edx
mov edx, esi
call fcn.1003fdd0
add esp, 4
jmp 0x1006619a
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi]
mov dword [ecx + edx*4], eax
push dword [esp + 0x58]
push dword [esp + 0x38]
call fcn.1001ce80
add esp, 8
mov ecx, dword [esp + 0x1c]
mov edx, 1
push 0
push 0x10130ef8
push 2
push dword [esp + 0x20]
push dword [esp + 0x5c]
call fcn.1003fa60
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov eax, dword [esp + 0x10]
mov ebx, dword [edi]
cmp dword [ecx + 0x1f0], 0
mov eax, dword [eax]
je 0x100663cb
cmp eax, ebx
jg 0x10066208
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x32
mov ecx, esi
call fcn.1003f820
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ebx, eax
jmp 0x1006623a
mov edx, dword [esp + 0x14]
lea eax, [ebx + 1]
mov dword [edi], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
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 + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x64], ecx
cmp dword [eax], ecx
jg 0x10066262
push 0
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.1003f820
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x10066294
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov edi, 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
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
mov dword [esp + 0x58], edx
cmp dword [eax], edx
jg 0x100662c1
push dword [ebp + 0x10]
mov edx, 0x18
mov ecx, esi
push 0
push dword [ebp + 0x14]
call fcn.1003f820
mov edx, eax
add esp, 0xc
mov dword [esp + 0x58], edx
jmp 0x100662f5
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x10]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x18
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x10066312
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
mov edx, dword [edi]
je 0x10066321
mov eax, 0x10143a20
jmp 0x1006632a
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0x10]
mov dword [eax + 8], edx
mov ecx, dword [edi]
cmp dword [ebx], ecx
jg 0x10066352
mov edx, dword [esp + 0x38]
mov ecx, esi
push 0
push edx
push dword [ebp + 0x14]
mov edx, 0x27
call fcn.1003f820
add esp, 0xc
jmp 0x10066383
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
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 [esi]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x10066394
mov eax, 0x10143a20
jmp 0x100663a1
mov eax, dword [esp + 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x100663b8
mov eax, 0x10143a20
mov dword [eax + 8], edx
jmp 0x1006641f
mov eax, dword [esp + 0x58]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1006641f
cmp eax, ebx
jg 0x100663ea
mov edx, dword [esp + 0x38]
mov ecx, esi
push 0
push edx
push dword [ebp + 0x14]
mov edx, 0x27
call fcn.1003f820
add esp, 0xc
jmp 0x1006641b
mov edx, dword [ebp + 0x14]
lea eax, [ebx + 1]
mov dword [edi], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
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 ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
xor edx, edx
push 0
push 0x1012c8e0
push 1
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1003fa60
mov edx, dword [edi]
add esp, 0x14
cmp dword [ebx], edx
jg 0x10066461
push dword [esp + 0x14]
mov edx, 0x61
mov ecx, esi
push 3
push dword [esp + 0x44]
call fcn.1003f820
add esp, 0xc
mov edx, eax
jmp 0x10066497
mov ebx, dword [esp + 0x3c]
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0x10], 0
push 0
push 0x10135814
mov ecx, esi
call fcn.10040470
mov ecx, dword [edi]
add esp, 8
cmp dword [ebx], ecx
jg 0x100664cb
push 0
push dword [esp + 0x28]
mov edx, 0x7f
mov ecx, esi
push dword [ebp + 0xc]
call fcn.1003f820
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x10066500
mov ebx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov edx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
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 [edi]
cmp dword [ebx], ecx
jg 0x10066520
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x18]
push edx
mov edx, 0x80
call fcn.1003f820
add esp, 0xc
jmp 0x1006654e
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi]
test edx, edx
jle 0x10066566
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov edx, 8
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [edi]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x10066575
mov eax, 0x10143a20
jmp 0x10066582
mov eax, dword [esp + 0x68]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov al, byte [esp + 0xf]
mov byte [esp + 0xf], al
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x20], edx
test edx, edx
jne 0x100659d3
test eax, eax
jne 0x10066812
cmp byte [esp + 0xf], al
je 0x10066812
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
mov edx, dword [esp + 0x6c]
cmp dword [eax], ecx
jg 0x100665df
push 0
push dword [esp + 0x54]
mov ecx, esi
push edx
mov edx, 0x62
call fcn.1003f820
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x1006660d
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x62
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 + 0x10]
mov ebx, dword [edi]
cmp dword [eax], ebx
jg 0x1006662f
push 0
push 0
push edx
mov edx, 0x11
mov ecx, esi
call fcn.1003f820
add esp, 0xc
mov ebx, eax
jmp 0x10066661
lea eax, [ebx + 1]
mov dword [edi], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x11
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 + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x10066684
push 0
push dword [esp + 0x58]
mov edx, 0x4b
mov ecx, esi
push 0
call fcn.1003f820
add esp, 0xc
jmp 0x100666b6
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
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 [esp + 0x10]
mov edx, dword [edi]
cmp dword [eax], edx
jg 0x100666dd
push dword [esp + 0x14]
mov edx, 0x61
mov ecx, esi
push 3
push dword [esp + 0x44]
call fcn.1003f820
add esp, 0xc
mov edx, eax
jmp 0x10066713
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0x10], 0
push 0
push 0x10135814
mov ecx, esi
call fcn.10040470
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x1006674b
push 0
push dword [esp + 0x28]
mov edx, 0x7f
mov ecx, esi
push dword [ebp + 0xc]
call fcn.1003f820
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x10066780
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
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 eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x100667a4
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x18]
push edx
mov edx, 0x80
call fcn.1003f820
add esp, 0xc
jmp 0x100667d6
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi]
test edx, edx
jle 0x100667ee
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov edx, 8
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [edi]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x10066805
mov eax, 0x10143a20
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret