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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x102d2008]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov edi, edx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], ecx
test edi, edi
je 0x10079dcb
cmp byte [edi], cl
je 0x10079dcb
xor esi, esi
jmp 0x10079dd0
mov esi, 1
test edi, edi
je 0x10079e0d
mov ecx, str.:memory:
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10079e00
test dl, dl
je 0x10079dfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10079e00
add eax, 2
add ecx, 2
test dl, dl
jne 0x10079de0
xor eax, eax
jmp 0x10079e05
sbb eax, eax
or eax, 1
test eax, eax
je 0x10079e25
mov eax, dword [esp + 0x14]
test esi, esi
je 0x10079e17
cmp byte [eax + 0x50], 2
je 0x10079e25
mov eax, dword [ebp + 0x14]
test al, al
js 0x10079e28
mov ecx, dword [ebp + 0x10]
xor edx, edx
jmp 0x10079e33
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, 1
or ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
test eax, 0x100
je 0x10079e57
test edx, edx
jne 0x10079e4a
test esi, esi
je 0x10079e57
and eax, 0xfffffeff
or eax, 0x200
mov dword [ebp + 0x14], eax
push 0
push 0x30
call fcn.100656f0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10079f09
push 0x30
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [ebx], eax
mov dword [ebx + 0x20], ebx
mov dword [ebx + 0x24], 1
test esi, esi
jne 0x1007a07a
mov eax, dword [ebp + 0x14]
cmp dword [esp + 0x28], esi
je 0x10079ea3
test al, 0x40
je 0x1007a07a
test eax, 0x20000
je 0x1007a07a
test edi, edi
jne 0x10079eb6
xor ecx, ecx
jmp 0x10079ecf
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079ec0
sub ecx, edx
and ecx, 0x3fffffff
mov eax, dword [esp + 0x20]
lea esi, [ecx + 1]
mov eax, dword [eax + 8]
lea edi, [eax + 1]
cmp edi, esi
cmovg ecx, eax
mov eax, ecx
cdq
add eax, 1
adc edx, 0
push edx
push eax
call fcn.100656f0
add esp, 8
mov dword [esp + 0x1c], eax
mov byte [ebx + 9], 1
test eax, eax
jne 0x10079f23
push ebx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x28], 0
je 0x10079fb0
push esi
push dword [esp + 0x28]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, 4
call fcn.100652d0
mov dword [esp + 0x34], eax
test eax, eax
je 0x10079f58
push eax
call dword [0x102d3570]
add esp, 4
mov ecx, 2
call fcn.100652d0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10079f74
push eax
call dword [0x102d3570]
add esp, 4
mov edi, dword [0x102dff68]
test edi, edi
je 0x1007a054
mov esi, dword [edi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xa8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007a000
test dl, dl
je 0x10079fac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007a000
add eax, 2
add ecx, 2
test dl, dl
jne 0x10079f90
xor eax, eax
jmp 0x1007a005
push eax
mov byte [eax], 0
mov eax, dword [esp + 0x24]
push edi
push dword [esp + 0x2c]
push eax
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
je 0x10079f3c
push dword [esp + 0x1c]
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1007a011
mov eax, dword [esp + 0x20]
cmp dword [esi], eax
je 0x1007a01e
mov edi, dword [edi + 0x48]
test edi, edi
jne 0x10079f82
jmp 0x1007a054
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, 1
js 0x1007a04e
mov eax, dword [eax + 0x10]
mov ecx, edx
shl ecx, 4
add eax, 4
add ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x1007a046
cmp dword [eax + 4], edi
je 0x1007a135
sub ecx, 0x10
sub edx, 1
jns 0x1007a037
mov dword [ebx + 4], edi
inc dword [edi + 0x44]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007a066
push eax
call dword [0x102d3578]
add esp, 4
push dword [esp + 0x1c]
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
test edi, edi
jne 0x1007a2e5
push 0
push 0x58
call fcn.100656f0
mov edi, eax
add esp, 8
test edi, edi
je 0x1007a3fd
push 0x58
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x1007a3fd
push ecx
push dword [ebp + 0x14]
mov edx, edi
push dword [esp + 0x38]
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
call fcn.10072af0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007a405
mov edx, dword [esp + 0x14]
mov ecx, dword [edi]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x80], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x84], eax
call fcn.10071fb0
mov esi, dword [edi]
lea eax, [esp + 0x38]
push 0x64
push 0
push eax
mov dword [esp + 0x1c], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x3c]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x1007a188
push 0
push 0
push 0x64
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
xor ecx, ecx
add esp, 0x14
cmp eax, 0x20a
cmove eax, ecx
mov dword [esp + 0x10], eax
jmp 0x1007a18a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007a147
push eax
call dword [0x102d3578]
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1007a159
push ecx
call dword [0x102d3578]
add esp, 4
push dword [esp + 0x1c]
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov eax, 0x13
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret
xor eax, eax
test eax, eax
jne 0x1007a405
mov eax, dword [esp + 0x30]
mov byte [edi + 0x10], al
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + 0xb0], 0x10079d20
lea ecx, [eax + 0xb0]
mov dword [eax + 0xb4], edi
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
test edx, edx
je 0x1007a1cd
push ecx
push 0xf
push eax
mov eax, dword [edx + 0x28]
call eax
add esp, 0xc
mov dword [ebx + 4], edi
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp byte [eax + 0xe], 0
je 0x1007a1eb
or word [edi + 0x18], 1
movzx ecx, byte [esp + 0x49]
movzx eax, byte [esp + 0x48]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov dword [edi + 0x24], ecx
cmp ecx, 0x200
jb 0x1007a23e
cmp ecx, 0x10000
ja 0x1007a23e
lea eax, [ecx - 1]
test ecx, eax
jne 0x1007a23e
mov cl, byte [esp + 0x4c]
or word [edi + 0x18], 2
mov eax, dword [esp + 0x6c]
bswap eax
test eax, eax
setne al
mov byte [edi + 0x11], al
mov eax, dword [esp + 0x78]
bswap eax
test eax, eax
setne al
mov byte [edi + 0x12], al
jmp 0x1007a25b
cmp dword [esp + 0x24], 0
mov dword [edi + 0x24], 0
je 0x1007a259
cmp dword [esp + 0x28], 0
jne 0x1007a259
mov word [edi + 0x11], 0
xor cl, cl
movzx eax, cl
lea edx, [edi + 0x24]
mov ecx, dword [edi]
push eax
mov dword [esp + 0x30], eax
call fcn.10072050
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007a405
mov eax, dword [edi + 0x24]
sub eax, dword [esp + 0x2c]
mov dword [edi + 0x28], eax
mov dword [edi + 0x44], 1
mov al, byte [ebx + 9]
test al, al
je 0x1007a2e5
mov ecx, 2
call fcn.100652d0
cmp byte [0x102d3524], 0
mov esi, eax
je 0x1007a2bb
xor ecx, ecx
call fcn.100652d0
mov dword [edi + 0x3c], eax
test eax, eax
je 0x1007a3fd
test esi, esi
je 0x1007a2c9
push esi
call dword [0x102d3570]
add esp, 4
mov eax, dword [0x102dff68]
mov dword [edi + 0x48], eax
mov dword [0x102dff68], edi
test esi, esi
je 0x1007a2e5
push esi
call dword [0x102d3578]
add esp, 4
mov al, byte [ebx + 9]
test al, al
je 0x1007a368
mov eax, dword [esp + 0x14]
xor edx, edx
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x1007a368
mov ecx, dword [eax + 0x10]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x1007a30f
cmp byte [eax + 9], 0
jne 0x1007a319
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x1007a303
jmp 0x1007a368
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1007a329
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x1007a320
mov edx, dword [ebx + 4]
cmp edx, dword [eax + 4]
jae 0x1007a340
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov dword [eax + 0x1c], ebx
jmp 0x1007a368
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1007a355
cmp dword [ecx + 4], edx
jae 0x1007a355
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1007a347
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
test ecx, ecx
je 0x1007a365
mov dword [ecx + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov esi, dword [esp + 0x18]
mov dword [esi], ebx
cmp dword [esp + 0x10], 0
jne 0x1007a409
mov al, byte [ebx + 9]
mov esi, dword [ebx + 4]
test al, al
je 0x1007a3a7
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x1007a396
mov ecx, ebx
call fcn.10077eb0
mov al, byte [ebx + 9]
test al, al
je 0x1007a3a7
add dword [ebx + 0xc], 0xffffffff
jne 0x1007a3a7
mov ecx, ebx
call fcn.10077e70
cmp dword [esi + 0x34], 0
jne 0x1007a3e1
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov esi, dword [eax + 0xe4]
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x18]
cdq
push edx
push eax
push 0
push 0x1f4000
mov dword [esi + 0x10], 0xfffff830
call fcn.10180a00
push eax
push dword [esi + 0x2c]
call dword [0x102d3598]
add esp, 8
mov eax, dword [edi]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
test edx, edx
je 0x1007a432
lea eax, [edi + 4]
push eax
mov eax, dword [edx + 0x28]
push 0x1e
push ecx
call eax
add esp, 0xc
jmp 0x1007a432
mov dword [esp + 0x10], 7
mov esi, dword [esp + 0x18]
test edi, edi
je 0x1007a41a
mov ecx, dword [edi]
test ecx, ecx
je 0x1007a41a
xor edx, edx
call fcn.100722d0
push edi
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
push ebx
call sym.BasicSQLite.dll_sqlite3_free
add esp, 4
mov dword [esi], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1007a444
push eax
call dword [0x102d3578]
add esp, 4
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010eeaf
mov esp, ebp
pop ebp
ret