Function at 0x1003000b
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x44]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
or eax, 0x2800
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
cmp dword [eax], ecx
push edi
sete cl
push 0x10046f28
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
call fcn.1002ff5d
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
imul eax, eax, 0x18
add eax, ecx
lea ecx, [eax - 0x18]
mov eax, dword [eax - 0x14]
mov edi, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
call fcn.1000a064
mov eax, dword [ebx + 4]
movzx ecx, word [eax + 0x16]
movzx edi, word [eax + 0x14]
sub edi, ecx
mov eax, ebx
mov dword [ebp - 0x18], edi
call fcn.1000a0c8
xor ecx, ecx
cmp dword [esi + 0x24], ecx
je 0x100300a2
mov dword [esi + 0x24], ecx
mov eax, dword [ebx + 4]
movzx eax, word [eax + 0x14]
push ecx
push edi
push dword [ebp - 4]
call fcn.1000b474
add esp, 0xc
test eax, eax
jne 0x10030270
cmp dword [ebp - 8], eax
jne 0x100300db
push eax
mov eax, dword [esi + 0x24]
push edi
push dword [ebp - 4]
call fcn.1000b474
add esp, 0xc
test eax, eax
jne 0x10030270
cmp byte [esi + 0x1e], 0
jne 0x10030270
push 0x10046f40
push esi
call fcn.1002ff5d
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
mov al, byte [esi + 0x21]
test al, al
jl 0x10030108
movsx eax, al
jmp 0x1003010f
mov eax, ebx
call fcn.1000b559
push eax
mov eax, dword [ebp - 4]
call fcn.1000b50b
mov dword [esp], 0x10046f64
push esi
call fcn.1002ff5d
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
push 0x10046f78
push esi
call fcn.1002ffa8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
push 0x10047000
push esi
call fcn.1002ffa8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
push 0x10047068
push esi
call fcn.1002ffa8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
push 0x100470e0
push esi
call fcn.1002ffa8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
push 0x10047190
push esi
call fcn.1002ffa8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
push 0x10047208
push esi
call fcn.1002ffa8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
push 0x100472a0
push esi
call fcn.1002ff5d
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
and dword [ebp - 8], eax
jmp 0x100301da
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x1004193c]
push eax
mov eax, ebx
call fcn.1000f5ce
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1004193d]
add ecx, dword [ebp - 0x14]
movzx eax, byte [eax + 0x1004193c]
mov ebx, dword [ebp - 4]
push ecx
push eax
call fcn.1000f660
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10030273
add dword [ebp - 8], 2
cmp dword [ebp - 8], 8
jl 0x100301d7
push dword [ebp - 0xc]
call fcn.1001095c
mov edi, eax
test edi, edi
pop ecx
jne 0x10030273
mov eax, ebx
call fcn.1000bf92
mov edi, eax
test edi, edi
jne 0x10030273
mov eax, ebx
call fcn.1000b559
push eax
mov eax, dword [ebp - 0xc]
call fcn.1000b50b
mov eax, dword [ebx + 4]
movzx eax, word [eax + 0x14]
pop ecx
push 1
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.1000b474
add esp, 0xc
mov edi, eax
jmp 0x10030273
push 7
pop edi
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x48], eax
mov byte [esi + 0x1c], 1
je 0x100302a1
push dword [ebx + 4]
call fcn.1000b340
and dword [ebx + 4], 0
and dword [ebx + 0x14], 0
pop ecx
xor eax, eax
mov ebx, esi
call fcn.1001f6d8
mov eax, edi
pop edi
pop ebx
leave
ret