Function at 0x530ca8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x530cb0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x531139
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0x531158
lea edx, [ebp - 0x40]
lea eax, [esi + 1]
call fcn.00413c80
push dword [ebp - 0x40]
push 0x531168
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00407b5c
mov edx, dword [ebp - 0x3c]
mov eax, ebx
call fcn.0044309c
mov edi, eax
mov edx, 0x53117c
mov eax, edi
call fcn.004a0b3c
inc esi
cmp esi, 9
jne 0x530ccd
mov edx, 0x531198
mov eax, dword [ebx + 0x45c]
call fcn.004a0b3c
mov eax, dword [ebx + 0x45c]
mov eax, dword [eax + 0x64]
mov edx, 0xff
call fcn.00453864
lea eax, [ebp - 0x30]
mov edx, 0x5311b4
call fcn.004075e8
mov edx, 0x531198
mov eax, dword [ebx + 0x60c]
call fcn.004a0b3c
mov edx, 0x531198
mov eax, dword [ebx + 0x468]
call fcn.004a0b3c
push 0
xor ecx, ecx
mov edx, 0x5311cc
mov eax, 0x531204
call fcn.0052fff8
lea ecx, [ebp - 0x28]
mov edx, 0x53126c
mov eax, 0x5312b0
call fcn.0050e394
test eax, eax
jle 0x530d97
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x468]
call fcn.004a0b3c
push 0
push 0x53133c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, 0x53152c
mov eax, 0x531550
call fcn.0050de5c
cmp eax, 0xffffffff
jne 0x530dcd
mov eax, dword [ebp - 0x2c]
call fcn.00487200
jmp 0x5310ac
cmp eax, 6
jne 0x530f16
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
call fcn.00413f14
mov edx, dword [eax*4 + 0x540a38]
mov eax, dword [ebx + 0x45c]
call fcn.004a0b3c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov edx, 0x531560
call fcn.00407c7c
jne 0x530e20
mov eax, dword [ebx + 0x45c]
mov eax, dword [eax + 0x64]
mov edx, 0xff00
call fcn.00453864
jmp 0x530e33
mov eax, dword [ebx + 0x45c]
mov eax, dword [eax + 0x64]
mov edx, 0xff
call fcn.00453864
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x18]
call fcn.004075e8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
call fcn.00413f14
mov ecx, 0x5a0
cdq
idiv ecx
lea edx, [ebp - 0x44]
call fcn.00413c80
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x60c]
call fcn.004a0b3c
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x60c]
call fcn.004a0b04
mov eax, dword [ebp - 0x48]
mov edx, 0x531570
call fcn.00407c7c
jne 0x530e9d
mov edx, 0x531580
mov eax, dword [ebx + 0x60c]
call fcn.004a0b3c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x530eaf
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x36
jne 0x530f16
xor esi, esi
push 0x531158
lea edx, [ebp - 0x50]
lea eax, [esi + 1]
call fcn.00413c80
push dword [ebp - 0x50]
push 0x531168
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00407b5c
mov edx, dword [ebp - 0x4c]
mov eax, ebx
call fcn.0044309c
mov edi, eax
lea eax, [ebp - 0x54]
push eax
mov edx, esi
add edx, edx
lea edx, [edx + edx*2]
inc edx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
mov ecx, 6
call fcn.00407ce4
mov edx, dword [ebp - 0x54]
mov eax, edi
call fcn.004a0b3c
inc esi
cmp esi, 9
jne 0x530eb6
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x531590
mov edx, 0x5315c0
mov eax, 0x80000002
call fcn.0051891c
lea edx, [ebp - 0x64]
lea eax, [ebp - 4]
call fcn.00424778
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004d2b10
mov eax, dword [ebp - 8]
mov edx, 0x531620
call fcn.004074ac
jne 0x530f89
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x30]
mov edx, 0x531668
call fcn.00407a78
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 8]
call fcn.00407820
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 8]
call fcn.0040780c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x4f0]
call fcn.004a0b3c
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x5316a8
mov edx, 0x5315c0
mov eax, 0x80000002
call fcn.0051891c
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x70]
call fcn.00425754
mov edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x4f4]
call fcn.004a0b3c
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0xc]
call fcn.0040780c
mov edx, dword [ebp - 0x84]
mov eax, dword [ebx + 0x4f8]
call fcn.004a0b3c
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x10]
call fcn.0040780c
mov edx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x4ec]
call fcn.004a0b3c
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x14]
call fcn.0040780c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x4fc]
call fcn.004a0b3c
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x18]
call fcn.0040780c
mov edx, dword [ebp - 0x90]
mov eax, dword [ebx + 0x50c]
call fcn.004a0b3c
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x1c]
call fcn.0040780c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebx + 0x500]
call fcn.004a0b3c
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x20]
call fcn.0040780c
mov edx, dword [ebp - 0x98]
mov eax, dword [ebx + 0x504]
call fcn.004a0b3c
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x24]
call fcn.0040780c
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x508]
call fcn.004a0b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531143
lea eax, [ebp - 0x9c]
mov edx, 7
call fcn.0040758c
lea eax, [ebp - 0x80]
call fcn.00420c20
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0040758c
lea eax, [ebp - 0x64]
call fcn.00420c20
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.0040758c
lea eax, [ebp - 0x48]
call fcn.00407584
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040758c
lea eax, [ebp - 0x34]
mov edx, dword [0x50d3fc]
call fcn.0040908c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040758c
lea eax, [ebp - 0x24]
mov edx, 8
call fcn.00407160
lea eax, [ebp - 4]
call fcn.004065f0
ret