Function at 0x584974
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404128
mov eax, dword [ebp - 8]
call fcn.00404128
mov eax, dword [ebp + 0xc]
call fcn.00404128
mov eax, dword [ebp + 8]
call fcn.00404128
xor eax, eax
push ebp
push 0x584c29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5d314c]
mov eax, dword [eax]
mov ebx, dword [eax + 0x13c]
mov eax, ebx
call fcn.0048aa64
mov eax, dword [ebx + 0x218]
mov edx, dword [eax]
call dword [edx + 0x40]
mov edx, 0x584c40
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584c60
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp + 8]
mov edx, 0x584c80
call fcn.00404084
jne 0x584a14
mov edx, 0x584c8c
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x584a24
mov edx, 0x584ce4
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584d3c
mov eax, ebx
call fcn.004a2550
mov edx, dword [ebp - 8]
call fcn.00489c34
mov eax, ebx
call fcn.0048aa58
mov eax, ebx
call fcn.0049bf2c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf4]
test eax, eax
jle 0x584b43
mov edx, 0x584d48
mov eax, ebx
call fcn.0048b4c8
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, ebx
call fcn.0048aa64
mov eax, dword [ebx + 0x218]
mov edx, dword [eax]
call dword [edx + 0x40]
mov edx, 0x584d5c
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584d78
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584dbc
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584dcc
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584d3c
mov eax, ebx
call fcn.004a2550
mov edx, dword [ebp - 0xc]
call fcn.00489c34
mov edx, 0x584e14
mov eax, ebx
call fcn.004a2550
mov edx, dword [ebp - 4]
call fcn.00489c34
mov eax, dword [ebp + 8]
mov edx, 0x584c80
call fcn.00404084
jne 0x584b0d
mov edx, 0x584e20
mov eax, ebx
call fcn.004a2550
mov edx, 0x584c80
call fcn.00489c34
jmp 0x584b23
mov edx, 0x584e20
mov eax, ebx
call fcn.004a2550
mov edx, 0x584e2c
call fcn.00489c34
mov edx, 0x584e38
mov eax, ebx
call fcn.004a2550
mov edx, dword [ebp + 0xc]
call fcn.00489c34
mov eax, ebx
call fcn.004a2650
jmp 0x584c01
mov eax, ebx
call fcn.0048aa64
mov eax, dword [ebx + 0x218]
mov edx, dword [eax]
call dword [edx + 0x40]
mov edx, 0x584d5c
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584d78
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584dbc
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584e44
mov eax, dword [ebx + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x584e14
mov eax, ebx
call fcn.004a2550
mov edx, dword [ebp - 4]
call fcn.00489c34
mov eax, dword [ebp + 8]
mov edx, 0x584c80
call fcn.00404084
jne 0x584bd0
mov edx, 0x584e20
mov eax, ebx
call fcn.004a2550
mov edx, 0x584c80
call fcn.00489c34
jmp 0x584be6
mov edx, 0x584e20
mov eax, ebx
call fcn.004a2550
mov edx, 0x584e2c
call fcn.00489c34
mov edx, 0x584e38
mov eax, ebx
call fcn.004a2550
mov edx, dword [ebp + 0xc]
call fcn.00489c34
mov eax, ebx
call fcn.004a2650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x584c30
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403d1c
lea eax, [ebp + 8]
mov edx, 2
call fcn.00403d1c
ret