Function at 0x4a0e22
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a47c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x39c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x348], ecx
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x348]
call fcn.004a2c00
mov dword [ebp - 4], 0
push 0x5f8b54
lea ecx, [ebp - 0x14]
call fcn.0057d04c
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 1
push 0x60ab18
lea ecx, [ebp - 0x14c]
call fcn.0043daf0
mov dword [ebp - 0x350], eax
mov byte [ebp - 4], 2
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x14c]
call fcn.0043dc32
mov dword [ebp - 0x354], eax
cmp dword [ebp - 0x354], 0
jne 0x4a0ee6
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.0043db6c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0057cfde
mov eax, dword [ebp - 0x2f8]
jmp 0x4a13da
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x31c], ecx
cmp dword [ebp - 0x31c], 0
jne 0x4a138e
lea ecx, [ebp - 0x15c]
call fcn.004535a0
mov dword [ebp - 0x358], eax
mov byte [ebp - 4], 3
push 0x5f8c34
lea ecx, [ebp - 0x14c]
call fcn.0043ded6
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x35c]
imul edx, edx, 0x18
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x320], eax
lea ecx, [ebp - 0x2fc]
push ecx
mov ecx, dword [ebp - 0x320]
call fcn.00494870
mov dword [ebp - 0x360], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2fc]
push edx
lea ecx, [ebp - 0x15c]
call fcn.00454256
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2fc]
call fcn.0057cfde
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x300], esp
lea eax, [ebp - 0x15c]
push eax
call fcn.004535f4
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x348]
call fcn.004a2230
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x2a0], ecx
cmp dword [ebp - 0x2a0], 0
jne 0x4a12d9
lea ecx, [ebp - 0x2f4]
call fcn.0049e900
mov dword [ebp - 0x36c], eax
mov byte [ebp - 4], 5
push 0x5f8c3c
lea ecx, [ebp - 0x14c]
call fcn.0043ded6
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
imul edx, edx, 0x18
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x324], eax
lea ecx, [ebp - 0x304]
push ecx
mov ecx, dword [ebp - 0x324]
call fcn.00494870
mov dword [ebp - 0x374], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x304]
push edx
lea ecx, [ebp - 0x2f4]
call fcn.00454256
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x304]
call fcn.0057cfde
push 0x5f8c44
lea ecx, [ebp - 0x14c]
call fcn.0043ded6
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x3c]
add ecx, eax
mov dword [ebp - 0x328], ecx
lea edx, [ebp - 0x308]
push edx
mov ecx, dword [ebp - 0x328]
call fcn.00494870
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0057d117
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x308]
call fcn.0057cfde
push 0x5f8c50
lea ecx, [ebp - 0x14c]
call fcn.0043ded6
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x3c]
add edx, ecx
mov dword [ebp - 0x32c], edx
lea eax, [ebp - 0x30c]
push eax
mov ecx, dword [ebp - 0x32c]
call fcn.00494870
mov dword [ebp - 0x384], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30c]
push ecx
lea ecx, [ebp - 0x2e0]
call fcn.0057d117
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30c]
call fcn.0057cfde
push 0x5f8c60
lea ecx, [ebp - 0x14c]
call fcn.0043ded6
mov dword [ebp - 0x388], eax
mov edx, dword [ebp - 0x388]
imul edx, edx, 0x18
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x330], eax
lea ecx, [ebp - 0x310]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.00494870
mov dword [ebp - 0x38c], eax
mov byte [ebp - 4], 9
lea edx, [ebp - 0x310]
push edx
lea ecx, [ebp - 0x2dc]
call fcn.00454256
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x310]
call fcn.0057cfde
sub esp, 0x54
mov eax, esp
mov dword [ebp - 0x314], esp
mov dword [ebp - 0x340], eax
lea ecx, [ebp - 0x2f4]
push ecx
mov ecx, dword [ebp - 0x340]
call fcn.004535f4
mov dword [ebp - 0x390], eax
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2e4]
push edx
mov ecx, dword [ebp - 0x340]
add ecx, 0x10
call fcn.0057cd53
mov dword [ebp - 0x394], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x340]
add ecx, 0x14
call fcn.0057cd53
mov dword [ebp - 0x398], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2dc]
push ecx
mov ecx, dword [ebp - 0x340]
add ecx, 0x18
call fcn.004535f4
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x2cc]
mov dword [ebp - 0x338], edx
mov eax, dword [ebp - 0x340]
add eax, 0x28
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x338]
push ecx
mov ecx, dword [ebp - 0x334]
call fcn.0046c910
mov edx, dword [ebp - 0x334]
mov dword [edx], 0x5b29c8
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x338]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x334]
add ecx, 0x14
call fcn.0057cd53
mov ecx, dword [ebp - 0x334]
mov dword [ecx], 0x5b29bc
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x340]
add edx, 0x40
mov dword [ebp - 0x33c], edx
lea eax, [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x33c]
call fcn.004a1e80
mov ecx, dword [ebp - 0x33c]
mov dword [ecx], 0x5b29a4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x340]
mov dword [ebp - 0x3a0], edx
mov ecx, dword [ebp - 0x348]
call fcn.004a2660
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 8]
sub ecx, 1
imul ecx, ecx, 0x54
mov edx, dword [ebp - 0x348]
mov eax, dword [edx + 4]
add eax, ecx
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2f4]
call fcn.0049e9ff
lea ecx, [ebp - 0x29c]
call fcn.0048fd00
mov dword [ebp - 0x3a4], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x29c]
push edx
call fcn.004919b0
add esp, 8
push 0x5f8c68
lea ecx, [ebp - 0x14c]
call fcn.0043ded6
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x3a8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x3c]
add ecx, eax
mov dword [ebp - 0x344], ecx
mov ecx, dword [ebp - 0x344]
call fcn.0043ffd8
mov dword [ebp - 0x3ac], eax
mov edx, dword [ebp - 0x3ac]
push edx
lea eax, [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.0049eba1
push 1
push 1
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x14c]
call dword [edx + 0x14]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.0048fed0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.00453616
jmp 0x4a0ee6
lea ecx, [ebp - 0x14c]
call fcn.00524aa6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.0043db6c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0057cfde
jmp 0x4a13ce
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret