Function at 0x5a9da0
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x170]
cmp eax, dword [ecx + 8]
jbe 0x5aa7b8
sub esp, 0x1f0
mov eax, dword [esp + 0x22c]
mov dword [esp], eax
lea ecx, [0x5f1960]
mov dword [esp + 4], ecx
lea edx, [0x66df44]
mov dword [esp + 8], edx
call fcn.005ae110
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa0], eax
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.004645c9
lea edi, [esp + 0x164]
call fcn.004645ad
lea ecx, [esp + 0x164]
mov dword [esp + 0xf4], ecx
call fcn.0044fff0
mov eax, dword [esp]
mov dword [esp + 0xf0], eax
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.004645cb
lea edi, [esp + 0xd4]
lea esi, [esp + 0x1fc]
call fcn.00464aae
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov ecx, dword [esp + 0x230]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x234]
mov dword [esp + 0xd0], ecx
lea edi, [esp]
lea esi, [esp + 0x1f4]
call fcn.00464a68
lea ecx, [esp + 0xe8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x22c]
mov dword [esp + 0x34], edx
lea ebx, [esp + 0xd4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 1
lea ebp, [esp + 0xcc]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 1
call fcn.005a9b40
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.004645cb
lea edi, [esp + 0xd4]
lea esi, [esp + 0x210]
call fcn.00464aae
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov ecx, dword [esp + 0x238]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x23c]
mov dword [esp + 0xd0], ecx
lea edi, [esp]
lea esi, [esp + 0x1f4]
call fcn.00464a68
lea ecx, [esp + 0xe8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x22c]
mov dword [esp + 0x34], edx
lea ebx, [esp + 0xd4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 1
lea ebx, [esp + 0xcc]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 1
call fcn.005a9b40
lea edi, [esp + 0x134]
xor eax, eax
call fcn.004645c4
lea ecx, [0x5f3ea0]
mov dword [esp], ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x134]
mov dword [esp + 8], ecx
call fcn.0040de60
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0xb0], eax
xor eax, eax
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0x68], eax
jmp 0x5aa028
lea eax, [esp + 0x134]
mov dword [esp], eax
call fcn.0040e090
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x94], ecx
mov ebp, dword [esp + 0x134]
test ebp, ebp
je 0x5aa3ae
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x138]
mov ecx, dword [ebp]
mov dword [esp + 0xa8], ecx
mov edx, dword [ebp + 4]
mov dword [esp + 0x64], edx
mov ebx, dword [eax + 4]
mov dword [esp + 0x9c], ebx
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
mov ebp, dword [esp + 0xa0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005bb400
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
inc edx
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
jb 0x5aa0b6
mov ebp, dword [esp + 0xb4]
jmp 0x5aa107
mov dword [esp + 0x90], ecx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f1960]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x90]
lea esi, [ebp + edx*8 - 4]
mov dword [esi], ecx
lea edi, [ebp + edx*8 - 8]
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5aa11f
mov dword [edi], eax
jmp 0x5aa124
call fcn.00464380
mov dword [esp + 0xb4], ebp
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x70]
inc ecx
mov esi, dword [esp + 0x74]
cmp esi, ecx
jb 0x5aa149
mov eax, dword [esp + 0xb0]
jmp 0x5aa18f
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5f1960]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0xb4]
mov esi, edi
mov dword [esp + 0xb0], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], esi
lea edx, [eax + ecx*8 - 4]
mov dword [edx], 1
lea edx, [eax + ecx*8 - 8]
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5aa1c0
lea ecx, [0x66d048]
mov dword [edx], ecx
jmp 0x5aa1cd
mov edi, edx
lea eax, [0x66d048]
call fcn.00464380
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.005bb400
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
lea eax, [0x61afd8]
mov dword [esp], eax
mov dword [esp + 4], 6
lea edx, [esp + 0xcc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e18f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
inc edx
mov ebx, dword [esp + 0x6c]
cmp ebx, edx
jb 0x5aa280
mov ebp, dword [esp + 0xac]
jmp 0x5aa2d5
mov dword [esp + 0x90], ecx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f1960]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov ebx, ecx
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x90]
lea esi, [ebp + edx*8 - 4]
mov dword [esi], ecx
lea edi, [ebp + edx*8 - 8]
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5aa2ed
mov dword [edi], eax
jmp 0x5aa2f2
call fcn.00464380
mov dword [esp + 0xac], ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x50]
inc ecx
mov esi, dword [esp + 0x54]
cmp esi, ecx
jb 0x5aa317
mov eax, dword [esp + 0x94]
jmp 0x5aa363
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5f12a0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0xac]
mov esi, edx
mov edx, dword [esp + 0x68]
mov edi, ecx
mov ecx, eax
mov eax, edi
mov dword [esp + 0x94], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x90], esi
lea edx, [eax + ecx*8 - 8]
mov ebx, dword [esp + 0x5c]
mov dword [edx], ebx
lea edx, [eax + ecx*8 - 4]
mov ebx, dword [0x7f8db0]
test ebx, ebx
jne 0x5aa39b
mov ebx, dword [esp + 0x9c]
mov dword [edx], ebx
jmp 0x5a9ff4
mov edi, edx
mov eax, dword [esp + 0x9c]
call fcn.00464380
jmp 0x5a9ff4
mov ebp, ecx
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov ecx, ebp
jmp 0x5aa3e1
mov ebx, dword [esp + 0x90]
inc ebx
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x94]
mov ebp, esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x90]
mov esi, dword [esp + 0x50]
cmp ebx, esi
jge 0x5aa48d
lea ebp, [ebp + ebx*8]
mov esi, dword [ebp + 4]
mov ebp, dword [ebp]
inc edx
cmp eax, edx
jae 0x5aa452
mov dword [esp + 0x58], ebp
mov dword [esp + 0x98], esi
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x5f12a0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x74]
lea ebx, [ecx + edx*8 - 8]
mov dword [ebx], ebp
lea ebx, [ecx + edx*8 - 4]
mov ebp, dword [0x7f8db0]
test ebp, ebp
jne 0x5aa46d
mov dword [ebx], esi
jmp 0x5aa3bd
mov dword [esp + 0x8c], eax
mov ebp, edi
mov edi, ebx
mov eax, esi
call fcn.00464380
mov eax, dword [esp + 0x8c]
mov edi, ebp
jmp 0x5aa3bd
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x224]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x228]
mov dword [esp], ecx
mov ecx, dword [esp + 0x22c]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005bb400
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
lea edx, [0x61a736]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
call fcn.004ec180
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
lea edx, [0x61a736]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
call fcn.004ec180
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x68]
test byte [eax], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x8c], ebx
mov edx, dword [edx + 0x54]
mov ecx, dword [ecx + 0x6c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
lea edx, [0x61ac95]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 5
call fcn.004ec180
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
lea edi, [esp + 0x104]
xor eax, eax
call fcn.004645c4
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
lea eax, [0x62ba46]
mov dword [esp], eax
mov dword [esp + 4], 0x4d
lea eax, [esp + 0x104]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
mov dword [esp + 0x10], 6
call fcn.004e18f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x22c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
call fcn.005b1780
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x240], ecx
mov dword [esp + 0x244], eax
add esp, 0x1f0
ret
call fcn.00462f70
jmp fcn.005a9da0