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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x10]
add eax, 9
cmp dword [ecx + 0x2c], eax
jge 0x1006558a
mov dword [ecx + 0x2c], eax
mov dword [ebp - 0x48], eax
mov esi, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ecx + 8]
test ebx, ebx
mov dword [ebp - 0x3c], esi
je 0x10066393
cmp dword [ebp - 0x2c], 0
je 0x10066195
test ebx, ebx
je 0x10066195
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x2b], 0
jne 0x10066195
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
test edi, edi
je 0x100655e6
mov ecx, str.sqlite__
mov edx, edi
push 0x5c
push 0x101b1996
call fcn.10066570
add esp, 8
test eax, eax
je 0x10066195
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x100663b2
lea edx, [eax + 0xc]
xor edi, edi
dec edi
inc edi
lea esi, [edx + 0x10]
cmp dword [edx], ecx
mov edx, esi
jne 0x10065600
mov dword [ebp - 0x40], edi
shl edi, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x164]
test ecx, ecx
mov dword [ebp - 0x18], ebx
jne 0x100663bc
cmp dword [ebp - 0x40], 1
mov esi, dword [ebp - 0x1c]
je 0x10065642
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi + 4]
cmp byte [eax + 9], 0
jne 0x100663d1
mov edx, dword [ebp + 0x14]
lea eax, [edx + 2]
mov ecx, dword [esi + 0x28]
cmp ecx, eax
cmovg eax, ecx
mov dword [esi + 0x28], eax
mov edi, dword [ebp + 0x10]
lea eax, [edi + 6]
mov dword [ebp - 0x4c], eax
mov ecx, esi
push 0x70
mov esi, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x40]
call fcn.100412d0
add esp, 0xc
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
mov esi, dword [ebp - 0x4c]
jle 0x100661b8
lea ecx, [eax + 1]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x68]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4], 0x75
xor edi, edi
mov dword [ecx + edx*4 + 4], edi
mov dword [ecx + edx*4 + 8], esi
mov dword [ecx + edx*4 + 0xc], edi
mov dword [ecx + edx*4 + 0x10], edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebx + 0x6c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
jne 0x100656d9
test eax, eax
js 0x1006619d
lea edx, [eax + eax*4]
shl edx, 2
add edx, dword [ebx + 0x68]
mov ecx, ebx
push 0
push dword [ebp - 0x10]
call fcn.10035fc0
add esp, 8
mov edx, dword [ebp + 8]
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
lea eax, [edi + 7]
mov dword [ebp - 0x58], eax
lea eax, [edi + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
test eax, eax
je 0x10066182
mov ecx, eax
lea eax, [edi + 1]
mov dword [ebp - 0x60], eax
lea eax, [edi + 2]
mov dword [ebp - 0x38], eax
lea eax, [edi + 3]
mov dword [ebp - 0x6c], eax
lea eax, [edi + 5]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x68]
mov dword [ebp - 0x10], eax
mov al, 1
mov dword [ebp - 0x50], eax
mov edi, ecx
test edx, edx
je 0x10065736
cmp edi, edx
jne 0x10065f20
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x38]
test ecx, ecx
mov edx, dword [ebp - 0x50]
movzx edx, dl
cmove edx, ecx
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x2c]
test byte [ecx + 0x1c], 0x80
jne 0x1006620d
movzx ecx, word [edi + 0x34]
mov ebx, dword [edi]
test al, 8
mov dword [ebp - 0x34], ecx
jne 0x10065fab
mov eax, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], eax
mov dword [ebp - 0x54], edi
jle 0x10065fd3
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4], 0x75
xor esi, esi
mov dword [ecx + edx*4 + 4], esi
mov edi, dword [ebp - 0x58]
mov dword [ecx + edx*4 + 8], edi
mov edi, dword [ebp - 0x54]
mov dword [ecx + edx*4 + 0xc], esi
mov dword [ecx + edx*4 + 0x10], esi
mov ecx, dword [ebp - 0x20]
dec ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp byte [ecx + 0x57], 0
jne 0x100657df
test eax, eax
js 0x10065f98
lea edx, [eax + eax*4]
shl edx, 2
mov ecx, dword [ebp - 0x18]
add edx, dword [ecx + 0x68]
push 0
push ebx
call fcn.10035fc0
add esp, 8
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x2c], eax
jge 0x100657f5
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], ebx
jle 0x10065fef
lea edx, [ebx + 1]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
lea ecx, [ebx + ebx*4]
mov dword [edx + ecx*4], 0x70
mov ebx, dword [ebp - 0x24]
mov dword [edx + ecx*4 + 4], ebx
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + ecx*4 + 0xc], eax
mov dword [edx + ecx*4 + 0x10], 0
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ecx + 8]
mov edx, edi
call fcn.10041000
test eax, eax
je 0x10065867
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
jne 0x1006622c
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x6c]
lea edx, [edx + edx*4]
mov byte [ecx + edx*4 - 0x13], 0xf8
mov dword [ecx + edx*4 - 4], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x10066008
lea ecx, [eax + 1]
mov esi, dword [ebp - 0x14]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x47
mov edx, dword [ebp - 0x34]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + eax*4 + 8], edx
xor edx, edx
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], edx
movzx eax, word [edi + 0x32]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x10066027
lea edx, [ecx + 1]
mov dword [esi], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x47
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [edx + ecx*4 + 8], eax
xor eax, eax
mov dword [edx + ecx*4 + 0xc], eax
mov dword [edx + ecx*4 + 0x10], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x10066041
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, ecx
mov dword [ebp - 0x74], ecx
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x24
mov edx, dword [ebp - 0x24]
mov dword [eax + ecx*4 + 4], edx
xor edx, edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x1006605f
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x62
mov edx, dword [ebp - 0x24]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], 1
mov dword [ecx + eax*4 + 0x10], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x1e8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x1006607b
lea edx, [ecx + 1]
mov dword [esi], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x47
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [edx + ecx*4 + 8], eax
xor eax, eax
mov dword [edx + ecx*4 + 0xc], eax
mov dword [edx + ecx*4 + 0x10], eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
push 0
push 0x101b68ec
push 4
push dword [ebp - 0x60]
mov esi, dword [ebp - 0x38]
push esi
call fcn.10036360
add esp, 0x14
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x10066095
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x47
xor edx, edx
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], esi
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], edx
cmp dword [ebp - 0x20], 2
jb 0x10066250
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x78], eax
dec eax
mov dword [ebp - 0x5c], eax
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x30]
lea edx, [eax*4]
mov ecx, dword [ebp - 0x3c]
movzx eax, word [ecx + 0x12c]
cmp edx, eax
mov esi, dword [ebp - 0x14]
ja 0x10065a3e
cmp dword [ebp - 0x20], 0x21
ja 0x10065a64
mov eax, dword [ecx + 0x150]
test eax, eax
je 0x10065a56
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ecx + 0x150], eax
inc dword [ecx + 0x138]
jmp 0x10065a9b
cmp dword [ecx + 0x128], 0
je 0x100661e1
cmp byte [ecx + 0x57], 0
je 0x10065a86
jmp 0x1006634e
mov eax, dword [ecx + 0x14c]
test eax, eax
jne 0x100661a8
mov eax, dword [ecx + 0x148]
test eax, eax
jne 0x10066172
mov eax, dword [ecx + 0x144]
test eax, eax
jne 0x100661d1
inc dword [ecx + 0x140]
push 0
call fcn.101372d0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1006634e
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x10066103
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4], 9
xorps xmm0, xmm0
movups xmmword [ecx + eax*4 + 1], xmm0
mov dword [ecx + eax*4 + 0x10], 0
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x30], 1
jne 0x10065ae4
cmp word [edi + 0x32], 1
jne 0x10065ae4
cmp byte [edi + 0x36], 0
jne 0x10065fb7
xor esi, esi
mov eax, dword [edi + 0x20]
mov edi, dword [eax + esi*4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov al, byte [ecx + 0x54]
movzx ebx, byte [ecx + 0xb1]
movzx edx, al
mov dword [ebp - 0x64], edx
push ebx
mov dword [ebp - 0x34], edi
push edi
call fcn.1001eb40
add esp, 8
test ebx, ebx
jne 0x10065b24
test eax, eax
je 0x100661ec
cmp dword [eax + 0xc], 0
je 0x100661ec
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x10065f30
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x47
mov dword [ecx + eax*4 + 4], esi
mov dword [ecx + eax*4 + 8], edi
xor edx, edx
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], edx
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x10065f48
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x5e
mov edx, dword [ebp - 0x24]
mov dword [ecx + eax*4 + 4], edx
mov dword [ecx + eax*4 + 8], esi
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], 0
mov eax, dword [ebp - 0x48]
add eax, esi
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jle 0x10065f63
lea ecx, [edi + 1]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4], 0x34
mov eax, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ecx + edx*4 + 4], ebx
xor ebx, ebx
mov dword [ecx + edx*4 + 8], ebx
mov ebx, dword [ebp - 0x64]
mov dword [ecx + edx*4 + 0xc], ebx
xor ebx, ebx
mov dword [ecx + edx*4 + 0x10], ebx
mov ebx, eax
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
mov edx, dword [ebp - 0x34]
jne 0x10065c16
mov ecx, edi
test edi, edi
js 0x10065c57
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ecx + ecx*4]
cmp byte [eax + ecx*4 + 1], 0
jne 0x10065c43
test edx, edx
je 0x10065c16
lea eax, [eax + ecx*4]
inc eax
mov dword [eax + 0xf], edx
mov byte [eax], 0xfe
mov eax, dword [ebp - 0x20]
mov dword [eax + esi*4], edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
jle 0x10065c34
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 0x80
inc esi
cmp dword [ebp - 0x30], esi
mov edi, dword [ebp - 0x54]
jne 0x10065ae6
jmp 0x10065c5f
lea edx, [eax + ecx*4]
mov ecx, ebx
push 0xfffffffffffffffe
push dword [ebp - 0x34]
call fcn.10035fc0
add esp, 8
jmp 0x10065c16
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
dec ecx
jmp 0x10065bf9
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x1006611c
lea ecx, [eax + 1]
mov esi, dword [ebp - 0x14]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x47
mov edx, dword [ebp - 0x30]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + eax*4 + 8], edx
xor edx, edx
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], edx
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
mov edi, dword [ebp - 0x78]
jle 0x1006613b
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 9
xor edx, edx
mov dword [ecx + eax*4 + 4], edx
mov esi, dword [ebp - 0x5c]
mov dword [ecx + eax*4 + 8], esi
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], edx
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x6c]
cmp byte [ecx + 0x57], 0
jne 0x10066260
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx + ecx*4]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
lea ecx, [edx + ecx*4]
add ecx, 0xffffffec
mov dword [ecx + 8], eax
xor esi, esi
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x6c]
cmp byte [ecx + 0x57], 0
jne 0x10066203
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + esi*4]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x10]
add ecx, dword [edx]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x48]
add eax, esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jle 0x10065f7f
lea edx, [ecx + 1]
mov edi, dword [ebp - 0x14]
mov dword [edi], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x5e
mov edi, dword [ebp - 0x24]
mov dword [edx + ecx*4 + 4], edi
mov edi, dword [ebp - 0x78]
mov dword [edx + ecx*4 + 8], esi
mov dword [edx + ecx*4 + 0xc], eax
mov dword [edx + ecx*4 + 0x10], 0
inc esi
cmp dword [ebp - 0x30], esi
jne 0x10065cf7
mov ecx, dword [ebx + 0xc]
neg edi
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x3c]
js 0x1006626a
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, dword [ecx + 0x40]
mov dword [ecx + edi*4], eax
mov edi, dword [ebp - 0x3c]
mov ecx, edi
mov edx, dword [ebp - 0x20]
call fcn.10129dd0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
inc edx
push 0
push 0x101b6914
push 2
push dword [ebp - 0x28]
push dword [ebp - 0x60]
call fcn.10036360
add esp, 0x14
cmp dword [edi + 0x1e8], 0
jne 0x1006627d
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x10066156
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x27
mov edx, dword [ebp - 0x24]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 8], edx
xor edx, edx
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], edx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
push 0
push 0x101b693c
push 1
push dword [ebp - 0x70]
push dword [ebp - 0x60]
call fcn.10036360
add esp, 0x14
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x100660ae
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea edx, [eax + eax*4]
mov dword [ecx + edx*4], 0x61
mov edi, dword [ebp - 0x4c]
mov dword [ecx + edx*4 + 4], edi
mov dword [ecx + edx*4 + 8], 3
mov edi, dword [ebp - 0x28]
mov dword [ecx + edx*4 + 0xc], edi
mov dword [ecx + edx*4 + 0x10], 0
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
jne 0x10065e74
test eax, eax
js 0x10065fa3
lea edx, [eax + eax*4]
shl edx, 2
add edx, dword [ebx + 0x68]
mov ecx, ebx
push 0
push 0x101d8972
call fcn.10035fc0
add esp, 8
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x100660ca
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x7f
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*4 + 8], edx
xor edx, edx
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], edx
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jle 0x100660e6
lea ecx, [eax + 1]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 0x80
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax*4 + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], 0
mov eax, dword [esi]
test eax, eax
mov edx, dword [ebp + 8]
jle 0x10065f03
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 8
mov eax, dword [esi]
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
jne 0x10066344
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov esi, dword [ebp - 0x10]
add ecx, dword [esi]
mov dword [ecx + 8], eax
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x1006572a
jmp 0x10066187
mov ecx, ebx
mov edx, 0x47
push 0
push edi
push esi
call fcn.10021190
add esp, 0xc
jmp 0x10065b62
mov ecx, ebx
mov edx, 0x5e
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x24]
call fcn.10021190
add esp, 0xc
jmp 0x10065b9f
mov ecx, ebx
mov edx, 0x34
push eax
push 0
push dword [ebp - 0x28]
call fcn.10021190
add esp, 0xc
mov edi, eax
jmp 0x10065be8
mov ecx, ebx
mov edx, 0x5e
push eax
push esi
push dword [ebp - 0x24]
call fcn.10021190
add esp, 0xc
jmp 0x10065d5c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
jmp 0x100657c8
mov eax, dword [esi]
dec eax
jmp 0x10065e5a
movzx eax, word [edi + 0x32]
mov dword [ebp - 0x20], eax
jmp 0x1006576d
mov ecx, ebx
mov edx, 0x33
push 0
push dword [ebp - 0x5c]
push dword [ebp - 0x48]
call fcn.10030110
add esp, 0xc
jmp 0x10065ae4
mov ecx, dword [ebp - 0x18]
mov edx, 0x75
xor eax, eax
push eax
push dword [ebp - 0x58]
push eax
call fcn.10021190
add esp, 0xc
jmp 0x100657ae
mov edx, 0x70
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x24]
call fcn.10021190
add esp, 0xc
jmp 0x10065838
mov ecx, ebx
mov edx, 0x47
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x34]
call fcn.10021190
add esp, 0xc
mov esi, dword [ebp - 0x14]
jmp 0x100658a5
mov ecx, ebx
mov edx, 0x47
push 0
push dword [ebp - 0x6c]
push eax
call fcn.10021190
add esp, 0xc
jmp 0x100658de
mov ecx, ebx
mov edx, 0x24
xor eax, eax
push eax
push eax
push dword [ebp - 0x24]
call fcn.10021190
add esp, 0xc
mov dword [ebp - 0x74], eax
jmp 0x10065918
mov ecx, ebx
mov edx, 0x62
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call fcn.10021190
add esp, 0xc
jmp 0x10065956
mov ecx, ebx
mov edx, 0x47
push 0
push dword [ebp - 0x68]
push eax
call fcn.10021190
add esp, 0xc
jmp 0x10065994
mov ecx, ebx
mov edx, 0x47
xor eax, eax
push eax
push esi
push eax
call fcn.10021190
add esp, 0xc
jmp 0x100659e6
mov ecx, ebx
mov edx, 0x61
push dword [ebp - 0x28]
push 3
push dword [ebp - 0x4c]
call fcn.10021190
add esp, 0xc
jmp 0x10065e47
mov ecx, ebx
mov edx, 0x7f
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10021190
add esp, 0xc
jmp 0x10065eac
mov ecx, ebx
mov edx, 0x80
push dword [ebp + 0x10]
push dword [ebp - 0x28]
push dword [ebp + 0xc]
call fcn.10021190
add esp, 0xc
jmp 0x10065ee9
mov ecx, ebx
mov edx, 9
xor eax, eax
push eax
push eax
push eax
call fcn.10021190
add esp, 0xc
jmp 0x10065ac8
mov ecx, ebx
mov edx, 0x47
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call fcn.10021190
add esp, 0xc
mov esi, dword [ebp - 0x14]
jmp 0x10065c9a
mov ecx, ebx
mov edx, 9
xor eax, eax
push eax
push dword [ebp - 0x5c]
push eax
call fcn.10021190
add esp, 0xc
jmp 0x10065cd2
mov ecx, ebx
mov edx, 0x27
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call fcn.10021190
add esp, 0xc
jmp 0x10065ded
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ecx + 0x148], eax
jmp 0x10065a36
mov al, 1
mov dword [ebp - 0x50], eax
test edx, edx
jne 0x10066195
cmp byte [ebp - 0x50], 0
jne 0x100663ee
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
jmp 0x100656c1
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ecx + 0x14c], eax
jmp 0x10065a36
xor eax, eax
mov ecx, ebx
mov edx, 0x75
push eax
push esi
push eax
call fcn.10021190
add esp, 0xc
jmp 0x100656ab
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ecx + 0x144], eax
jmp 0x10065a36
inc dword [ecx + 0x13c]
jmp 0x10065a86
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x64]
push dword [ebp - 0x34]
push eax
call fcn.10060e80
add esp, 8
jmp 0x10065b24
mov ecx, 0x101f4350
jmp 0x10065d17
mov ecx, eax
and ecx, 3
cmp ecx, 2
jne 0x10065757
movzx ecx, word [edi + 0x32]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ecx
jmp 0x10065768
cmp dword [ecx + 0x208], 0
jne 0x10065867
dec dword [eax]
jne 0x10065867
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.1014f290
jmp 0x10065867
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
mov edi, dword [ebp - 0x3c]
jmp 0x10065d8b
mov ecx, 0x101f4350
jmp 0x10065cf2
mov edx, ebx
push edi
call fcn.100329e0
add esp, 4
mov esi, dword [ebp - 0x14]
jmp 0x10065d7e
xor esi, esi
mov ecx, ebx
mov edx, 0x32
push esi
push esi
mov edi, dword [ebp - 0x28]
push edi
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ecx, ebx
mov edx, 0x10
push esi
push esi
push edi
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, ebx
mov edx, 0x18
push dword [ebp - 0x48]
push esi
push dword [ebp - 0x24]
call fcn.10030110
add esp, 0xc
mov esi, eax
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x10066356
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, 0x101f4350
mov dword [ecx + 8], eax
mov edi, dword [ebp - 0x18]
mov ecx, edi
mov edx, 0x27
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call fcn.10030110
add esp, 0xc
mov edx, dword [edi]
mov ecx, dword [edi + 0x6c]
mov eax, 0x101f4350
cmp byte [edx + 0x57], 0
mov edx, 0x101f4350
jne 0x1006631a
mov edx, dword [ebp - 0x30]
lea edx, [edx + edx*4]
shl edx, 2
mov edi, dword [ebp - 0x10]
add edx, dword [edi]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x6c]
cmp byte [edx + 0x57], 0
jne 0x10066336
lea eax, [esi + esi*4]
shl eax, 2
mov edx, dword [ebp - 0x10]
add eax, dword [edx]
mov dword [eax + 8], ecx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
jmp 0x10065ded
mov ecx, 0x101f4350
jmp 0x10065f1d
mov edx, dword [ebp + 8]
jmp 0x10065f20
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov edx, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov ecx, 0x101f4350
cmp byte [edx + 0x57], 0
jne 0x100662da
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x10]
add ecx, dword [edx]
jmp 0x100662da
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x78], 0
je 0x100664c7
mov ecx, dword [ebp - 0x1c]
call fcn.1002fa90
mov ebx, eax
mov esi, dword [ebp - 0x3c]
jmp 0x100655a0
mov edi, 0xffff8000
jmp 0x1006560a
cmp byte [edx + 0xb1], 0
je 0x100664e0
mov ebx, dword [ebp - 0x18]
jmp 0x10065626
mov ecx, esi
mov edx, dword [ebp - 0x40]
push dword [ebp - 0x10]
push 0
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x14]
call fcn.10046c10
add esp, 0xc
jmp 0x10065642
xor esi, esi
mov ecx, ebx
mov edx, 0x62
push esi
mov edi, dword [ebp - 0x70]
push edi
push dword [ebp + 0x14]
call fcn.10030110
add esp, 0xc
mov ecx, ebx
mov edx, 0x11
push esi
push esi
push edi
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, ebx
mov edx, 0x4b
push esi
push dword [ebp - 0x58]
push esi
call fcn.10030110
add esp, 0xc
mov ecx, ebx
mov edx, 0x61
mov edi, dword [ebp - 0x28]
push edi
push 3
push dword [ebp - 0x4c]
call fcn.10030110
add esp, 0xc
mov ecx, ebx
mov edx, eax
push esi
push 0x101d8972
call fcn.1003a6c0
add esp, 8
mov ecx, ebx
mov edx, 0x7f
push esi
mov esi, dword [ebp + 0x10]
push esi
mov eax, dword [ebp + 0xc]
push eax
call fcn.10030110
add esp, 0xc
mov ecx, ebx
mov edx, 0x80
push esi
push edi
push dword [ebp + 0xc]
call fcn.10030110
add esp, 0xc
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x100664a0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 8
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, 0x101f4350
cmp byte [edx + 0x57], 0
jne 0x100664bf
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + 0x68]
mov dword [ecx + 8], eax
jmp 0x10066195
mov eax, dword [ebp - 0x3c]
test byte [eax + 0x50], 8
jne 0x100663a0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x17], 1
jmp 0x100663a0
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd8], 0
jne 0x100663c9
mov eax, dword [eax + edi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x100]
mov esi, dword [edx + 0x168]
call dword [section..00cfg]
push ebx
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
push 0x1c
push esi
call ecx
add esp, 0x18
cmp eax, 1
jne 0x10066540
mov esi, 0x17
mov eax, str.not_authorized
push eax
mov edi, dword [ebp - 0x1c]
push edi
call fcn.10046a40
add esp, 8
mov dword [edi + 0xc], esi
jmp 0x10066195
test eax, 0xfffffffd
je 0x10066551
xor esi, esi
inc esi
mov eax, str.authorizer_malfunction
jmp 0x1006652b
test eax, eax
mov ebx, dword [ebp - 0x18]
jne 0x10066195
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x10065626