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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [eax]
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
cmp dword [ebp + 0x14], edi
jne 0x1006279a
push edi
lea ecx, [ebp - 0x10]
push ecx
push 2
push eax
call fcn.10062bd0
add esp, 0x10
test eax, eax
jne 0x10062bc7
mov edi, dword [ebp - 0x10]
push esi
push ebx
push 1
push edi
call sym.e_sqlite3.dll_sqlite3_bind_int64
push edi
call sym.e_sqlite3.dll_sqlite3_step
add esp, 0x14
cmp eax, 0x64
je 0x10062797
test edi, edi
jne 0x100626c9
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100626e6
mov esi, dword [0x10125148]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
cmp dword [edi + 0x8c], 0
jl 0x10062704
jg 0x100626fa
cmp dword [edi + 0x88], 0
jbe 0x10062704
push edi
push ebx
call fcn.1006c280
add esp, 8
push edi
call fcn.100d5790
add esp, 4
mov byte [edi + 0x95], 1
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], 0
mov word [edi + 0x92], 0xff02
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x1c], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
cmp byte [ebx + 0x57], 0
jne 0x10062763
test eax, eax
jne 0x10062763
xor edi, edi
jmp 0x1006276f
push eax
push ebx
call fcn.10025920
add esp, 8
mov edi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10062bc5
mov esi, dword [0x10125150]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push ebx
push 1
push dword [eax + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xffffffff
call fcn.100a78f0
mov ebx, eax
add esp, 0x10
mov edx, 1
mov dword [ebp - 8], edx
test ebx, ebx
jne 0x10062abd
mov ecx, dword [ebp + 0x14]
mov esi, ecx
mov dword [ebp - 0xc], 0x28
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
cmp edx, dword [eax + 0xc]
jg 0x10062ae1
mov eax, dword [eax + 0x14]
cmp byte [eax + edx - 1], 0
jne 0x10062aa7
test edi, edi
je 0x100629a4
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10062816
mov esi, dword [0x10125148]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
mov edx, dword [ebp - 8]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10062838
movzx eax, word [edi + 0x90]
cmp edx, eax
jge 0x10062838
test edx, edx
js 0x10062838
mov ebx, dword [ebp - 0xc]
add ecx, ebx
jne 0x10062854
mov dword [ebp - 4], ecx
jmp 0x1006288d
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.10096500
mov ebx, dword [ebp - 0xc]
add esp, 8
mov ecx, 0x1010df80
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10062871
cmp byte [ecx + 0x12], 1
jne 0x10062871
mov eax, dword [ecx + 8]
jmp 0x1006288a
test dl, 1
je 0x1006287f
mov dword [ebp - 4], 0
jmp 0x1006288d
push 1
push ecx
call fcn.100e5f30
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov ecx, dword [edi + 0x24]
cmp byte [eax + 0x57], 0
jne 0x1006289c
test ecx, ecx
je 0x100628aa
push ecx
push eax
call fcn.10025920
mov ecx, eax
add esp, 8
mov eax, dword [edi]
mov dword [edi + 0x24], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100628c8
mov esi, dword [0x10125150]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100628e5
mov esi, dword [0x10125148]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10062903
movzx eax, word [edi + 0x90]
mov edx, dword [ebp - 8]
cmp edx, eax
jge 0x10062903
test edx, edx
js 0x10062903
lea eax, [ebx + ecx]
jmp 0x1006291c
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.10096500
add esp, 8
mov eax, 0x1010df80
movzx ecx, word [eax + 0x10]
test cl, 2
je 0x10062930
cmp byte [eax + 0x12], 1
jne 0x10062930
mov ebx, dword [eax + 0xc]
jmp 0x10062960
test cl, 0x10
je 0x1006294a
mov edx, dword [eax + 0xc]
test ecx, 0x400
je 0x10062946
mov ebx, dword [eax]
add ebx, edx
jmp 0x10062960
mov ebx, edx
jmp 0x10062960
test cl, 1
je 0x10062953
xor ebx, ebx
jmp 0x10062960
push 1
push eax
call fcn.100e57f0
add esp, 8
mov ebx, eax
mov eax, dword [edi]
mov ecx, dword [edi + 0x24]
cmp byte [eax + 0x57], 0
jne 0x1006296f
test ecx, ecx
je 0x1006297d
push ecx
push eax
call fcn.10025920
mov ecx, eax
add esp, 8
mov eax, dword [edi]
mov dword [edi + 0x24], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10062a32
mov esi, dword [0x10125150]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
jmp 0x10062a32
test ecx, ecx
je 0x10062aa7
mov ecx, dword [esi]
test ecx, ecx
jne 0x100629b7
mov dword [ebp - 4], ecx
jmp 0x100629f2
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100629d4
cmp byte [ecx + 0x12], 1
jne 0x100629d4
mov eax, dword [ecx + 8]
jmp 0x100629ef
test dl, 1
je 0x100629e2
mov dword [ebp - 4], 0
jmp 0x100629f2
push 1
push ecx
call fcn.100e5f30
mov ecx, dword [esi]
add esp, 8
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0x10]
test al, 2
je 0x10062a05
cmp byte [ecx + 0x12], 1
jne 0x10062a05
mov ebx, dword [ecx + 0xc]
jmp 0x10062a32
test al, 0x10
je 0x10062a1d
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x10062a19
mov ebx, dword [ecx]
add ebx, edx
jmp 0x10062a32
mov ebx, edx
jmp 0x10062a32
test al, 1
je 0x10062a25
xor ebx, ebx
jmp 0x10062a32
push 1
push ecx
call fcn.100e57f0
add esp, 8
mov ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0x18], edx
test eax, eax
jne 0x10062a42
xor ebx, ebx
jmp 0x10062a6d
mov ecx, dword [ebp - 0x14]
push 0x10062e30
push ebx
push eax
mov esi, dword [ecx + 0x3c]
lea eax, [ebp - 0x20]
push 4
push eax
push dword [ecx + 0x38]
mov esi, dword [esi + 8]
mov ecx, esi
call dword [0x1010a1d8]
call esi
mov edx, dword [ebp - 0x18]
add esp, 0x18
mov ebx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea esi, [eax*8]
mov eax, edx
mov ecx, dword [ecx + 0x18]
cdq
sub dword [esi + ecx - 8], eax
mov eax, dword [ebp + 8]
sbb dword [esi + ecx - 4], edx
mov eax, dword [eax + 0x18]
cmp dword [esi + eax - 4], 0
jl 0x10062ada
jg 0x10062a9e
cmp dword [esi + eax - 8], 0
jb 0x10062ada
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add dword [ebp - 0xc], 0x28
inc edx
add esi, 4
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], esi
test ebx, ebx
je 0x100627d4
mov eax, dword [ebp + 8]
add dword [eax + 0x10], 0xffffffff
adc dword [eax + 0x14], 0xffffffff
test edi, edi
jne 0x10062af9
test ebx, ebx
cmovne edi, ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0x10b
jmp 0x10062abd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jg 0x10062ac0
jl 0x10062af2
cmp dword [eax + 0x10], 1
jae 0x10062ac0
mov ebx, 0x10b
jmp 0x10062ac8
mov esi, dword [edi]
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10062b1c
mov esi, dword [0x10125148]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
mov esi, dword [ebp - 0x14]
add esp, 4
cmp dword [edi + 0x8c], 0
jl 0x10062b3a
jg 0x10062b30
cmp dword [edi + 0x88], 0
jbe 0x10062b3a
push edi
push esi
call fcn.1006c280
add esp, 8
push edi
call fcn.100d5790
add esp, 4
mov byte [edi + 0x95], 1
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], 0
mov word [edi + 0x92], 0xff02
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x1c], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
cmp byte [esi + 0x57], 0
jne 0x10062b99
test eax, eax
jne 0x10062b99
xor edi, edi
jmp 0x10062ba5
push eax
push esi
call fcn.10025920
add esp, 8
mov edi, eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10062bc0
mov esi, dword [0x10125150]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
test ebx, ebx
cmovne edi, ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret