Function at 0x553c7c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x553f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
call fcn.004d7108
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov dl, 1
call fcn.004d7964
mov dl, 1
mov eax, dword [0x41c830]
call fcn.00403ebc
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x553edf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x553f24
call fcn.0040b194
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00409570
mov eax, dword [ebp - 0x30]
mov edx, 0x553f98
call fcn.0047fcbc
dec eax
jle 0x553d25
call fcn.0040484c
jmp 0x553ee6
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004d8adc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
je 0x553e57
cmp dword [ebp - 0x18], 0x65
je 0x553e57
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004d9c08
mov dword [ebp - 0x20], eax
mov ecx, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004d9c08
mov esi, eax
mov ecx, 2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004d9c08
mov edi, eax
mov ecx, 3
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004d9c08
mov dword [ebp - 0x1c], eax
push 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.004f912c
add esp, 8
mov ebx, eax
test esi, esi
jle 0x553e3f
test edi, edi
jle 0x553e3f
cmp dword [ebp - 0x1c], 0
jle 0x553e3f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x20]
call fcn.004d77c8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, esi
call fcn.004d77b4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, edi
call fcn.004d77b4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x1c]
call fcn.004d77b4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.004d77b4
test ebx, ebx
jle 0x553e3f
mov eax, dword [ebp - 0x24]
call fcn.00421910
mov edx, ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
push eax
push ebx
mov ecx, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004d9ba0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, ebx
call fcn.004213e0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004d9050
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x65
jne 0x553d4a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
call fcn.0042117c
cmp edx, 0
jne 0x553e70
cmp eax, 0x200
jbe 0x553e97
jmp 0x553e72
jle 0x553e97
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
call fcn.004d7690
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
add eax, 0xc
call fcn.00404e60
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x10], 1
jmp 0x553eba
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
call fcn.004d7378
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
add eax, 0xc
call fcn.00404e60
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x10], 0
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553ee6
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004d8d7c
mov eax, dword [ebp - 0x24]
call fcn.00403eec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553f10
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404e30
lea eax, [ebp - 4]
call fcn.00404e0c
ret