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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, edx
push edi
mov edx, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
test ebx, ebx
jns 0x100620f2
cmp dword [edx + 0x100], esi
je 0x100620f2
mov dword [esp + 0x18], esi
cmp dword [ebp + 0x18], esi
jne 0x100620b4
cmp dword [ebp + 0x1c], esi
jne 0x100620b4
xor eax, eax
jmp 0x100620b9
mov eax, 1
lea edx, [esp + 0x18]
push edx
push eax
push dword [ebp + 0x14]
mov edx, ecx
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
call fcn.100577c0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x100620eb
mov edx, dword [esp + 0x18]
test edx, edx
je 0x100620eb
mov ecx, dword [ebp + 0x20]
call fcn.10062520
mov edi, eax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0xc]
cmp ebx, 0xffffffff
je 0x100624e9
test edi, edi
jne 0x100624e9
lea edx, [esp + 0x14]
push edx
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.10059120
mov esi, dword [esp + 0x20]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100624e9
lea ebx, [eax + 1]
lea esp, [esp]
push esi
call sym.SQLite.Interop.dll_sqlite3_step
mov edi, eax
add esp, 4
cmp edi, 0x64
jne 0x100624e9
mov dword [esp + 0xc], 0
test esi, esi
je 0x1006218b
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10062163
push eax
call dword [0x1012731c]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x10062178
cmp bx, word [esi + 0x8c]
jae 0x10062178
add ecx, 0x28
jmp 0x10062190
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.100e9bf0
mov ecx, 0x10109610
call fcn.100cb090
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
test esi, esi
je 0x100621d8
mov ecx, dword [esi]
mov edi, dword [esi + 0x28]
cmp byte [ecx + 0x49], 0
jne 0x100621bd
cmp edi, 0xc0a
je 0x100621bd
mov eax, dword [ecx + 0x3c]
and eax, edi
jmp 0x100621c2
call fcn.100ec420
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100621d8
push eax
call dword [0x10127324]
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
test esi, esi
je 0x10062228
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100621fb
push eax
call dword [0x1012731c]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x10062215
mov eax, 2
cmp ax, word [esi + 0x8c]
jae 0x10062215
add ecx, 0x50
jmp 0x1006222d
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.100e9bf0
mov ecx, 0x10109610
call fcn.100cb090
mov ebx, eax
mov dword [esp + 0x14], edx
test esi, esi
je 0x10062271
mov ecx, dword [esi]
mov edi, dword [esi + 0x28]
cmp byte [ecx + 0x49], 0
jne 0x10062256
cmp edi, 0xc0a
je 0x10062256
mov eax, dword [ecx + 0x3c]
and eax, edi
jmp 0x1006225b
call fcn.100ec420
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10062271
push eax
call dword [0x10127324]
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
test esi, esi
je 0x100622c1
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10062294
push eax
call dword [0x1012731c]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x100622ae
mov eax, 3
cmp ax, word [esi + 0x8c]
jae 0x100622ae
add ecx, 0x78
jmp 0x100622c6
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.100e9bf0
mov ecx, 0x10109610
call fcn.100cb090
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
test esi, esi
je 0x1006230c
mov ecx, dword [esi]
mov edi, dword [esi + 0x28]
cmp byte [ecx + 0x49], 0
jne 0x100622f1
cmp edi, 0xc0a
je 0x100622f1
mov eax, dword [ecx + 0x3c]
and eax, edi
jmp 0x100622f6
call fcn.100ec420
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1006230c
push eax
call dword [0x10127324]
add esp, 4
push 4
push esi
call sym.SQLite.Interop.dll_sqlite3_column_bytes
add esp, 8
mov dword [esp + 0x14], eax
test esi, esi
je 0x10062362
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10062332
push eax
call dword [0x1012731c]
add esp, 4
mov edi, dword [esi + 0x68]
test edi, edi
je 0x1006234f
mov eax, 4
cmp ax, word [esi + 0x8c]
jae 0x1006234f
add edi, 0xa0
jmp 0x10062367
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.100e9bf0
mov edi, 0x10109610
movzx ecx, word [edi + 8]
test cl, 0x12
je 0x100623c6
test ecx, 0x4000
je 0x100623b6
mov edx, dword [edi]
add edx, dword [edi + 0xc]
mov eax, 1
test edx, edx
cmovle edx, eax
push eax
mov ecx, edi
call fcn.100cb560
add esp, 4
test eax, eax
jne 0x100623e4
push dword [edi]
push eax
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0xc]
push eax
call fcn.10003750
mov eax, dword [edi]
add dword [edi + 0xc], eax
mov eax, 0xbdff
add esp, 0xc
and word [edi + 8], ax
or word [edi + 8], 0x10
cmp dword [edi + 0xc], 0
je 0x100623e4
mov ebx, dword [edi + 0x10]
jmp 0x100623f3
mov eax, ecx
and eax, 0x202
cmp eax, 0x202
jne 0x100623df
cmp byte [edi + 0xa], 1
jne 0x100623df
mov ebx, dword [edi + 0x10]
jmp 0x100623f3
test cl, 1
je 0x100623e8
xor ebx, ebx
jmp 0x100623f3
mov dl, 1
mov ecx, edi
call fcn.100ca520
mov ebx, eax
test esi, esi
je 0x1006242c
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x49], 0
jne 0x10062411
cmp edx, 0xc0a
je 0x10062411
mov eax, dword [ecx + 0x3c]
and eax, edx
jmp 0x10062416
call fcn.100ec420
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1006242c
push eax
call dword [0x10127324]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, ecx
or eax, edi
je 0x10062501
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10062501
xor ecx, ecx
cmp dword [ebp + 0x18], ecx
lea eax, [esp + 0x30]
cmove eax, ecx
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x1c]
push ebx
push dword [ebp + 0x14]
call fcn.10063b20
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x100624e9
cmp dword [ebp + 0x18], eax
jne 0x10062494
cmp dword [ebp + 0x1c], eax
jne 0x10062494
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edi
lea edx, [eax + 1]
jmp 0x1006249e
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor edx, edx
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x18]
push ebx
push dword [esp + 0x2c]
mov ebx, dword [ebp + 0x20]
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x48]
push edi
push ecx
mov ecx, dword [ebx + 4]
inc ecx
call fcn.10057ae0
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x100624e9
mov edx, dword [esp + 0xc]
mov ecx, ebx
call fcn.10062520
mov edi, eax
mov ebx, 1
test edi, edi
je 0x10062130
push esi
call sym.SQLite.Interop.dll_sqlite3_reset
add esp, 4
cmp edi, 0x65
cmove edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
jne 0x1006249c
cmp dword [ebp + 0x1c], 0
jne 0x1006249c
mov edx, 1
jmp 0x1006249e