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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x100c7034]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
cmp edx, 1
push esi
push edi
mov dword [esp + 0x14], eax
mov edi, ecx
mov dword [esp + 0x3c], eax
mov ecx, 0x100cbca4
mov eax, dword [ebp + 0xc]
mov esi, 0x100cbcb8
mov dword [esp + 0x48], eax
cmovne ecx, esi
push 0
lea eax, [esp + 0x78]
mov dword [esp + 0x1c], edx
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x24], edi
push 5
push eax
mov dword [esp + 0x34], 0
mov byte [edi + 0xa5], 1
mov dword [esp + 0x84], str.table
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], 0x100cbcc8
mov dword [esp + 0x94], str.CREATE_TABLE_x_type_text_name_text_tbl_name_text_rootpage_int_sql_text_
mov dword [esp + 0x98], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0
call fcn.10075290
mov esi, dword [esp + 0x54]
add esp, 0x10
test esi, esi
jne 0x100757d4
mov edx, dword [esp + 0x18]
mov esi, dword [edi + 0x10]
shl edx, 4
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], esi
mov ecx, dword [esi + edx + 4]
test ecx, ecx
jne 0x10075588
mov eax, dword [esi + 0x1c]
or word [eax + 0x4e], 1
xor eax, eax
jmp 0x10075831
cmp byte [ecx + 9], 0
je 0x100755a0
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x100755a0
call fcn.1002bed0
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + edx + 4]
cmp byte [ecx + 8], 0
jne 0x100755fc
push 0
xor edx, edx
call fcn.1002ef30
mov esi, eax
add esp, 4
test esi, esi
je 0x100755f0
mov ecx, esi
call fcn.100a1690
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov edx, dword [edx]
test edx, edx
je 0x100755dc
mov ecx, edi
call fcn.100191e0
mov eax, dword [esp + 0x24]
mov edx, eax
mov ecx, edi
call fcn.10019780
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
jmp 0x100757b4
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], 1
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x50]
xor ecx, ecx
mov eax, 0x28
sub eax, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov esi, dword [edi + edx + 4]
cmp byte [esi + 9], 0
mov edx, dword [esi + 4]
mov dword [esp + 0x28], edx
je 0x1007563e
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1007563e
mov ecx, esi
call fcn.1002bed0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
cmp eax, 0xf
jne 0x10075658
mov eax, dword [edx]
mov eax, dword [eax + 0x64]
add eax, dword [esi + 0x14]
mov dword [esp + ecx*4 + 0x50], eax
jmp 0x10075671
mov eax, dword [edx + 0xc]
shl ecx, 2
mov eax, dword [eax + 0x38]
add eax, dword [esp + 0x34]
add eax, ecx
mov eax, dword [esp + eax + 0x50]
bswap eax
mov dword [esp + ecx + 0x50], eax
cmp byte [esi + 9], 0
je 0x10075683
dec dword [esi + 0xc]
jne 0x10075683
mov ecx, esi
call fcn.1002be90
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
cmp ecx, 5
jl 0x10075615
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x20]
and eax, 0x2000000
or eax, 0
je 0x100756b6
xorps xmm0, xmm0
xor edx, edx
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], edx
jmp 0x100756ba
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + ecx + 0xc]
mov dword [ecx], eax
test edx, edx
je 0x1007584c
cmp dword [esp + 0x18], 0
jne 0x10075729
and dl, 3
mov ecx, 1
movzx eax, dl
cmove eax, ecx
mov byte [edi + 0x4e], al
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + edx + 0xc]
mov al, byte [edi + 0x4e]
mov byte [ecx + 0x4d], al
mov ecx, dword [esi + edx + 0xc]
cmp dword [ecx + 0x50], 0
jne 0x1007588d
mov eax, dword [esp + 0x58]
test eax, eax
jns 0x10075863
cmp eax, 0x80000000
jne 0x10075861
mov eax, 0x7fffffff
jmp 0x10075872
movzx eax, byte [edi + 0x4e]
cmp edx, eax
je 0x100756ec
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
test edx, edx
je 0x10075742
mov ecx, edi
call fcn.100191e0
mov edx, str.attached_databases_must_use_the_same_text_encoding_as_main_database
mov ecx, edi
call fcn.10019780
mov dword [esi], eax
mov esi, 1
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x100757b4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x14], eax
cmp byte [eax + 9], 0
je 0x10075786
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x10075786
mov ecx, eax
call fcn.1002bed0
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, eax
call fcn.1002fb60
test eax, eax
jne 0x1007579e
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.1002fcb0
mov eax, dword [esp + 0x14]
cmp byte [eax + 9], 0
je 0x100757b4
dec dword [eax + 0xc]
jne 0x100757b4
mov ecx, eax
call fcn.1002be90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov ecx, dword [eax + ecx + 4]
cmp byte [ecx + 9], 0
je 0x100757d0
dec dword [ecx + 0xc]
jne 0x100757d0
call fcn.1002be90
test esi, esi
je 0x1007582f
cmp esi, 7
je 0x100757e1
cmp esi, 0xc0a
jne 0x10075824
cmp byte [edi + 0x51], 0
jne 0x10075824
cmp byte [edi + 0x52], 0
jne 0x10075824
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x10075804
mov dword [edi + 0x110], 1
inc dword [edi + 0x118]
xor eax, eax
mov word [edi + 0x11c], ax
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x10075824
mov dword [eax + 0xc], 7
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.1005c6f0
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov byte [edi + 0xa5], 0
pop edi
pop esi
xor ecx, esp
call fcn.100b010b
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + eax + 0xc]
or word [eax + 0x4e], 4
jmp 0x100756f0
neg eax
test eax, eax
mov dword [esp + 0x1c], 0xfffff830
cmove eax, dword [esp + 0x1c]
mov dword [ecx + 0x50], eax
mov edx, dword [esi + edx + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + 0x50]
mov ecx, dword [esi + ecx + 4]
call fcn.1002e7e0
mov edx, dword [esp + 0x10]
mov eax, dword [esi + edx + 0xc]
mov ecx, dword [esp + 0x54]
mov byte [eax + 0x4c], cl
mov eax, dword [esi + edx + 0xc]
cmp byte [eax + 0x4c], 0
jne 0x100758a6
mov byte [eax + 0x4c], 1
mov eax, dword [esi + edx + 0xc]
cmp byte [eax + 0x4c], 4
jbe 0x100758cb
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
test edx, edx
je 0x100758c1
mov ecx, edi
call fcn.100191e0
mov edx, str.unsupported_file_format
jmp 0x10075747
cmp dword [esp + 0x18], 0
jne 0x100758e1
cmp ecx, 4
jl 0x100758e1
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfffffffd
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x10]
push dword [esp + 0x2c]
push dword [edx + eax]
push str.SELECTFROM__w_._s_ORDER_BY_rowid
push edi
call fcn.1001b6e0
mov esi, dword [edi + 0x150]
lea ecx, [esp + 0x48]
push 0
push ecx
push fcn.10075290
push eax
push edi
mov dword [esp + 0x40], eax
mov dword [edi + 0x150], 0
call fcn.10070880
mov edx, dword [esp + 0x40]
add esp, 0x24
mov dword [edi + 0x150], esi
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], eax
cmove esi, dword [esp + 0x44]
test edx, edx
je 0x10075942
mov ecx, edi
call fcn.100191e0
test esi, esi
jne 0x10075951
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.1005a8f0
cmp byte [edi + 0x51], 0
je 0x10075965
mov ecx, edi
mov esi, 7
call fcn.1005c9f0
jmp 0x10075969
test esi, esi
je 0x1007597a
mov eax, dword [edi + 0x20]
and eax, 0x8000000
or eax, 0
je 0x10075755
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax + 0xc]
or word [eax + 0x4e], 1
xor esi, esi
jmp 0x10075759