Function at 0x57de4c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x57de55
xchg dword [ebp - 4], ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040489c
xor eax, eax
push ebp
push 0x57e2b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0057e928
mov al, byte [eax + 0x48]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
call fcn.0057e928
mov byte [eax + 0x48], 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x5040a4]
call fcn.004821ac
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x57e235
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, 0x3eb
jne 0x57df61
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, 0x82
jne 0x57df31
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, 0x3fc
jne 0x57df27
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
jmp 0x57df31
call fcn.00403e20
jmp 0x57e23c
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00408bd4
mov eax, dword [ebp - 0x20]
mov edx, 0x57e2c8
call fcn.004047f8
jne 0x57df89
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
jmp 0x57df89
cmp ebx, 0x3e8
jne 0x57df7f
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
jmp 0x57df89
call fcn.00403e20
jmp 0x57e23c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.00408bd4
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.00404474
cmp ebx, 0x3f7
je 0x57dfe1
cmp ebx, 0x3f2
je 0x57dfe1
cmp ebx, 0x3fe
je 0x57dfe1
cmp ebx, 0x3f4
je 0x57dfe1
mov eax, dword [ebp - 0x14]
mov edx, 0x57e2d8
call fcn.004047f8
je 0x57dfe1
mov eax, dword [ebp - 0x14]
mov edx, 0x57e2e8
call fcn.004047f8
jne 0x57e211
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404474
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, 0x3e9
jne 0x57e041
mov eax, dword [ebp - 0x18]
mov edx, 0x57e2f8
call fcn.004047f8
jne 0x57e041
push dword [ebp - 0x18]
push 0x57e308
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040476c
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404474
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov edx, 0x57e314
call fcn.004047f8
jne 0x57e08a
lea eax, [ebp - 0x14]
call fcn.004043dc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404474
push 1
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x597e74]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.00404474
mov eax, dword [ebp - 4]
call fcn.0057e928
mov edx, 0x57e320
call fcn.005886f8
mov eax, dword [ebp - 4]
call fcn.0057e928
push eax
lea eax, [ebp - 0x38]
xor edx, edx
call fcn.00415be0
lea ecx, [ebp - 0x38]
mov edx, 0x57e680
pop eax
call fcn.004fe4f4
mov eax, dword [ebp - 4]
call fcn.0057e928
push eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x1c]
call fcn.00415be0
lea ecx, [ebp - 0x48]
mov edx, 0x57e68c
pop eax
call fcn.004fe4f4
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.0057eb60
cmp dword [ebp - 0x4c], 0
je 0x57e141
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.0057eb60
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
call fcn.00415be0
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 4]
call fcn.0057e928
mov edx, 0x57e69c
pop ecx
call fcn.004fe4f4
jmp 0x57e166
mov eax, dword [ebp - 4]
call fcn.0057e928
push eax
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
call fcn.00415be0
lea ecx, [ebp - 0x70]
mov edx, 0x57e69c
pop eax
call fcn.004fe4f4
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x18]
call fcn.00408bd4
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
call fcn.00415be0
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 4]
call fcn.0057e928
mov edx, 0x57e6ac
pop ecx
call fcn.004fe4f4
mov eax, dword [ebp - 4]
call fcn.0057e928
mov edx, 0x57e680
call fcn.00588618
mov dl, 2
call fcn.00478f04
mov eax, dword [ebp - 4]
call fcn.0057e928
mov edx, 0x57e680
call fcn.00588618
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
call fcn.0057e928
mov edx, dword [eax]
call dword [edx + 0xc4]
mov eax, dword [ebp - 4]
call fcn.0057e928
lea ecx, [ebp - 0x94]
mov edx, 0x57e680
call fcn.004fe4d8
lea eax, [ebp - 0x94]
mov edx, esi
call fcn.00417f44
cmp dword [esi], 0
jne 0x57e211
mov eax, esi
mov edx, 0x57e6bc
call fcn.00404430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e23c
mov eax, dword [ebp - 0xc]
call fcn.004035c0
mov eax, dword [ebp - 4]
call fcn.0057e928
mov dl, byte [ebp - 0xd]
mov byte [eax + 0x48], dl
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e2ba
lea eax, [ebp - 0x94]
call fcn.004115a8
lea eax, [ebp - 0x84]
call fcn.004043dc
lea eax, [ebp - 0x80]
mov edx, dword [0x40111c]
mov ecx, 2
call fcn.00405078
lea eax, [ebp - 0x60]
call fcn.004043dc
lea eax, [ebp - 0x5c]
call fcn.004115a8
lea eax, [ebp - 0x4c]
call fcn.004043dc
lea eax, [ebp - 0x48]
mov edx, dword [0x40111c]
mov ecx, 2
call fcn.00405078
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00404400
lea eax, [ebp - 8]
call fcn.004043dc
ret