Function at 0x5879c8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x5879d1
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404a78
xor eax, eax
push ebp
push 0x587e68
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x587dbb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f5900]
call fcn.00502500
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x41c2f8]
call fcn.00403708
mov dword [ebp - 0x20], eax
mov edx, dword [ebx + 0x348]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
lea eax, [ebp - 0xc]
mov edx, 0x587e80
call fcn.00404660
mov eax, dword [ebp - 8]
call fcn.0049bf28
mov eax, dword [ebp - 8]
call fcn.00502684
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.0049bf1c
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa1], 0
jne 0x587a8b
lea ecx, [ebp - 0x30]
mov edx, 0x587ebc
mov eax, dword [ebp - 8]
call fcn.0049ce14
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.004145f4
push 0x587ec8
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x48], 7
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 4]
call fcn.004093c8
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x48]
mov ecx, 1
mov eax, 0x587f88
call fcn.0040a37c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040908c
push dword [ebp - 0x34]
push 0x587f94
push 0x587fa0
push 0x587fb0
push 0x587f94
push dword [ebp - 0x10]
push 0x587f94
push 0x587fa0
push 0x587fc4
push 0x587f94
lea edx, [ebp - 0x4c]
mov eax, dword [0x59a23c]
call fcn.0040908c
push dword [ebp - 0x4c]
push 0x587f94
push 0x587fa0
push 0x587fd8
push 0x587f94
lea edx, [ebp - 0x50]
mov eax, dword [0x59a254]
call fcn.0040908c
push dword [ebp - 0x50]
push 0x587f94
push 0x588010
lea eax, [ebp - 0xc]
mov edx, 0x13
call fcn.00404948
mov eax, dword [ebp - 8]
call fcn.0049bf28
mov eax, dword [ebp - 8]
call fcn.00502684
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.0049bf1c
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa1], 0
jne 0x587d8d
mov eax, dword [ebx + 0x3fc]
mov edx, 0x588030
call fcn.004d9424
lea ecx, [ebp - 0x60]
mov edx, 0x588054
mov eax, dword [ebp - 8]
call fcn.0049ce14
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
call fcn.00419274
lea edx, [ebp - 0x70]
pop eax
call fcn.00419298
je 0x587be5
lea ecx, [ebp - 0x88]
mov edx, 0x588054
mov eax, dword [ebp - 8]
call fcn.0049ce14
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x78]
call fcn.004145f4
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.0040908c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x400]
call fcn.004d9424
mov eax, dword [ebx + 0x404]
mov edx, 0x588064
call fcn.004d9424
lea ecx, [ebp - 0x98]
mov edx, 0x588078
mov eax, dword [ebp - 8]
call fcn.0049ce14
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa8]
call fcn.00419274
lea edx, [ebp - 0xa8]
pop eax
call fcn.00419298
je 0x587c6e
lea ecx, [ebp - 0xc0]
mov edx, 0x588078
mov eax, dword [ebp - 8]
call fcn.0049ce14
lea edx, [ebp - 0xc0]
lea eax, [ebp - 0xb0]
call fcn.004145f4
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.0040908c
mov edx, dword [ebp - 0xac]
mov eax, dword [ebx + 0x408]
call fcn.004d9424
mov eax, dword [ebx + 0x40c]
mov edx, 0x588084
call fcn.004d9424
mov eax, dword [ebx + 0x410]
mov edx, 0x5880a8
call fcn.004d9424
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebx + 0x408]
call fcn.004d7b94
mov eax, dword [ebp - 0xc4]
mov ecx, 1
mov edx, 1
call fcn.00404ae8
lea eax, [ebp - 0xc8]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [ebx + 0x408]
call fcn.004d7b94
mov eax, dword [ebp - 0xcc]
mov ecx, 4
mov edx, 2
call fcn.00404ae8
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0x18]
call fcn.0040908c
push 0x5880d8
push dword [ebp - 0x1c]
push 0x588108
push dword [ebp - 0x18]
push 0x588108
call fcn.0040b550
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xd4]
mov eax, 0x588114
call fcn.0040c1cc
mov eax, dword [ebp - 0xd4]
call fcn.004093c8
add eax, 0x2b
lea edx, [ebp - 0xd0]
call fcn.0040928c
push dword [ebp - 0xd0]
call fcn.0040b550
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xd8]
mov eax, 0x588120
call fcn.0040c1cc
push dword [ebp - 0xd8]
lea eax, [ebp - 0x14]
mov edx, 7
call fcn.00404948
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov cx, 0xc8
mov dx, 0xc8
mov eax, ebx
call fcn.00588c5c
jmp 0x587d9d
mov ecx, dword [ebp - 4]
mov edx, dword [0x59a254]
mov eax, ebx
call fcn.00588188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x587dc2
mov eax, dword [ebp - 8]
call fcn.00403738
mov eax, dword [ebp - 0x20]
call fcn.00403738
ret