Function at 0x55309c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x55361a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
je 0x5535d5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
call fcn.004d7a08
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x55310d
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x14]
add eax, 0xc
call fcn.0040530c
mov edx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov ecx, ebx
call fcn.004d7aa8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov edx, 0x27
call fcn.004d7b84
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x24]
call fcn.00405080
mov edx, dword [ebp - 0x44]
mov eax, dword [0x577cec]
mov eax, dword [eax]
call fcn.00546ca0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.004d7108
xor edx, edx
push ebp
push 0x553455
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x24]
add edx, 0xb
call fcn.00405080
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov cl, 1
call fcn.004d7728
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x23]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.004d77c8
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0x1b]
test ebx, ebx
je 0x553448
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + 0x1a]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
push eax
push 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1f]
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00550af0
test al, al
je 0x553448
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x1a], 0
je 0x553444
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
call fcn.004d7db4
test al, al
je 0x553444
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
call fcn.004d7d50
xor edx, edx
push ebp
push 0x55329f
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea edx, [ebp - 0x50]
xor ecx, ecx
mov eax, 0x553634
call fcn.0040b194
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.00409570
mov eax, dword [ebp - 0x54]
mov edx, 0x553678
call fcn.0047fcbc
dec eax
jle 0x553259
call fcn.0040484c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5535d5
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004d8adc
cmp dword [ebp - 0x1c], 0
je 0x553286
cmp eax, 0x65
je 0x553286
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.004d9c08
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5532a6
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.004d8d7c
ret
mov byte [ebp - 0x15], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55357d
mov eax, dword [ebp - 0x14]
add eax, 0xc
xor edx, edx
call fcn.0040553c
mov eax, dword [ebp - 0x14]
add eax, 0xc
call fcn.00404e0c
movzx eax, byte [ebp - 0x15]
mov edx, dword [ebp - 0x14]
mov word [edx + 2], ax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.004d7378
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x14]
add eax, 0xc
call fcn.00404e60
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553621
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.00404e30
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00404e30
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404e30
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e30
ret