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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10165004]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], esi
test edi, edi
jne 0x1006b27a
cmp dword [ebx + 0x78], edi
jne 0x1006b267
test byte [esi + 0x50], 8
jne 0x1006b267
mov byte [ebx + 0x17], 1
call fcn.10043b20
mov edi, eax
test edi, edi
je 0x1006b457
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x10]
mov eax, edx
shl eax, 4
add ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
xor esi, esi
nop
mov eax, dword [esi*8 + 0x10150bc0]
mov dword [esp + 0x10], eax
cmp esi, 3
jae 0x1006b469
push dword [ecx]
mov ecx, dword [esp + 0x24]
mov edx, eax
mov byte [esp + esi + 0x18], 0
call fcn.1006f120
add esp, 4
test eax, eax
jne 0x1006b328
cmp esi, 1
jge 0x1006b2ed
push dword [esi*8 + 0x10150bc4]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
push dword [eax]
push str.CREATE_TABLE__Q._s__s_
push ebx
call fcn.1006f000
mov eax, dword [ebx + 0x60]
add esp, 0x14
mov dword [esp + esi*4 + 0x30], eax
mov byte [esp + esi + 0x14], 0x10
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, 3
jl 0x1006b290
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x1006b3f6
push edx
push dword [esp + 0x34]
mov edx, 0x71
mov ecx, edi
push dword [ebp + 8]
call fcn.10043d60
add esp, 0xc
lea ebx, [edi + 0x68]
mov esi, eax
jmp 0x1006b427
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + esi*4 + 0x30], edx
cmp ecx, 1
je 0x1006b36e
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
mov ecx, dword [esp + 0xc]
cmp byte [eax + 9], 0
je 0x1006b36e
push dword [esp + 0x10]
push 1
push edx
mov edx, ecx
mov ecx, ebx
call fcn.1006e630
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006b398
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push dword [esp + 0x18]
push dword [eax]
push str.DELETE_FROM__Q._s_WHERE__s_Q
push ebx
call fcn.1006f000
add esp, 0x18
jmp 0x1006b2ed
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x70], eax
jg 0x1006b3bc
push 0
push ecx
push edx
mov edx, 0x91
mov ecx, edi
call fcn.10043d60
add esp, 0xc
jmp 0x1006b2ed
mov edx, dword [esp + 0x1c]
inc eax
mov dword [edi + 0x6c], eax
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1006b2f1
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ebx, [edi + 0x68]
mov eax, dword [ebx]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x1006b441
mov eax, dword [ebx]
lea ecx, [esi + esi*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 3
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x1006b457
movzx edx, byte [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10129131
mov esp, ebp
pop ebp
ret
call fcn.10129610
int3