Function at 0x583d64
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x23
push 0
push 0
dec ecx
jne 0x583d6c
push ebx
push esi
mov ebx, eax
mov esi, 0x59a23c
xor eax, eax
push ebp
push 0x584528
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [esi]
mov eax, ebx
call fcn.005877b8
test al, al
je 0x583db0
mov eax, dword [0x59a250]
push eax
mov ecx, dword [0x59a224]
mov edx, dword [0x59a220]
mov eax, ebx
call fcn.00588fc8
mov eax, dword [ebx + 0x34c]
call fcn.0049bf28
lea edx, [ebp - 8]
mov eax, dword [0x59a234]
call fcn.0040908c
cmp dword [ebp - 8], 0
je 0x583f18
mov eax, dword [ebx + 0x34c]
call fcn.00502684
mov edx, 0x584540
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a220]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5845c0
call fcn.0040a37c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.004156c0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
mov edx, 0x5845c8
pop ecx
call fcn.004f8ae0
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [0x59a224]
call fcn.004156c0
lea ecx, [ebp - 0x3c]
mov edx, 0x5845d4
pop eax
call fcn.004f8ae0
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
push eax
lea eax, [ebp - 0x4c]
mov edx, dword [0x59a234]
call fcn.004156c0
lea ecx, [ebp - 0x4c]
mov edx, 0x5845e4
pop eax
call fcn.004f8ae0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x2c], 6
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a238]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5845c0
call fcn.0040a37c
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
call fcn.004156c0
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
mov edx, 0x5845f4
pop ecx
call fcn.004f8ae0
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
push eax
mov al, 0x59
mov byte [ebp - 0x73], al
mov byte [ebp - 0x74], 1
lea eax, [ebp - 0x70]
lea edx, [ebp - 0x74]
call fcn.004156ec
lea ecx, [ebp - 0x70]
mov edx, 0x584608
pop eax
call fcn.004f8ae0
jmp 0x58407f
mov eax, dword [ebx + 0x34c]
call fcn.00502684
mov edx, 0x58461c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a220]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5845c0
call fcn.0040a37c
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.004156c0
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
mov edx, 0x5845c8
pop ecx
call fcn.004f8ae0
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
push eax
lea eax, [ebp - 0x98]
mov edx, dword [0x59a224]
call fcn.004156c0
lea ecx, [ebp - 0x98]
mov edx, 0x5845d4
pop eax
call fcn.004f8ae0
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0x2c], 6
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a238]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5845c0
call fcn.0040a37c
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
call fcn.004156c0
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
mov edx, 0x5845f4
pop ecx
call fcn.004f8ae0
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
push eax
lea eax, [ebp - 0xbc]
mov edx, dword [esi]
call fcn.004156c0
lea ecx, [ebp - 0xbc]
mov edx, 0x58469c
pop eax
call fcn.004f8ae0
mov eax, dword [ebx + 0x34c]
call fcn.005009c8
push eax
mov al, 0x59
mov byte [ebp - 0x73], al
mov byte [ebp - 0x74], 1
lea eax, [ebp - 0xcc]
lea edx, [ebp - 0x74]
call fcn.004156ec
lea ecx, [ebp - 0xcc]
mov edx, 0x584608
pop eax
call fcn.004f8ae0
mov eax, dword [ebx + 0x34c]
call fcn.0049bf1c
mov eax, dword [ebx + 0x34c]
cmp byte [eax + 0xa1], 0
jne 0x5840c4
mov edx, dword [esi]
mov eax, ebx
call fcn.005877b8
test al, al
je 0x5840bb
lea ecx, [ebp - 0xd0]
mov edx, dword [0x59a220]
mov eax, ebx
call fcn.005879c8
jmp 0x5840cb
mov eax, ebx
call fcn.00588128
jmp 0x5840cb
mov eax, ebx
call fcn.00588128
mov edx, dword [ebx + 0x34c]
mov eax, dword [ebx + 0x308]
call fcn.004d0764
push 0x5846b4
mov eax, dword [ebx + 0x34c]
mov edx, dword [eax]
call dword [edx + 0x14c]
lea edx, [ebp - 0xd8]
call fcn.0040928c
push dword [ebp - 0xd8]
push 0x5846c4
lea eax, [ebp - 0xd4]
mov edx, 3
call fcn.00404948
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebx + 0x334]
call fcn.004d9424
lea edx, [ebp - 0xdc]
mov eax, dword [esi]
call fcn.0040908c
mov eax, dword [ebp - 0xdc]
call fcn.00404888
cmp eax, 3
jne 0x584163
lea edx, [ebp - 0xe0]
mov eax, dword [esi]
call fcn.0040908c
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 4]
mov edx, 0x5846d4
call fcn.004048d4
lea edx, [ebp - 0xe4]
mov eax, dword [esi]
call fcn.0040908c
mov eax, dword [ebp - 0xe4]
call fcn.00404888
cmp eax, 2
jne 0x5841a0
lea edx, [ebp - 0xe8]
mov eax, dword [esi]
call fcn.0040908c
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 4]
mov edx, 0x5846e0
call fcn.004048d4
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a220]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5846ec
call fcn.0040a37c
push dword [ebp - 0xf0]
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [0x59a224]
mov dl, 0x49
mov eax, ebx
call fcn.00584950
push dword [ebp - 0xf4]
lea eax, [ebp - 0xf8]
push eax
mov dword [ebp - 0x2c], 6
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a238]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5846ec
call fcn.0040a37c
push dword [ebp - 0xf8]
push dword [ebp - 4]
lea eax, [ebp - 0xec]
mov edx, 4
call fcn.00404948
mov edx, dword [ebp - 0xec]
mov eax, dword [ebx + 0x320]
call fcn.004de8d8
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a220]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5846ec
call fcn.0040a37c
push dword [ebp - 0x100]
push 0x5846fc
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [0x59a224]
mov dl, 0x49
mov eax, ebx
call fcn.00584950
push dword [ebp - 0x104]
push 0x5846fc
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x2c], 6
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a238]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5846ec
call fcn.0040a37c
push dword [ebp - 0x108]
push 0x5846fc
push dword [ebp - 4]
lea eax, [ebp - 0xfc]
mov edx, 7
call fcn.00404948
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebx + 0x328]
call fcn.004d9424
lea eax, [ebp - 0x10c]
push eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a220]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5846ec
call fcn.0040a37c
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.00584b6c
mov edx, dword [esi]
mov eax, ebx
call fcn.005852cc
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 0x28], 0
mov eax, dword [0x59a220]
call fcn.004093c8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x5846ec
call fcn.0040a37c
mov edx, dword [ebp - 0x110]
mov ecx, dword [0x59a224]
mov eax, ebx
call fcn.00586ae8
mov eax, dword [0x59a24c]
mov edx, 0x584708
call fcn.004049d4
jne 0x5843d4
mov eax, dword [ebx + 0x308]
mov eax, dword [eax + 0x2dc]
mov dword [eax + 4], 1
jmp 0x584432
lea edx, [ebp - 0x114]
mov eax, dword [0x59a258]
call fcn.0040908c
mov edx, dword [ebp - 0x114]
mov eax, ebx
call fcn.0058b210
mov edx, dword [ebx + 0x308]
mov edx, dword [edx + 0x2dc]
mov dword [edx + 0xc], eax
call fcn.00434d0c
call fcn.00434d2c
mov eax, dword [ebx + 0x308]
call fcn.004cf0a0
call fcn.00434d0c
call fcn.00434d2c
mov eax, dword [ebx + 0x308]
mov eax, dword [eax + 0x2dc]
mov dword [eax + 4], 2
lea edx, [ebp - 0x118]
mov eax, dword [0x59a258]
call fcn.0040908c
mov edx, dword [ebp - 0x118]
mov eax, ebx
call fcn.0058b210
mov edx, dword [ebx + 0x308]
mov edx, dword [edx + 0x2dc]
mov dword [edx + 0xc], eax
call fcn.00434d0c
call fcn.00434d2c
mov eax, dword [ebx + 0x308]
call fcn.004cf0a0
call fcn.00434d0c
call fcn.00434d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x584532
lea eax, [ebp - 0x118]
mov edx, 0x13
call fcn.004045ec
lea eax, [ebp - 0xcc]
mov edx, dword [0x401148]
mov ecx, 2
call fcn.004051c4
lea eax, [ebp - 0xac]
call fcn.004045c8
lea eax, [ebp - 0xa8]
mov edx, dword [0x401148]
mov ecx, 2
call fcn.004051c4
lea eax, [ebp - 0x88]
call fcn.004045c8
lea eax, [ebp - 0x84]
call fcn.00410f74
lea eax, [ebp - 0x70]
call fcn.00410f74
lea eax, [ebp - 0x60]
call fcn.004045c8
lea eax, [ebp - 0x5c]
mov edx, dword [0x401148]
mov ecx, 3
call fcn.004051c4
lea eax, [ebp - 0x1c]
call fcn.004045c8
lea eax, [ebp - 0x18]
call fcn.00410f74
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045ec
ret