Function at 0x595010
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x595018
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ec4
mov eax, dword [ebp - 8]
call fcn.00405ec4
lea ebx, [ebp - 0x20]
xor eax, eax
push ebp
push 0x595457
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c6f4]
call fcn.00404ab4
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x41c6f4]
call fcn.00404ab4
mov dword [ebp - 0x28], eax
mov dl, 1
mov eax, dword [0x41c6f4]
call fcn.00404ab4
mov dword [ebp - 0x2c], eax
mov eax, 0x2800
call fcn.00402fb0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x595428
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405ed4
push eax
call fcn.00540b70
test eax, eax
je 0x5950b3
call fcn.00405444
jmp 0x59542f
lea eax, [ebp - 0x1c]
push eax
push 0x595468
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054086c
test eax, eax
je 0x5950dc
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054052c
call fcn.00405444
jmp 0x59542f
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005408c4
test eax, eax
je 0x59513f
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005409b4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0054052c
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054052c
jmp 0x59513f
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.00540d14
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00405c3c
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.0054052c
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540914
cmp eax, 0x103
jne 0x595108
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005409b4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0054052c
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jbe 0x59533a
mov dword [ebp - 0x30], eax
mov esi, 1
lea eax, [ebp - 0x1c]
push eax
push 0x595490
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 0x5954d4
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405dd8
mov eax, dword [ebp - 0x38]
call fcn.00405ed4
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054086c
test eax, eax
je 0x5951cf
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054052c
call fcn.00405444
jmp 0x59542f
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005408c4
test eax, eax
je 0x595232
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005409b4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0054052c
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054052c
jmp 0x595232
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.00540d14
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00405c3c
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.0054052c
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540914
cmp eax, 0x103
jne 0x5951fb
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005409b4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0054052c
lea eax, [ebp - 0x1c]
push eax
push 0x595490
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 0x5954f0
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405dd8
mov eax, dword [ebp - 0x44]
call fcn.00405ed4
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054086c
test eax, eax
je 0x5952aa
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054052c
call fcn.00405444
jmp 0x59542f
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005408c4
test eax, eax
je 0x59530d
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005409b4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0054052c
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054052c
jmp 0x59530d
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.00540d14
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.00405c3c
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.0054052c
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00540914
cmp eax, 0x103
jne 0x5952d6
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005409b4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0054052c
inc esi
dec dword [ebp - 0x30]
jne 0x59517a
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054052c
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 0x595363
call fcn.00405444
jmp 0x59542f
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x595379
call fcn.00405444
jmp 0x59542f
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jbe 0x5953fa
mov dword [ebp - 0x30], eax
mov esi, 1
push 0
push 1
push 0x595510
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 0x59551c
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.00405dd8
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.0040bb78
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00589d4c
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 8]
pop edx
call fcn.00589b80
mov dword [ebp - 0xc], eax
inc esi
dec dword [ebp - 0x30]
jne 0x59538d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59542f
mov eax, dword [ebp - 0x2c]
call fcn.00404ae4
mov eax, dword [ebp - 0x28]
call fcn.00404ae4
mov eax, dword [ebp - 0x24]
call fcn.00404ae4
mov eax, dword [ebp - 0x10]
call fcn.00402fcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59545e
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.00405a68
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405a68
ret