Function at 0x5952b4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x5952bc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
mov eax, dword [ebp - 8]
call fcn.00405f18
lea ebx, [ebp - 0x20]
xor eax, eax
push ebp
push 0x5956fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c748]
call fcn.00404b08
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x41c748]
call fcn.00404b08
mov dword [ebp - 0x28], eax
mov dl, 1
mov eax, dword [0x41c748]
call fcn.00404b08
mov dword [ebp - 0x2c], eax
mov eax, 0x2800
call fcn.00402fc0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5956cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405f28
push eax
call fcn.00540bf0
test eax, eax
je 0x595357
call fcn.00405498
jmp 0x5956d3
lea eax, [ebp - 0x1c]
push eax
push 0x59570c
mov eax, dword [ebp - 0x18]
push eax
call fcn.005408ec
test eax, eax
je 0x595380
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
call fcn.00405498
jmp 0x5956d3
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540944
test eax, eax
je 0x5953e3
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
jmp 0x5953e3
mov dword [ebp - 0x14], 0x2800
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebx]
push eax
call fcn.00540d94
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00405c90
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
push eax
call fcn.005405ac
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540994
cmp eax, 0x103
jne 0x5953ac
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jbe 0x5955de
mov dword [ebp - 0x30], eax
mov esi, 1
lea eax, [ebp - 0x1c]
push eax
push 0x595734
lea ecx, [ebp - 0x3c]
mov edx, esi
dec edx
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x3c]
push 0x595778
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405e2c
mov eax, dword [ebp - 0x38]
call fcn.00405f28
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.005408ec
test eax, eax
je 0x595473
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
call fcn.00405498
jmp 0x5956d3
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540944
test eax, eax
je 0x5954d6
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
jmp 0x5954d6
mov dword [ebp - 0x14], 0x2800
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebx]
push eax
call fcn.00540d94
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00405c90
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
push eax
call fcn.005405ac
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540994
cmp eax, 0x103
jne 0x59549f
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
lea eax, [ebp - 0x1c]
push eax
push 0x595734
lea ecx, [ebp - 0x48]
mov edx, esi
dec edx
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x48]
push 0x595794
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405e2c
mov eax, dword [ebp - 0x44]
call fcn.00405f28
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.005408ec
test eax, eax
je 0x59554e
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
call fcn.00405498
jmp 0x5956d3
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540944
test eax, eax
je 0x5955b1
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
jmp 0x5955b1
mov dword [ebp - 0x14], 0x2800
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebx]
push eax
call fcn.00540d94
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.00405c90
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
push eax
call fcn.005405ac
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540994
cmp eax, 0x103
jne 0x59557a
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540a34
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005405ac
inc esi
dec dword [ebp - 0x30]
jne 0x59541e
mov eax, dword [ebp - 0x18]
push eax
call fcn.005405ac
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
je 0x595607
call fcn.00405498
jmp 0x5956d3
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x59561d
call fcn.00405498
jmp 0x5956d3
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jbe 0x59569e
mov dword [ebp - 0x30], eax
mov esi, 1
push 0
push 1
push 0x5957b4
lea ecx, [ebp - 0x54]
mov ebx, esi
dec ebx
mov edx, ebx
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x54]
push 0x5957c0
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00405e2c
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.0040bbcc
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00589dcc
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 8]
pop edx
call fcn.00589c00
mov dword [ebp - 0xc], eax
inc esi
dec dword [ebp - 0x30]
jne 0x595631
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5956d3
mov eax, dword [ebp - 0x2c]
call fcn.00404b38
mov eax, dword [ebp - 0x28]
call fcn.00404b38
mov eax, dword [ebp - 0x24]
call fcn.00404b38
mov eax, dword [ebp - 0x10]
call fcn.00402fdc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x595702
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.00405abc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405abc
ret