Function at 0x559dd0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x55a121
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xc], 0
je 0x55a0ee
mov byte [ebp - 0x21], 1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0xc]
call fcn.00404ea4
push 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x30], 0x2f
lea ecx, [ebp - 0x30]
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.0047f474
push 0
push 0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.00409a88
mov eax, dword [ebp - 0x34]
call fcn.0047f3b4
cmp edx, 0
jne 0x559e67
cmp eax, 0
setne al
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x20]
add eax, 0xc
xor edx, edx
call fcn.0040553c
mov eax, dword [ebp - 0x20]
add eax, 0xc
call fcn.00404e0c
mov eax, dword [ebp - 0x20]
mov word [eax + 2], 0
lea eax, [ebp - 0x10]
call fcn.00404e0c
xor eax, eax
push ebp
push 0x55a0ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x55a13c
call fcn.0040b194
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x18]
call fcn.00409570
mov eax, dword [ebp - 0x48]
mov edx, 0x55a210
call fcn.0047fcbc
dec eax
jle 0x559ef6
call fcn.0040484c
jmp 0x55a0ee
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.004d8adc
mov esi, eax
lea eax, [ebp - 4]
call fcn.00404e0c
cmp dword [ebp - 0x2c], 0
je 0x55a0b1
cmp esi, 0x65
je 0x55a0b1
cmp esi, 0x65
je 0x55a0a3
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9c4c
mov ecx, 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9c08
mov ebx, eax
mov ecx, 2
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9c08
mov byte [ebp - 0x22], al
mov ecx, 3
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9c08
mov edi, eax
mov ecx, 4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9c08
mov byte [ebp - 0x23], al
mov ecx, 5
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9c08
mov byte [ebp - 0x24], al
mov ecx, 6
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9c08
mov byte [ebp - 0x25], al
mov ecx, 7
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9c14
mov byte [ebp - 0x26], al
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
movzx eax, bl
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0
movzx eax, byte [ebp - 0x22]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
movzx eax, di
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
movzx eax, byte [ebp - 0x23]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x70]
mov ecx, 4
mov eax, 0x55a21c
call fcn.0040b194
cmp byte [ebp - 0x27], 0
je 0x55a05d
lea eax, [ebp - 0x74]
push eax
movzx eax, byte [ebp - 0x25]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
push 0
push 0
movzx eax, byte [ebp - 0x24]
sub eax, 2
cdq
push edx
push eax
call fcn.0047fa4c
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x10
lea edx, [ebp - 0x44]
mov ecx, 1
mov eax, 0x55a234
call fcn.0040b194
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0xc]
call fcn.004050e8
cmp byte [ebp - 0x26], 0
je 0x55a07b
cmp dword [ebp - 0x10], 0
jne 0x55a07b
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, 0x55a244
call fcn.00405134
jmp 0x55a086
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.004050e8
mov eax, dword [ebp - 0x20]
inc word [eax + 2]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d9050
mov esi, eax
cmp esi, 0x65
jne 0x559f2a
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00405134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a0d1
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004d8d7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a128
lea eax, [ebp - 0x74]
call fcn.00404e0c
lea eax, [ebp - 0x48]
call fcn.00404e0c
lea eax, [ebp - 0x34]
call fcn.00404e0c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404e30
ret