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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
push esi
push edi
je 0x10079f53
push eax
call dword [0x100c64a4]
add esp, 4
mov edi, dword [ebx + 0x18]
call fcn.100207e0
mov eax, dword [ebx]
test eax, eax
je 0x10079f72
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10079f72
push eax
call dword [0x100c64a4]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x10079f87
cmp esi, 5
je 0x10079f87
cmp esi, 6
jne 0x1007a91d
cmp dword [ebx], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 4]
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 0
je 0x10079fbf
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 2
jne 0x10079fbf
mov esi, 5
jmp 0x1007a072
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x10079ff3
push 2
push ecx
call fcn.1006aee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007a072
mov eax, dword [ebx + 4]
lea ecx, [ebx + 8]
push ecx
push 1
mov dword [ebx + 0xc], 1
call fcn.10024920
add esp, 8
mov eax, dword [ebx + 0x18]
cmp byte [eax + 8], 0
mov dword [esp + 0x18], eax
jne 0x1007a072
mov edi, eax
mov esi, dword [edi + 4]
mov dword [esp + 0x10], 0
call fcn.100207e0
mov edx, edi
mov al, byte [edx + 8]
cmp al, 2
je 0x1007a040
cmp al, 1
je 0x1007a040
movzx ecx, word [esi + 0x16]
test cl, 0x40
je 0x1007a13c
mov eax, dword [esi + 0x4c]
cmp dword [eax], 0
je 0x1007a13c
mov dword [esp + 0x10], 0x106
mov edi, edx
cmp byte [edi + 9], 0
je 0x1007a066
add dword [edi + 0xc], 0xffffffff
jne 0x1007a066
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x1007a062
push eax
call dword [0x100c64ac]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x38], 1
test esi, esi
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x20]
mov eax, dword [eax]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], eax
jne 0x1007a0a6
cmp eax, 5
jne 0x1007a0a6
cmp edx, edi
je 0x1007a0a6
lea esi, [eax + 3]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0x1007a0c6
cmp dword [esp + 0x24], eax
jge 0x1007a25a
mov edi, dword [ebx + 0x10]
cmp edi, dword [esp + 0x18]
ja 0x1007a25a
test esi, esi
jne 0x1007a2a0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [0x100c6560]
xor edx, edx
div dword [ecx + 0x20]
add eax, 1
cmp edi, eax
je 0x1007a12b
mov eax, dword [esp + 0x34]
push 2
lea edx, [esp + 0x34]
push edx
push edi
push eax
call fcn.100670a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1007a12b
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
push esi
push eax
push edi
push ebx
call fcn.100448f0
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 0x10
call fcn.100250b0
mov eax, 1
add dword [ebx + 0x10], eax
add dword [esp + 0x24], eax
jmp 0x1007a0b5
mov edi, edx
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
je 0x1007a17d
cmp dword [eax + 0x4c], edi
je 0x1007a15f
test byte [eax + 0x16], 0x20
je 0x1007a15f
mov dword [esp + 0x10], 0x106
jmp 0x1007a042
mov eax, dword [eax + 0x48]
test eax, eax
je 0x1007a17d
cmp dword [eax], edi
je 0x1007a176
cmp dword [eax + 4], 1
jne 0x1007a176
cmp byte [eax + 8], 1
jne 0x1007a152
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1007a166
mov eax, ecx
and eax, 0xfff7
cmp dword [esi + 0x2c], 0
mov dword [esp + 0x10], 0
mov word [esi + 0x16], ax
jne 0x1007a19d
or eax, 8
mov word [esi + 0x16], ax
cmp dword [esi + 0xc], 0
jne 0x1007a1b4
mov eax, esi
call fcn.100693f0
test eax, eax
mov dword [esp + 0x10], eax
je 0x1007a19d
jmp 0x1007a1bb
cmp dword [esp + 0x10], 0
je 0x1007a1d4
cmp byte [esi + 0x14], 0
jne 0x1007a1d4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1007a1d4
call fcn.10024d00
mov dword [esi + 0xc], 0
cmp byte [esp + 0x10], 5
jne 0x1007a214
cmp byte [esi + 0x14], 0
jne 0x1007a214
mov edi, dword [esi + 4]
add edi, 0x1b4
je 0x1007a214
mov ecx, dword [edi]
test ecx, ecx
je 0x1007a214
mov eax, dword [edi + 8]
test eax, eax
jl 0x1007a214
mov edx, dword [edi + 4]
push eax
push edx
call ecx
add esp, 8
test eax, eax
je 0x1007a20d
add dword [edi + 8], 1
jmp 0x1007a19d
mov dword [edi + 8], 0xffffffff
cmp dword [esp + 0x10], 0
mov edi, dword [esp + 0x18]
jne 0x1007a042
cmp byte [edi + 8], 0
jne 0x1007a243
add dword [esi + 0x28], 1
cmp byte [edi + 9], 0
je 0x1007a243
mov byte [edi + 0x24], 1
mov eax, dword [esi + 0x48]
lea ecx, [edi + 0x1c]
mov dword [edi + 0x28], eax
mov dword [esi + 0x48], ecx
mov byte [edi + 8], 1
cmp byte [esi + 0x14], 1
jae 0x1007a042
mov byte [esi + 0x14], 1
jmp 0x1007a042
test esi, esi
jne 0x1007a2a0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
mov edx, ecx
sub edx, eax
add edx, 1
cmp eax, ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x20], edx
ja 0x1007a2ad
cmp dword [ebx + 0x28], esi
jne 0x1007a78e
mov ecx, ebx
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov edx, dword [eax + 0x58]
add eax, 0x58
mov dword [ecx + 0x2c], edx
mov dword [eax], ecx
mov dword [ecx + 0x28], 1
jmp 0x1007a78e
cmp esi, 0x65
jne 0x1007a78e
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x1007a308
mov ebx, dword [ebx + 4]
mov edi, ebx
call fcn.100207e0
mov eax, dword [ebx + 4]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebx + 4]
push ecx
call fcn.10063e80
add esp, 4
cmp byte [ebx + 9], 0
mov esi, eax
je 0x1007a2f7
add dword [ebx + 0xc], 0xffffffff
jne 0x1007a2f7
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x1007a2f3
push eax
call dword [0x100c64ac]
add esp, 4
mov byte [ebx + 0xa], 0
test esi, esi
mov dword [esp + 0x18], 1
je 0x1007a308
cmp esi, 0x65
jne 0x1007a37b
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov esi, dword [edi + 4]
add ebx, 1
call fcn.100207e0
mov eax, dword [esi + 0xc]
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x44]
push eax
call fcn.1003fe40
add esp, 4
test eax, eax
mov dword [esp + 0x30], eax
jne 0x1007a351
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0x28], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [esi + 0x29], dl
mov byte [esi + 0x2a], cl
mov byte [esi + 0x2b], bl
cmp byte [edi + 9], 0
je 0x1007a379
add dword [edi + 0xc], 0xffffffff
jne 0x1007a379
mov edx, dword [edi + 4]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x1007a375
push ecx
call dword [0x100c64ac]
mov eax, dword [esp + 0x34]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, eax
test esi, esi
jne 0x1007a78e
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
je 0x1007a391
call fcn.1003e5b0
cmp dword [esp + 0x3c], 5
jne 0x1007a3b0
mov eax, dword [edi + 4]
push 2
push eax
call fcn.1006ba00
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007a78e
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x10]
jge 0x1007a3ef
mov eax, dword [esp + 0x10]
cdq
idiv ebx
mov edx, dword [esp + 0x18]
mov ecx, eax
lea eax, [ecx + edx - 1]
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [0x100c6560]
div dword [ecx + 0x20]
add eax, 1
cmp edi, eax
jne 0x1007a3fd
sub edi, 1
jmp 0x1007a3fd
mov eax, ebx
cdq
idiv dword [esp + 0x10]
mov edi, eax
imul edi, dword [esp + 0x18]
cmp ebx, dword [esp + 0x10]
jge 0x1007a6aa
mov eax, ebx
cdq
mov ecx, eax
mov eax, dword [esp + 0x18]
mov ebx, edx
push ebx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
call fcn.10008f60
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], eax
mov edi, edi
cmp edi, dword [esp + 0x3c]
ja 0x1007a498
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [0x100c6560]
xor edx, edx
div dword [ecx + 0x20]
add eax, 1
cmp edi, eax
je 0x1007a48f
push 0
lea edx, [esp + 0x34]
push edx
push edi
push ebx
call fcn.100670a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1007a48f
mov eax, dword [esp + 0x30]
push eax
call fcn.1003fe40
mov esi, eax
mov eax, dword [esp + 0x34]
add esp, 4
call fcn.100250b0
add edi, 1
test esi, esi
je 0x1007a440
jmp 0x1007a4ab
test esi, esi
jne 0x1007a4ab
push 1
push esi
mov eax, ebx
call fcn.100698c0
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x10]
mov edi, dword [0x100c6560]
lea eax, [edi + ecx]
mov ecx, dword [esp + 0x44]
cdq
cmp edx, ecx
jg 0x1007a4d3
jl 0x1007a4c9
cmp eax, dword [esp + 0x40]
jae 0x1007a4d3
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x1007a4df
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x28]
add eax, edi
test esi, esi
cdq
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jne 0x1007a78e
jmp 0x1007a500
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x1c], ecx
jg 0x1007a618
jl 0x1007a51e
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x18], edx
jae 0x1007a618
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
push 0
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x48], 0
call fcn.10005dd0
mov ecx, dword [esp + 0x3c]
add eax, 1
push eax
push ecx
call fcn.100670a0
mov ebx, dword [esp + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1007a581
mov esi, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov esi, eax
test ebx, ebx
je 0x1007a5fb
test byte [ebx + 0x18], 0x40
mov edi, dword [ebx + 0x10]
je 0x1007a5d9
add dword [edi + 0x78], 0xffffffff
mov ecx, dword [edi + 0x88]
mov dword [ebx + 0xc], ecx
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x88], ebx
mov eax, dword [eax]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x14]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x98]
cdq
push edx
push eax
sub ecx, 1
push 0
push ecx
call fcn.10008f60
push edx
push eax
mov eax, dword [edi + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x48]
call edx
add esp, 0x10
jmp 0x1007a5e0
mov eax, ebx
call fcn.1001ca10
cmp dword [edi + 0x78], 0
jne 0x1007a5fb
mov eax, dword [edi + 0xdc]
cmp dword [eax + 0xc], 0
jne 0x1007a5fb
push edi
call fcn.10065200
add esp, 4
mov ecx, dword [esp + 0x48]
add dword [esp + 0x18], ecx
mov edx, dword [esp + 0x4c]
adc dword [esp + 0x1c], edx
test esi, esi
je 0x1007a500
jmp 0x1007a78e
test esi, esi
jne 0x1007a78e
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x48]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0x1007a661
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
cmp edx, ecx
jl 0x1007a661
jg 0x1007a650
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x40]
jbe 0x1007a661
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push esi
call edx
add esp, 0xc
test eax, eax
mov esi, eax
jne 0x1007a78e
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x3c]
cmp dword [ecx], eax
je 0x1007a692
mov eax, dword [ecx]
push 0
push 0x15
push ecx
mov ecx, dword [eax + 0x28]
call ecx
add esp, 0xc
cmp eax, 0xc
jne 0x1007a68e
xor eax, eax
jmp 0x1007a692
test eax, eax
jne 0x1007a6bd
cmp byte [esi + 7], 0
jne 0x1007a6bd
movzx ecx, byte [esi + 0xb]
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
jmp 0x1007a6ba
mov eax, dword [esp + 0x2c]
push 0
push 0
mov dword [eax + 0x18], edi
call fcn.100698c0
add esp, 8
mov esi, eax
test esi, esi
jne 0x1007a78e
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
cmp byte [edi + 8], al
je 0x1007a789
call fcn.100207e0
cmp byte [edi + 8], 2
jne 0x1007a760
mov ebx, dword [edi + 4]
mov esi, dword [ebx]
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esp + 0x3c], ebx
jne 0x1007a81f
cmp byte [esi + 0x10], 2
jne 0x1007a7f5
cmp byte [esi + 4], al
je 0x1007a7f5
cmp byte [esi + 5], 1
jne 0x1007a7f5
mov byte [esi + 0x10], 1
mov eax, dword [ebx + 0x3c]
test eax, eax
mov byte [ebx + 0x14], 1
mov dword [esp + 0x34], eax
je 0x1007a759
cmp dword [eax + 8], 0
je 0x1007a748
mov esi, eax
add esi, 0xc
mov ebx, 0x7d
mov ecx, dword [esi]
push ecx
call fcn.10021a80
add esp, 4
add esi, 4
sub ebx, 1
jne 0x1007a735
mov edx, dword [esp + 0x34]
push edx
call sym.SQLite.Interop.dll_sqlite3_free
mov ebx, dword [esp + 0x40]
add esp, 4
mov dword [ebx + 0x3c], 0
call fcn.1002a460
cmp byte [edi + 9], 0
je 0x1007a789
add dword [edi + 0xc], 0xffffffff
jne 0x1007a789
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1007a785
push eax
call dword [0x100c64ac]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, 0x65
cmp dword [esp + 0x38], 0
je 0x1007a908
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
push 0
call fcn.10078930
mov ebx, dword [edi + 0x18]
add esp, 4
cmp byte [ebx + 8], 0
je 0x1007a908
mov edi, ebx
call fcn.100207e0
cmp byte [ebx + 8], 2
jne 0x1007a8dd
mov ecx, dword [ebx + 4]
mov edi, dword [ecx]
mov eax, dword [edi + 0x28]
test eax, eax
mov dword [esp + 0x30], ecx
jne 0x1007a8e4
cmp byte [edi + 0x10], 2
jne 0x1007a85a
cmp byte [edi + 4], al
je 0x1007a85a
cmp byte [edi + 5], 1
jne 0x1007a85a
mov byte [edi + 0x10], 1
jmp 0x1007a88c
movzx edx, byte [esi + 0x13]
push 1
push edx
mov eax, esi
call fcn.10026e00
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x1007a818
cmp ecx, 0xa
jne 0x1007a81f
mov dword [esi + 0x28], eax
mov byte [esi + 0x10], 6
mov esi, eax
test esi, esi
je 0x1007a716
cmp byte [edi + 9], 0
je 0x1007a78e
add dword [edi + 0xc], 0xffffffff
jne 0x1007a78e
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1007a851
push eax
call dword [0x100c64ac]
add esp, 4
mov byte [edi + 0xa], 0
jmp 0x1007a78e
movzx ecx, byte [edi + 0x13]
push 1
push ecx
mov eax, edi
call fcn.10026e00
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x1007a87d
cmp ecx, 0xa
jne 0x1007a884
mov dword [edi + 0x28], eax
mov byte [edi + 0x10], 6
test eax, eax
mov ecx, dword [esp + 0x30]
jne 0x1007a8e4
mov eax, dword [ecx + 0x3c]
test eax, eax
mov byte [ecx + 0x14], 1
mov dword [esp + 0x34], eax
je 0x1007a8d6
cmp dword [eax + 8], 0
je 0x1007a8c5
mov edi, eax
add edi, 0xc
mov dword [esp + 0x38], 0x7d
mov edi, edi
mov eax, dword [edi]
push eax
call fcn.10021a80
add esp, 4
add edi, 4
sub dword [esp + 0x38], 1
jne 0x1007a8b0
mov ecx, dword [esp + 0x34]
push ecx
call sym.SQLite.Interop.dll_sqlite3_free
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ecx + 0x3c], 0
mov edi, ebx
call fcn.1002a460
cmp byte [ebx + 9], 0
je 0x1007a908
add dword [ebx + 0xc], 0xffffffff
jne 0x1007a908
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x1007a904
push eax
call dword [0x100c64ac]
add esp, 4
mov byte [ebx + 0xa], 0
cmp esi, 0xc0a
jne 0x1007a915
mov esi, 7
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], esi
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x1007a934
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1007a934
push eax
call dword [0x100c64ac]
add esp, 4
mov edi, dword [ebx + 0x18]
cmp byte [edi + 9], 0
je 0x1007a95b
add dword [edi + 0xc], 0xffffffff
jne 0x1007a95b
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x1007a957
push eax
call dword [0x100c64ac]
add esp, 4
mov byte [edi + 0xa], 0
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x1007a96f
push eax
call dword [0x100c64ac]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret