Function at 0x452810
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452a25
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
cmp ecx, 4
ja 0x452a0c
test ecx, ecx
je 0x4529f2
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x20], ebx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x24], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00452a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x45289d
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 0xd]
lea ecx, [ebx + ecx - 1]
neg ebx
and ebx, ecx
mov dword [eax + 0x14], ebx
mov ecx, dword [edx]
add ecx, ebx
mov dword [eax + 0x14], ecx
mov ecx, eax
jmp 0x4529ea
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 8], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x4528c1
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
jmp 0x4528ca
mov eax, dword [esp + 0x3c]
call fcn.00464380
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 0xd]
lea ecx, [ebx + ecx - 1]
neg ebx
and ebx, ecx
mov dword [edi + 0x10], ebx
xor eax, eax
lea edi, [esp + 0x28]
call fcn.004645cb
mov dword [esp + 0x28], 1
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [ecx + 0x10]
mov dword [esp + 0x30], ebp
mov eax, edx
mov edx, dword [edx]
mov dword [esp + 0x38], edx
mov esi, edx
mov edx, dword [ecx]
mov edi, ebp
mov ebp, dword [ecx + 4]
test ebp, ebp
jne 0x452921
mov edx, 1
jmp 0x45296b
lea ebp, [ebp + ebp*4]
lea eax, [edx + ebp*4 - 0x14]
cmp dword [eax], 1
je 0x452932
xor eax, eax
jmp 0x452962
mov eax, dword [edx + ebp*4 - 0x10]
mov ecx, dword [edx + ebp*4 - 4]
add eax, ecx
cmp ebx, eax
jne 0x45295c
mov eax, dword [edx + ebp*4 - 0xc]
add eax, ecx
cmp edi, eax
jne 0x45295c
lea eax, [ecx + esi]
mov dword [edx + ebp*4 - 4], eax
mov ecx, dword [esp + 0x44]
mov eax, 1
jmp 0x452962
mov ecx, dword [esp + 0x44]
xor eax, eax
xor eax, 1
mov edx, eax
mov eax, dword [esp + 0x48]
test dl, dl
je 0x4529e5
mov edx, dword [ecx + 4]
inc edx
mov ebx, dword [ecx]
mov ebp, dword [ecx + 8]
cmp ebp, edx
jae 0x4529ce
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6082e0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov dword [edi + 8], edx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x4529bf
mov dword [edi], eax
jmp 0x4529c4
call fcn.00464380
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x48]
mov ecx, edi
mov dword [ecx + 4], edx
lea edx, [edx + edx*4]
lea edi, [ebx + edx*4 - 0x14]
lea esi, [esp + 0x28]
call fcn.00464aae
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
add dword [ecx + 0x10], eax
add dword [ecx + 0xc], 4
add esp, 0x40
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x10]
movzx eax, byte [eax + 0xd]
lea edx, [eax + edx - 1]
neg eax
and eax, edx
mov dword [ecx + 0x10], eax
add esp, 0x40
ret
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e3ac]
mov dword [esp + 4], eax
call fcn.00436760
nop
call fcn.00462f70
jmp fcn.00452810