Function at 0x5d1650
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3f0]
cmp eax, dword [ecx + 8]
jbe 0x5d1eb5
sub esp, 0x470
mov dword [esp + 0x378], 0
mov dword [esp + 0x37c], 0
mov eax, dword [esp + 0x474]
mov dword [esp], eax
call fcn.00409a10
mov eax, dword [esp + 4]
lea ecx, [0x5f1160]
mov dword [esp + 0x378], ecx
mov dword [esp + 0x37c], eax
mov eax, dword [0x7d3304]
lea edx, [0x66e7cc]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x378]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e1b00
mov eax, 1
mov ecx, 1
jmp 0x5d179f
mov dword [esp + 0x24], eax
mov dword [esp + 0x3a8], 0
mov dword [esp + 0x3ac], 0
mov dword [esp + 0x3b0], 0
mov dword [esp + 0x3b4], 0
lea edx, [0x5f1960]
mov dword [esp + 0x3a8], edx
lea ebx, [0x66dfb4]
mov dword [esp + 0x3ac], ebx
imul ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp], ecx
call fcn.00409a10
mov eax, dword [esp + 4]
lea ecx, [0x5f1160]
mov dword [esp + 0x3b0], ecx
mov dword [esp + 0x3b4], eax
mov eax, dword [0x7d3304]
lea edx, [0x66e7cc]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x3a8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004e1b00
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x20]
cmp eax, 5
jle 0x5d16f2
mov eax, dword [esp + 0x47c]
cmp eax, 0x32
jne 0x5d17de
mov eax, dword [esp + 0x478]
mov dword [esp], eax
lea eax, [0x62a0ca]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x32
call fcn.00402f60
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d1843
mov dword [esp + 0x368], 0
mov dword [esp + 0x36c], 0
lea eax, [0x5f1960]
mov dword [esp + 0x368], eax
lea ecx, [0x66dfdc]
mov dword [esp + 0x36c], ecx
mov ecx, dword [0x7d3304]
lea edx, [0x66e7cc]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x368]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e1b00
jmp 0x5d18a6
mov dword [esp + 0x370], 0
mov dword [esp + 0x374], 0
lea eax, [0x5f1960]
mov dword [esp + 0x370], eax
lea ecx, [0x66dfbc]
mov dword [esp + 0x374], ecx
mov ecx, dword [0x7d3304]
lea edx, [0x66e7cc]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x370]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e1b00
movsd xmm0, qword [0x66dd6c]
movsd xmm1, qword [esp + 0x480]
ucomisd xmm0, xmm1
jne 0x5d18c3
jnp 0x5d19a0
movsd xmm0, qword [0x66dd7c]
ucomisd xmm0, xmm1
jne 0x5d193b
jp 0x5d193b
mov dword [esp + 0x398], 0
mov dword [esp + 0x39c], 0
lea eax, [0x5f1960]
mov dword [esp + 0x398], eax
lea ecx, [0x66dff4]
mov dword [esp + 0x39c], ecx
mov ecx, dword [0x7d3304]
lea edx, [0x66e7cc]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x398]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e1b00
jmp 0x5d1a03
mov dword [esp + 0x390], 0
mov dword [esp + 0x394], 0
lea eax, [0x5f1960]
mov dword [esp + 0x390], eax
lea ecx, [0x66dffc]
mov dword [esp + 0x394], ecx
mov ecx, dword [0x7d3304]
lea edx, [0x66e7cc]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x390]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e1b00
jmp 0x5d1a03
mov dword [esp + 0x3a0], 0
mov dword [esp + 0x3a4], 0
lea eax, [0x5f1960]
mov dword [esp + 0x3a0], eax
lea ecx, [0x66dfec]
mov dword [esp + 0x3a4], ecx
mov ecx, dword [0x7d3304]
lea edx, [0x66e7cc]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x3a0]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e1b00
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
mov eax, dword [esp + 0x474]
cvtsi2sd xmm0, eax
sqrtsd xmm0, xmm0
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00409a70
mov eax, dword [esp + 8]
lea ecx, [0x5ef6a0]
mov dword [esp + 0x388], ecx
mov dword [esp + 0x38c], eax
mov eax, dword [0x7d3304]
lea ecx, [0x66e7cc]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x388]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e1b00
lea edi, [esp + 0x34]
lea esi, [0x66f8f4]
mov ecx, 0xc8
rep movsd dword es:[edi], dword [esi]
lea eax, [0x5f1b20]
mov dword [esp], eax
mov dword [esp + 4], 0x320
mov dword [esp + 8], 0x320
call fcn.0044b240
mov eax, dword [esp + 0xc]
xor ecx, ecx
jmp 0x5d1ad0
movzx edx, byte [esp + ecx + 0x34]
xor edx, 0xffffffef
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 0x320
jge 0x5d1ae6
jb 0x5d1ac4
mov eax, ecx
mov ecx, 0x320
call fcn.00464400
mov dword [esp + 0x364], eax
lea eax, [0x6056e0]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [esp + 0x35c], eax
mov dword [eax + 4], 0xc
lea ecx, [0x61cfe2]
mov dword [eax], ecx
lea ecx, [0x605760]
mov dword [esp], ecx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5d1e9d
mov ecx, dword [esp + 0x35c]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x358], eax
mov dword [eax + 4], 0xc
lea ecx, [0x61cca6]
mov dword [eax], ecx
lea ecx, [0x605760]
mov dword [esp], ecx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5d1e85
mov ecx, dword [esp + 0x35c]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x354], eax
mov dword [eax + 4], 0x13
lea ecx, [0x61fb24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x364]
mov dword [esp + 0x360], ecx
lea ecx, [0x5eb540]
mov dword [esp], ecx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x360]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [esp + 0x358]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
mov dword [esp + 0xc], 6
call fcn.0052fc90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
lea ecx, [0x5eb080]
mov dword [esp], ecx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov dword [eax + 4], 0xfffffff
mov ecx, dword [esp + 0x354]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.0052fc90
lea eax, [0x60b340]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov ecx, dword [0x7d2a1c]
mov dword [esp], ecx
lea ecx, [0x66e6a0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00558740
lea edi, [esp + 0x3c8]
xor eax, eax
call fcn.004645c9
lea edi, [esp + 0x3e4]
call fcn.004645ad
lea eax, [esp + 0x3e4]
mov dword [esp + 0x3d4], eax
call fcn.0044fff0
mov eax, dword [esp]
mov dword [esp + 0x3d0], eax
lea eax, [0x5f82a0]
mov dword [esp], eax
lea ecx, [esp + 0x3c8]
mov dword [esp + 4], ecx
lea edx, [0x61b164]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 6
call fcn.00410c50
mov eax, dword [esp + 0x10]
lea ecx, [0x5f1960]
mov dword [eax], ecx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x5d1e72
lea edx, [0x66e004]
mov dword [eax + 4], edx
lea eax, [0x5f82a0]
mov dword [esp], eax
lea eax, [esp + 0x3c8]
mov dword [esp + 4], eax
lea ecx, [0x61ac5a]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
call fcn.00410c50
mov eax, dword [esp + 0x10]
lea ecx, [0x5f1160]
mov dword [eax], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5d1e5f
lea ecx, [0x66dcc0]
mov dword [eax + 4], ecx
mov eax, dword [0x7d2a1c]
mov dword [esp], eax
lea eax, [esp + 0x3c8]
mov dword [esp + 4], eax
call fcn.00556b20
mov eax, dword [esp + 8]
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
lea ecx, [0x5f1960]
mov dword [esp + 0x380], ecx
lea edx, [0x66e00c]
mov dword [esp + 0x384], edx
mov dword [esp], eax
mov dword [esp + 4], 4
lea eax, [esp + 0x380]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00554740
mov dword [esp + 0x3b8], 0
mov dword [esp + 0x3bc], 0
mov dword [esp + 0x3c0], 0
mov dword [esp + 0x3c4], 0
lea eax, [0x5f1960]
mov dword [esp + 0x3b8], eax
lea ecx, [0x66e014]
mov dword [esp + 0x3bc], ecx
mov dword [esp + 0x3c0], eax
lea ecx, [0x66dfc4]
mov dword [esp + 0x3c4], ecx
mov ecx, dword [0x7d3304]
lea edx, [0x66e7cc]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x3b8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004e1b00
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66dfcc]
mov dword [esp + 4], eax
call fcn.00436760
lea edi, [eax + 4]
lea eax, [0x66dcc0]
call fcn.00464380
jmp 0x5d1d42
lea edi, [eax + 4]
lea eax, [0x66e004]
call fcn.00464380
jmp 0x5d1cf4
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x35c]
call fcn.00464380
mov eax, ecx
jmp 0x5d1b7f
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x35c]
call fcn.00464380
mov eax, ecx
jmp 0x5d1b3f
call fcn.00462f70
jmp fcn.005d1650