Function at 0x5bd768
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x5bd771
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x5bdbc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405704
mov dl, 1
mov eax, dword [0x5d4610]
call fcn.005d4694
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x5bdb6f
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0040ace0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 0x5bdbd8
call fcn.00405a48
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5bdb52
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x16c]
test eax, eax
jne 0x5bd809
call fcn.00405124
call fcn.00405124
jmp 0x5bdb76
mov edx, 0x5bdc14
mov eax, dword [ebp - 0xc]
call fcn.0055d44c
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a8e0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
call fcn.0040a298
mov edx, 0x5bdc2c
mov eax, dword [ebp - 0xc]
call fcn.0055d44c
mov edx, dword [eax]
call dword [edx + 0x58]
mov esi, eax
mov eax, dword [ebp - 8]
mov edx, 0x5bdc44
call fcn.00405b58
jne 0x5bd970
lea eax, [ebp - 4]
mov edx, 0x5bdc54
call fcn.0040579c
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0040c20c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.0040579c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x5bd969
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x16c]
test eax, eax
jle 0x5bd94d
mov eax, dword [ebp - 0x10]
call fcn.0055e978
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x16c]
mov esi, eax
test esi, esi
jle 0x5bd92c
mov edi, 1
push dword [ebx]
lea edx, [ebp - 0x30]
mov eax, edi
call fcn.0040ace0
push dword [ebp - 0x30]
push 0x5bdcac
mov edx, 0x5bdcb4
mov eax, dword [ebp - 0x10]
call fcn.0055d44c
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040a8e0
push dword [ebp - 0x34]
push 0x5bdccc
mov eax, ebx
mov edx, 5
call fcn.00405ac4
mov eax, dword [ebp - 0x10]
call fcn.0055ebf8
inc edi
dec esi
jne 0x5bd8d8
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x5bd93d
sub esi, 4
mov esi, dword [esi]
push ebx
mov ecx, esi
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00405c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bdb36
cmp dword [ebp - 0x10], 0
je 0x5bd968
mov eax, dword [ebp - 0x10]
call fcn.00404700
ret
mov eax, dword [ebp - 8]
mov edx, 0x5bdcd8
call fcn.00405b58
jne 0x5bda98
lea eax, [ebp - 4]
mov edx, 0x5bdce8
call fcn.0040579c
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0040c20c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 4]
call fcn.0040579c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x5bda91
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x16c]
test eax, eax
jle 0x5bda75
mov eax, dword [ebp - 0x10]
call fcn.0055e978
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x16c]
mov esi, eax
test esi, esi
jle 0x5bda54
mov edi, 1
push dword [ebx]
lea edx, [ebp - 0x44]
mov eax, edi
call fcn.0040ace0
push dword [ebp - 0x44]
push 0x5bdcac
mov edx, 0x5bdcb4
mov eax, dword [ebp - 0x10]
call fcn.0055d44c
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0040a8e0
push dword [ebp - 0x48]
push 0x5bdccc
mov eax, ebx
mov edx, 5
call fcn.00405ac4
mov eax, dword [ebp - 0x10]
call fcn.0055ebf8
inc edi
dec esi
jne 0x5bda00
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x5bda65
sub esi, 4
mov esi, dword [esi]
push ebx
mov ecx, esi
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00405c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bdb36
cmp dword [ebp - 0x10], 0
je 0x5bda90
mov eax, dword [ebp - 0x10]
call fcn.00404700
ret
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], 0
lea edx, [ebp - 0x64]
mov ecx, 2
mov eax, 0x5bdd40
call fcn.0040c20c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5bdb2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x16c]
test eax, eax
jle 0x5bdb13
mov edx, 0x5bdcb4
mov eax, dword [ebp - 0x10]
call fcn.0055d44c
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x68]
mov edx, ebx
call fcn.0040a8e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bdb36
cmp dword [ebp - 0x10], 0
je 0x5bdb2e
mov eax, dword [ebp - 0x10]
call fcn.00404700
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bdbc7
lea eax, [ebp - 0x68]
call fcn.00405704
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00405728
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405728
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405728
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405728
ret