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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
add eax, 1
mov dword [esp + 0x34], eax
add eax, 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp + 8], eax
add eax, 1
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
add eax, 1
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [esp + 0x58], eax
add eax, 1
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x50], eax
add eax, 1
cmp ecx, eax
mov byte [esp + 0xf], 1
mov dword [ebp + 0x18], eax
jle 0x100d9ee1
mov eax, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
mov dword [edi + 0x4c], eax
jne 0x100d9efa
call fcn.100f38e0
mov ebx, eax
test ebx, ebx
je 0x100da650
test esi, esi
je 0x100da650
cmp dword [esi + 0x1c], 0
je 0x100da650
mov eax, dword [esi]
push 0
push 0x10148a50
push eax
push str.sqlite__
call fcn.100e49c0
add esp, 0x10
test eax, eax
jne 0x100da650
mov ecx, dword [esp + 0x20]
mov edi, esi
mov esi, dword [edi + 0x40]
call fcn.100f0520
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], eax
shl eax, 4
mov edx, dword [eax + ecx]
mov eax, dword [edi]
push edx
push 0
push eax
push 0x1c
mov eax, esi
call fcn.100dbb50
add esp, 0x10
test eax, eax
jne 0x100da650
mov ecx, dword [edi]
mov edx, dword [edi + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov eax, esi
call fcn.100dbbe0
mov eax, dword [ebp + 0x1c]
mov esi, dword [esi + 0x48]
mov dword [esp + 0x64], eax
add eax, 1
mov dword [esp + 0x28], eax
add eax, 1
add esp, 0x10
cmp esi, eax
jle 0x100d9f98
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x54]
push 0x66
push edx
push eax
mov eax, edi
call fcn.100e8c00
mov ecx, dword [edi]
mov eax, dword [esp + 0x50]
add esp, 0xc
mov esi, ebx
call fcn.100c15b0
mov edi, dword [edi + 8]
test edi, edi
mov dword [esp + 0x24], edi
je 0x100da56b
mov eax, dword [ebp + 0x10]
test eax, eax
mov ecx, dword [ebp + 0xc]
je 0x100d9fe2
cmp eax, edi
jne 0x100da558
cmp dword [edi + 0x24], 0
jne 0x100d9fed
mov byte [esp + 0xf], 0
test byte [ecx + 0x2a], 0x20
je 0x100da0bb
mov edx, dword [edi + 0x38]
and dl, 3
cmp dl, 2
jne 0x100da0bb
movzx eax, word [edi + 0x32]
mov ecx, dword [ecx]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov esi, ebx
call fcn.100c15b0
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
add eax, ecx
mov ecx, dword [edx + 0x4c]
cmp ecx, eax
jle 0x100da037
mov eax, ecx
mov esi, edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x2c]
push eax
push ecx
push edx
push 0x66
push ebx
call fcn.100c1540
add esp, 0x14
mov ecx, edi
mov eax, esi
call fcn.100c1f90
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
push 0
push eax
push ecx
push 0x4a
push ebx
call fcn.100c1540
mov esi, dword [esp + 0x54]
movzx eax, word [edi + 0x32]
add esp, 0x14
push 0
lea edx, [esi + 2]
push edx
push eax
push 0x4a
push ebx
call fcn.100c1540
mov ecx, dword [esp + 0x60]
add esp, 0x14
push esi
push ecx
push 0
push 0x57
push ebx
call fcn.100c1540
mov edi, dword [ebx]
add esp, 0x14
cmp byte [edi + 0x45], 0
je 0x100da0db
mov ecx, 0x1014898c
mov eax, 0xfffffffb
call fcn.100c1c40
jmp 0x100da117
test byte [edi + 0x38], 8
movzx eax, word [edi + 0x34]
mov ecx, dword [edi]
mov dword [esp + 0x3c], eax
je 0x100da010
movzx eax, word [edi + 0x32]
sub eax, 1
jmp 0x100da013
test eax, eax
jge 0x100da0e5
mov eax, dword [ebx + 0x20]
sub eax, 1
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x100da10c
push 0x1014898c
push eax
mov eax, 0xfffffffb
mov ecx, ebx
call fcn.100c1e20
add esp, 8
jmp 0x100da117
mov dword [eax + 0x10], 0x1014898c
mov byte [eax + 1], 0xfb
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
jne 0x100da12d
mov eax, dword [ebx + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + edx*4 - 0x11], 2
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
push 0x37
push ebx
call fcn.100c1540
mov edx, dword [esp + 0x48]
add esp, 0x14
push 0
push edx
push 0
push 0x4a
push ebx
mov dword [esp + 0x70], eax
call fcn.100c1540
mov eax, dword [ebx + 0x20]
add esp, 0x14
cmp dword [esp + 0x10], 0
mov dword [esp + 0x3c], eax
jle 0x100da3e9
mov eax, ebx
call fcn.100c18c0
mov ecx, dword [esp + 0x10]
lea edx, [ecx*4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
push 0
push edx
call fcn.100a41a0
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
je 0x100da558
push 0
push 0
push 0
push 0xd
push ebx
call fcn.100c1540
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 0x20]
add esp, 0x14
cmp esi, 1
mov dword [esp + 0x3c], eax
jne 0x100da1e3
mov eax, dword [esp + 0x24]
cmp word [eax + 0x32], si
jne 0x100da1e3
cmp byte [eax + 0x36], 0
je 0x100da1e3
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0x18]
push 0
push ecx
push edx
push 0x23
push ebx
call fcn.100c1540
add esp, 0x14
test esi, esi
mov dword [esp + 0x30], 0
jle 0x100da2e2
mov edi, dword [esp + 0x30]
jmp 0x100da200
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx + edi*4]
mov esi, dword [ebp + 8]
call fcn.100dd9e0
mov edx, dword [esp + 0x34]
push 0
push edx
push edi
push 0x4a
push ebx
mov dword [esp + 0x40], eax
call fcn.100c1540
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 0x14
push esi
push edi
push eax
push 0x5e
push ebx
call fcn.100c1540
mov ecx, dword [ebp + 0x18]
add esp, 0x14
lea edx, [edi + ecx]
push edx
push 0
push esi
push 0x24
push ebx
call fcn.100c1540
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
mov esi, eax
je 0x100da274
mov ecx, dword [esp + 0x2c]
mov eax, 0xfffffffc
mov edi, edx
call fcn.100c1c40
mov edi, dword [esp + 0x30]
jmp 0x100da2b4
test esi, esi
jge 0x100da27e
mov eax, dword [ebx + 0x20]
sub eax, 1
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x100da2a5
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, 0xfffffffc
mov ecx, ebx
call fcn.100c1e20
add esp, 8
jmp 0x100da2b4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100da2b4
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfc
mov eax, dword [esp + 0x1c]
mov dword [eax + edi*4], esi
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
jne 0x100da2d1
mov eax, dword [ebx + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + edx*4 - 0x11], 0x80
add edi, 1
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x30], edi
jl 0x100da200
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
push 0
push ecx
push edi
push 0x4a
push ebx
call fcn.100c1540
mov edx, dword [esp + 0x4c]
add esp, 0x14
push 0
push edx
push 0
push 0xd
push ebx
call fcn.100c1540
mov ecx, dword [esp + 0x50]
add esp, 0x14
add ecx, 0xffffffff
mov eax, ebx
call fcn.100c1c00
xor esi, esi
test edi, edi
jle 0x100da37a
mov ecx, dword [ebx + 0x20]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*4]
mov edx, dword [ebx + 0x18]
sub ecx, 1
test eax, eax
mov dword [edx + 0x60], ecx
mov ecx, dword [ebx + 0x20]
jge 0x100da340
mov eax, ecx
sub eax, 1
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x100da34f
mov eax, 0x101725d8
jmp 0x100da358
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x18]
lea ecx, [esi + eax]
push ecx
push esi
push edx
push 0x5e
push ebx
call fcn.100c1540
add esi, 1
add esp, 0x14
cmp esi, edi
jl 0x100da321
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
mov edx, dword [esp + 0x1c]
je 0x100da39a
mov esi, dword [esp + 0x38]
lea esi, [esi*4 + 4]
sub eax, esi
mov esi, dword [ebx + 0x20]
mov dword [eax], esi
mov eax, dword [ebx + 0x20]
sub eax, 1
mov dword [ecx + 0x60], eax
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x1c8], 0
je 0x100da3b9
mov eax, edx
call fcn.100a3e80
jmp 0x100da3e9
cmp edx, dword [ecx + 0x120]
jb 0x100da3e0
cmp edx, dword [ecx + 0x124]
jae 0x100da3e0
mov eax, dword [ecx + 0x11c]
mov dword [edx], eax
add dword [ecx + 0x108], 0xffffffff
mov dword [ecx + 0x11c], edx
jmp 0x100da3e9
push edx
call fcn.100a3e10
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
push ecx
push edx
push 1
push 0x57
push ebx
call fcn.100c1540
mov edi, dword [ebx]
add esp, 0x14
cmp byte [edi + 0x45], 0
je 0x100da419
mov ecx, 0x101489a8
mov eax, 0xfffffffb
call fcn.100c1c40
jmp 0x100da455
test eax, eax
jge 0x100da423
mov eax, dword [ebx + 0x20]
sub eax, 1
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x100da44a
push 0x101489a8
push eax
mov eax, 0xfffffffb
mov ecx, ebx
call fcn.100c1e20
add esp, 8
jmp 0x100da455
mov dword [eax + 0x10], 0x101489a8
mov byte [eax + 1], 0xfb
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
jne 0x100da46b
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push 0
push edx
push eax
push 7
push ebx
call fcn.100c1540
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
add esp, 0x14
mov esi, ebx
call fcn.100d9df0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
push ecx
push 3
push edx
push 0x60
push ebx
call fcn.100c1540
mov edi, dword [ebx]
add esp, 0x14
cmp byte [edi + 0x45], 0
je 0x100da4be
mov ecx, 0x10158a94
xor eax, eax
call fcn.100c1c40
jmp 0x100da4e3
test eax, eax
jge 0x100da4c8
mov eax, dword [ebx + 0x20]
sub eax, 1
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
push 0x10158a94
push edx
xor eax, eax
mov ecx, ebx
call fcn.100c1e20
add esp, 8
mov edi, dword [esp + 0x48]
mov esi, dword [ebp + 0x14]
push 0
push edi
push esi
push 0x70
push ebx
call fcn.100c1540
mov eax, dword [esp + 0x28]
add esp, 0x14
push edi
push eax
push esi
push 0x71
push ebx
call fcn.100c1540
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x100da521
mov eax, dword [ebx + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + edx*4 - 0x11], 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov eax, dword [esp + 0x5c]
sub ecx, 1
test eax, eax
mov dword [edx + 0x60], ecx
mov ecx, dword [ebx + 0x20]
jge 0x100da53d
mov eax, ecx
sub eax, 1
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x100da54c
mov eax, 0x101725d8
jmp 0x100da555
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x14]
test edi, edi
mov dword [esp + 0x24], edi
jne 0x100d9fd0
cmp dword [ebp + 0x10], 0
jne 0x100da650
cmp byte [esp + 0xf], 0
je 0x100da650
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
push 0
push esi
push ecx
push 0x62
push ebx
call fcn.100c1540
add esp, 0x14
push 0
push 0
push esi
push 0x16
push ebx
call fcn.100c1540
mov edx, dword [esp + 0x6c]
add esp, 0x14
push 0
push edx
push 0
push 0x4d
push ebx
mov esi, eax
call fcn.100c1540
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
add esp, 0x14
push eax
push 3
push ecx
push 0x60
push ebx
call fcn.100c1540
mov edi, dword [ebx]
add esp, 0x14
cmp byte [edi + 0x45], 0
je 0x100da5ea
mov ecx, 0x10158a94
xor eax, eax
call fcn.100c1c40
jmp 0x100da60f
test eax, eax
jge 0x100da5f4
mov eax, dword [ebx + 0x20]
sub eax, 1
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea ecx, [eax + edx*4]
push 0x10158a94
push ecx
xor eax, eax
mov ecx, ebx
call fcn.100c1e20
add esp, 8
mov edx, dword [esp + 0x48]
mov edi, dword [ebp + 0x14]
push 0
push edx
push edi
push 0x70
push ebx
call fcn.100c1540
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
add esp, 0x14
push eax
push ecx
push edi
push 0x71
push ebx
call fcn.100c1540
add esp, 0x14
push 8
mov ecx, ebx
call fcn.100c1be0
add esp, 4
mov ecx, esi
mov eax, ebx
call fcn.100c1c00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret