Function at 0x45f052
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov ebx, edx
mov dword [ebp - 0x10], eax
mov edx, ecx
mov dword [ebp - 0x28], eax
push 6
mov dword [ebp - 0x24], eax
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [edx]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x30]
mov esi, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], edx
cmp dword [esi + 0x2c], 0
je 0x45f0b5
movzx ecx, byte [ebx + 4]
call fcn.0045e034
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push edx
call fcn.00425127
add esp, 0xc
mov dword [ebp - 0x10], 1
jmp 0x45f696
cmp dword [esi + 0x38], 0
je 0x45f0cc
movzx ecx, byte [ebx + 4]
call fcn.0045e034
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x45f0a0
mov edi, edx
mov ecx, edi
call fcn.0045eb3f
mov dl, byte [ebp - 0x4c]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp dl, 0xc
jne 0x45f0fb
mov eax, dword [ebx]
push dword [eax]
push dword [ebp - 0x48]
push 0x6c
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dl, 0xe
mov byte [ebp - 0x4c], dl
test dword [ebx + 8], 0x400
je 0x45f11a
lea eax, [ebp - 0x4c]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0045f009
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x45f696
test dword [ebx + 8], 0x2000
je 0x45f187
lea eax, [ebp - 0x4c]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0045ed53
pop ecx
mov esi, dword [ebp - 0xc]
movzx edx, byte [ebx + 4]
xor eax, eax
cmp byte [ebx + 4], 0x74
mov ecx, edi
setne al
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0045e098
add esp, 0xc
test byte [ebx + 8], 0x20
je 0x45f696
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x24], eax
call fcn.0045df16
mov dword [ebp - 0x20], eax
pop ecx
test eax, eax
jne 0x45f5f3
mov dword [ebp - 0x10], 7
jmp 0x45f696
cmp dword [ebx + 0x2c], 0
je 0x45f19f
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.0045f95c
pop ecx
jmp 0x45f6b3
movzx eax, byte [ebx + 4]
sub eax, 0x73
je 0x45f46a
dec eax
je 0x45f361
dec eax
je 0x45f46a
mov edx, dword [edi + 0x28]
push 0
push edx
mov dword [ebp - 0x1c], edx
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
inc eax
push 0x6c
pop edx
mov dword [edi + 0x28], eax
call fcn.00439d92
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.0045d04c
push dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x64]
inc edx
or dword [eax + 8], 0x20
call fcn.0045cf3f
mov eax, dword [edi + 0x1a0]
add esp, 0xc
mov dword [ebp - 0x24], eax
mov edx, esi
mov eax, ecx
mov ecx, edi
push eax
call fcn.0046197b
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x45f696
mov ecx, dword [ebp - 0xc]
push eax
push dword [ebp - 0x2c]
push 0x6c
pop edx
call fcn.00439d92
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov eax, dword [ebx + 0x38]
mov edx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
mov ecx, edi
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x1a0]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x64]
push eax
call fcn.0046197b
mov dword [ebp - 0x10], eax
add esp, 0xc
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x30], esi
movzx eax, word [esi + 6]
cmp word [ebx + 6], ax
jle 0x45f277
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x18]
call fcn.004480e2
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x3c], eax
call fcn.00439f5e
mov ecx, dword [ebp - 0xc]
mov esi, eax
mov dword [ebp - 0x34], esi
call fcn.00439f5e
mov edx, dword [ebp - 0x14]
mov ecx, edi
push esi
mov ebx, eax
call fcn.0045eb4e
pop ecx
mov ecx, dword [ebp - 0xc]
push esi
push dword [ebp - 0x1c]
push 0x25
pop edx
call fcn.00439d92
mov ecx, edi
call fcn.0044bffb
mov ecx, dword [ebp - 0xc]
mov esi, eax
push esi
push dword [ebp - 0x1c]
push 0x7a
pop edx
call fcn.00439d92
mov ecx, dword [ebp - 0xc]
mov edi, eax
push 0
push esi
push ebx
push dword [ebp - 0x2c]
push 0x1d
pop edx
call fcn.00439f0f
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.0044c01a
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x4c]
push esi
push ebx
push eax
mov eax, dword [ebp - 0x14]
mov edx, eax
push 0
push 0
push dword [ebp - 0x1c]
push dword [eax]
call fcn.0045d876
mov ecx, dword [ebp - 0xc]
add esp, 0x3c
mov edx, ebx
call fcn.00439fa0
mov ebx, dword [ebp - 0x1c]
push edi
push ebx
push 7
pop edx
call fcn.00439d92
mov edx, esi
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.00439fa0
push 0
lea eax, [ebx + 1]
push eax
push 0x70
pop edx
call fcn.00439d92
push 0
push ebx
push 0x70
pop edx
mov ecx, esi
call fcn.00439d92
add esp, 0x18
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
jmp 0x45f134
xor eax, eax
mov edx, esi
mov dword [ebp - 0x2c], eax
mov ecx, edi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x1a0]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0046197b
pop ecx
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
test eax, eax
jne 0x45f696
mov dword [ebx + 0x30], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
test ecx, ecx
je 0x45f3e8
push ecx
mov ecx, dword [ebp - 0xc]
push 0x16
pop edx
call fcn.00439d7e
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x45f3e8
push ecx
inc ecx
mov edx, 0x93
push ecx
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.00439d0e
add esp, 0xc
mov eax, dword [edi + 0x1a0]
mov edx, ebx
mov dword [ebp - 0x20], eax
mov ecx, edi
lea eax, [ebp - 0x4c]
push eax
call fcn.0046197b
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x30]
pop ecx
mov cx, word [ebx + 6]
mov dword [ebx + 0x30], esi
mov dx, word [esi + 6]
mov dword [ebp - 0x28], eax
call fcn.00426117
mov word [ebx + 6], ax
mov ecx, dword [esi + 0x38]
mov word [ebp - 6], ax
test ecx, ecx
je 0x45f44e
lea edx, [ebp - 0x34]
call fcn.00448cdc
test eax, eax
je 0x45f44e
mov eax, dword [ebp - 0x34]
test eax, eax
jle 0x45f44e
cdq
push edx
push eax
call fcn.00426177
pop ecx
pop ecx
cmp word [ebp - 6], ax
jle 0x45f44e
mov word [ebx + 6], ax
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x45f134
mov edx, eax
mov ecx, esi
call fcn.0043a243
jmp 0x45f134
cmp dl, 1
jne 0x45f477
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
jmp 0x45f4a1
mov edx, dword [edi + 0x28]
push 0
push edx
mov dword [ebp - 0x1c], edx
lea eax, [edx + 1]
push 0x6c
pop edx
mov dword [edi + 0x28], eax
call fcn.00439d92
pop ecx
pop ecx
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.0045d04c
or dword [eax + 8], 0x20
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x7c]
push eax
inc edx
call fcn.0045cf3f
mov eax, dword [edi + 0x1a0]
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, esi
mov eax, ecx
mov ecx, edi
push eax
call fcn.0046197b
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x45f696
cmp byte [ebx + 4], 0x75
mov ecx, dword [ebx + 0x38]
sete al
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx + 0x3c]
xor edx, edx
inc al
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edx
mov edx, ebx
mov byte [ebp - 0x7c], al
mov eax, dword [edi + 0x1a0]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x30], ecx
mov ecx, edi
push eax
call fcn.0046197b
mov edx, dword [ebx + 0x2c]
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00448b14
mov eax, dword [ebx + 0x30]
and dword [ebx + 0x2c], 0
cmp byte [ebx + 4], 0x73
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x30], esi
jne 0x45f53d
mov dx, word [esi + 6]
mov cx, word [ebx + 6]
call fcn.00426117
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x18]
call fcn.004480e2
mov eax, dword [ebp - 0x34]
and dword [ebx + 0xc], 0
and dword [ebx + 0x10], 0
cmp byte [ebp - 0x4c], 1
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x3c], eax
je 0x45f131
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.00439f5e
mov ecx, esi
mov ebx, eax
call fcn.00439f5e
mov edx, dword [ebp - 0x14]
mov edi, eax
mov ecx, dword [ebp - 8]
push ebx
call fcn.0045eb4e
pop ecx
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
push 0x25
pop edx
call fcn.00439d92
mov ecx, esi
call fcn.0043a10e
mov ecx, dword [ebp - 8]
mov esi, eax
push ebx
push edi
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, eax
push 0
push 0
push dword [ebp - 0x1c]
push dword [eax]
call fcn.0045d876
mov ecx, dword [ebp - 0xc]
add esp, 0x24
mov edx, edi
call fcn.00439fa0
mov edi, dword [ebp - 0x1c]
push esi
push edi
push 7
pop edx
mov esi, ecx
call fcn.00439d92
mov edx, ebx
mov ecx, esi
call fcn.00439fa0
push 0
push edi
push 0x70
pop edx
call fcn.00439d92
add esp, 0x10
jmp 0x45f356
mov ecx, dword [ebp - 0x24]
add eax, 0x14
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
test ecx, ecx
jle 0x45f635
mov esi, dword [ebp - 0x34]
push eax
mov edx, ebx
mov ecx, edi
call fcn.0045ec56
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x45f621
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
add esi, 4
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ecx
jl 0x45f608
mov esi, dword [ebp - 0xc]
and dword [ebp - 0x2c], 0
lea edi, [ebx + 0x14]
mov ebx, dword [ebp - 0x20]
mov eax, dword [edi]
mov dword [ebp - 0x34], eax
test eax, eax
js 0x45f67e
push ecx
mov edx, eax
mov ecx, esi
call fcn.0043a20b
pop ecx
push 0xfffffffffffffff7
mov ecx, ebx
call fcn.0045dfa1
mov edx, dword [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0043a44a
or dword [edi], 0xffffffff
add edi, 4
mov edx, dword [ebp - 0x2c]
pop ecx
inc edx
mov dword [ebp - 0x2c], edx
pop ecx
mov ecx, dword [ebp - 0x24]
cmp edx, 2
jl 0x45f63f
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebx + 0x30]
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x45f635
mov ecx, dword [ebp - 0x20]
call fcn.0045df8e
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x18]
call fcn.0045d036
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret