Function at 0x445179
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
mov ebx, ecx
mov dword [esp + 0x58], 1
push esi
xor ecx, ecx
mov dword [esp + 0x44], ebx
mov esi, edx
mov dword [esp + 0x40], ecx
mov eax, dword [ebx + 0x1d4]
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x1d8]
mov dword [ebx + 0x1d4], eax
inc eax
mov dword [esp + 0x60], esi
mov dword [ebx + 0x1d8], eax
push edi
mov edi, dword [ebx]
mov dword [esp + 0x14], edi
test esi, esi
je 0x4464ba
cmp byte [edi + 0x45], cl
jne 0x4464ba
cmp dword [ebx + 0x44], ecx
jne 0x4464ba
push ecx
push ecx
push ecx
push 0x15
pop edx
mov ecx, ebx
call fcn.004310ac
add esp, 0xc
test eax, eax
jne 0x4464ba
push 0x30
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004693e0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x44522b
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x445223
mov ecx, edi
call fcn.0042be9f
and dword [esi + 0x2c], 0
and dword [esi + 8], 0xfffffffe
push 0
mov edx, esi
mov ecx, ebx
call fcn.00444d6c
pop ecx
push 8
pop eax
mov ecx, eax
lea edi, [esp + 0xbc]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x20], edi
cmp dword [ebx + 0x44], eax
jne 0x44646a
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x44646a
mov eax, dword [ebp + 8]
mov edx, dword [esi + 8]
shr edx, 3
and edx, 1
mov cl, byte [eax]
mov eax, dword [esi]
mov dword [esp + 0x38], edx
cmp dword [eax], 1
jle 0x4452a8
cmp cl, 0xa
je 0x445296
cmp cl, 0xb
jne 0x4452a8
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push ebx
call fcn.00408a87
pop ecx
pop ecx
jmp 0x44646a
xor ecx, ecx
cmp dword [esi + 0x30], ecx
jmp 0x44535b
cmp ecx, dword [edi]
jge 0x445365
imul eax, ecx, 0x50
mov dword [esp + 0x2c], eax
mov eax, dword [eax + edi + 0x1c]
mov dword [esp + 0x30], eax
test eax, eax
je 0x445356
mov edx, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, dword [edx + edi + 0x18]
mov eax, dword [eax]
movsx edx, word [edx + 0x22]
mov dword [esp + 0x40], edx
cmp edx, eax
mov edx, dword [esp + 0x38]
jne 0x4453aa
mov edi, dword [esp + 0x30]
mov edi, dword [edi + 8]
shr edi, 3
and edi, 1
push edi
push edx
push ecx
mov edx, esi
mov ecx, ebx
call fcn.00443a8c
add esp, 0xc
test eax, eax
je 0x445327
test edi, edi
je 0x445322
xor eax, eax
inc eax
push 8
mov dword [esp + 0x3c], eax
pop eax
or dword [esi + 8], eax
or ecx, 0xffffffff
jmp 0x44532b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x20], edi
cmp byte [eax + 0x45], 0
jne 0x44646a
mov eax, dword [ebp + 8]
cmp byte [eax], 8
jbe 0x445356
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0xbc], eax
inc ecx
cmp dword [esi + 0x30], 0
mov dword [esp + 0x1c], ecx
je 0x4452b2
mov edi, dword [ebx + 8]
mov dword [esp + 0x34], edi
test edi, edi
jne 0x445385
mov ecx, ebx
call fcn.00442272
mov edi, eax
mov dword [esp + 0x34], eax
test edi, edi
je 0x446466
cmp dword [esi + 0x30], 0
je 0x4453cc
push dword [ebp + 8]
mov edx, esi
mov ecx, ebx
call fcn.004427c7
pop ecx
mov ecx, dword [esp + 0xb8]
mov dword [ebx + 0x1d4], ecx
jmp 0x4464bd
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [ecx + edi + 0x18]
push dword [eax]
push dword [esp + 0x48]
push str.expected__d_columns_for__s_but_got__d
push ebx
call fcn.00408a87
add esp, 0x14
jmp 0x44646a
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [eax], ecx
jle 0x44569d
imul ecx, ecx, 0x50
mov dword [esp + 0x18], ecx
mov edx, dword [ecx + eax + 0x1c]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x44568c
mov edx, dword [ecx + eax + 0x20]
test edx, edx
je 0x445421
test byte [ecx + eax + 0x30], 0x10
jne 0x44568c
push 0
push edx
push dword [ecx + eax + 0x24]
mov ecx, edi
push 0xe
pop edx
call fcn.0041cfbf
add esp, 0xc
jmp 0x445688
and dword [esp + 0x1c], 0
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.0042af54
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add dword [ebx + 0x1d0], eax
test byte [edx + ecx + 0x2c], 0x20
jne 0x445468
push dword [edx + ecx + 0x38]
mov edx, dword [esp + 0x40]
push dword [esi + 0x20]
mov ecx, dword [esp + 0x1c]
call fcn.00444010
mov edx, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
jne 0x445552
cmp dword [ecx], 1
je 0x445482
test byte [ecx + 0x7c], 0xa
je 0x445552
test byte [esi + 8], 2
jne 0x445552
mov eax, dword [esp + 0x14]
mov esi, 0x100
test word [eax + 0x40], si
jne 0x445552
mov esi, dword [edi + 0x20]
mov eax, dword [ebx + 0x4c]
inc esi
push esi
inc eax
push 0
push eax
mov dword [ebx + 0x4c], eax
mov dword [edx + ecx + 0x24], eax
mov ecx, edi
push 0xf
pop edx
call fcn.0041cfbf
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov word [esp + 0x68], 0xd
mov eax, dword [ecx + edx + 0x24]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [ecx + edx + 0x20], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov al, byte [ebx + 0x1d8]
mov byte [ecx + edx + 0x34], al
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.00445179
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
pop ecx
mov ecx, dword [esp + 0x18]
mov ax, word [eax + 6]
mov ecx, dword [ecx + edx + 0x18]
mov word [ecx + 0x26], ax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
or dword [ecx + edx + 0x30], 0x10
mov dword [ecx + edx + 0x28], eax
mov edx, dword [ecx + edx + 0x24]
mov ecx, edi
call fcn.0041d169
mov eax, dword [edi + 0x18]
lea edx, [esi - 1]
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, edi
call fcn.0041d6a1
mov ecx, dword [edi + 0x20]
mov dword [eax + 8], ecx
jmp 0x445656
mov eax, dword [ebx + 0x4c]
xor ecx, ecx
mov esi, dword [esp + 0x20]
inc eax
push ecx
push eax
push ecx
mov dword [ebx + 0x4c], eax
mov dword [esp + 0x28], ecx
mov ecx, edi
mov dword [edx + esi + 0x24], eax
push 0x4a
pop edx
call fcn.0041cfbf
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x30], eax
inc eax
test byte [ecx + esi + 0x30], 8
mov dword [ecx + esi + 0x20], eax
jne 0x4455c6
mov eax, dword [ebx + 8]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4455a1
mov ecx, ebx
call fcn.00442272
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x54]
push 0
push 0
push ecx
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x28]
push 0x14
pop edx
mov dword [ebx + 0x54], eax
call fcn.0041cfbf
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + esi + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov al, byte [ebx + 0x1d8]
mov byte [ecx + esi + 0x34], al
lea eax, [esp + 0x68]
push eax
mov ecx, ebx
mov word [esp + 0x6c], 0xc
call fcn.00445179
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
pop ecx
mov ecx, dword [esp + 0x18]
mov ax, word [eax + 6]
mov ecx, dword [ecx + esi + 0x18]
mov word [ecx + 0x26], ax
test edx, edx
je 0x44562d
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, edi
call fcn.0041d6a1
mov ecx, dword [edi + 0x20]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x18]
mov ecx, edi
push 0
push 0
push dword [eax + esi + 0x24]
push 0x46
pop edx
call fcn.0041cfbf
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, edi
mov esi, eax
call fcn.0041d6a1
mov dword [eax + 4], esi
mov esi, dword [esp + 0x14]
xor eax, eax
mov byte [ebx + 0x13], al
mov dword [ebx + 0x3c], eax
cmp byte [esi + 0x45], al
jne 0x446460
mov esi, dword [esp + 0x64]
lea edx, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.0042af54
mov eax, dword [esp + 0x1c]
sub dword [ebx + 0x1d0], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [eax]
jl 0x4453de
mov eax, dword [esi + 0x20]
xor ecx, ecx
mov edx, dword [esi]
inc ecx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x1c], eax
mov al, byte [esi + 8]
and al, cl
mov dword [esp + 0x44], edx
mov byte [esp + 0x13], al
mov byte [esp + 0x68], al
mov eax, dword [esi + 8]
and al, 9
cmp al, cl
jne 0x4456ff
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
call fcn.0042e7ad
mov edx, dword [esp + 0x48]
pop ecx
test eax, eax
jne 0x4456ff
mov ecx, dword [esp + 0x14]
and dword [esi + 8], 0xfffffffe
push eax
call fcn.0042b989
mov edx, dword [esp + 0x48]
pop ecx
mov dword [esp + 0x18], eax
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x445752
push dword [edx]
mov edx, eax
mov ecx, ebx
push 0
call fcn.0044165b
mov edx, dword [ebx + 0x48]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [edx + 1]
mov dword [esp + 0xd8], edx
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [esp + 0x38]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, edi
push eax
push edx
push 0x69
pop edx
call fcn.0041d081
add esp, 0x1c
mov dword [esp + 0xd0], eax
jmp 0x44575a
or dword [esp + 0xd0], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 0xc
jne 0x44577a
mov ecx, dword [esp + 0x44]
push 0
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
push 0x69
pop edx
call fcn.0041cfbf
add esp, 0xc
mov ecx, edi
call fcn.0041d18e
mov ecx, 0x140
mov dword [esp + 0xe4], eax
mov word [esi + 6], cx
mov edx, esi
push eax
mov ecx, ebx
call fcn.004422b1
cmp dword [esi + 0xc], 0
pop ecx
jne 0x4457c1
mov eax, dword [esp + 0xd0]
test eax, eax
js 0x4457c1
mov edx, eax
mov ecx, edi
call fcn.0041d6a1
or byte [esp + 0xd8], 1
mov byte [eax], 0x6a
test byte [esi + 8], 1
je 0x44582f
mov esi, dword [ebx + 0x48]
mov ecx, ebx
mov edx, dword [esp + 0x64]
push 0
push 0
lea eax, [esi + 1]
mov dword [esp + 0x74], esi
mov dword [ebx + 0x48], eax
mov edx, dword [edx]
call fcn.0044165b
mov ecx, dword [esp + 0x3c]
mov edi, eax
push 0
push 0
push esi
push 0x69
pop edx
call fcn.0041cfbf
add esp, 0x14
mov esi, eax
mov edx, esi
push 0xfffffffffffffffa
push edi
mov edi, dword [esp + 0x3c]
mov ecx, edi
call fcn.0041d613
pop ecx
pop ecx
push 8
pop eax
mov dl, al
mov dword [esp + 0x70], esi
mov ecx, edi
call fcn.0041d3b9
mov esi, dword [esp + 0x64]
mov cl, 3
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x69], cl
jmp 0x445839
xor al, al
mov dword [esp + 0x3c], eax
mov byte [esp + 0x69], al
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x18]
jne 0x445949
test ecx, ecx
jne 0x445949
cmp byte [esp + 0x13], cl
mov eax, 0x400
mov edx, 0x4000
cmovne ecx, eax
mov ax, word [esi + 8]
and ax, dx
mov edx, dword [esp + 0x20]
or cx, ax
movsx eax, word [esi + 6]
push eax
movzx ecx, cx
push ecx
push dword [esi]
mov ecx, ebx
push dword [esp + 0x30]
push dword [esp + 0x60]
call fcn.004510d9
mov edx, eax
add esp, 0x14
mov dword [esp + 0x1c], edx
test edx, edx
je 0x446466
movzx eax, word [edx + 0x20]
cmp ax, word [esi + 6]
jge 0x4458a8
mov word [esi + 6], ax
cmp byte [esp + 0x13], 0
je 0x4458d1
mov eax, dword [esp + 0x3c]
mov cl, byte [edx + 0x2a]
movzx eax, al
test cl, cl
mov dword [esp + 0x3c], eax
movzx eax, cl
mov ecx, dword [esp + 0x3c]
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x69], cl
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4458f7
movsx eax, byte [edx + 0x26]
and dword [esp + 0x60], 0
cmp eax, dword [ecx]
mov dword [esp + 0xc0], eax
cmove ecx, dword [esp + 0x60]
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0xd0]
test eax, eax
js 0x445913
test ecx, ecx
jne 0x445913
mov edx, eax
mov ecx, edi
call fcn.0041d536
mov edx, dword [esp + 0x1c]
push dword [edx + 0x34]
lea eax, [esp + 0x6c]
mov ecx, ebx
push dword [edx + 0x30]
mov edx, esi
push dword [ebp + 8]
push eax
lea eax, [esp + 0xcc]
push eax
push 0xffffffffffffffff
push dword [esp + 0x5c]
call fcn.00440f6a
mov ecx, dword [esp + 0x38]
add esp, 0x1c
call fcn.004518f2
jmp 0x4463e5
and dword [esp + 0x4c], 0
and dword [esp + 0x28], 0
test ecx, ecx
je 0x44599e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x445976
add edx, 0x16
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x18]
test eax, eax
jg 0x445965
mov edi, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
test eax, eax
jle 0x445993
add edx, 0x16
xor ebx, ebx
dec eax
mov word [edx], bx
lea edx, [edx + 0x18]
test eax, eax
jg 0x445982
mov ebx, dword [esp + 0x48]
push 0x42
pop eax
cmp word [esi + 6], ax
jle 0x4459a4
jmp 0x4459a0
xor eax, eax
mov word [esi + 6], ax
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
call fcn.0042e7ad
pop ecx
xor ecx, ecx
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, edi
call fcn.0041d18e
mov dword [esp + 0x38], eax
lea edi, [esp + 0xe8]
push 8
pop eax
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x88]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xf4], eax
mov eax, dword [ebx + 0x4c]
inc eax
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], edi
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x445a17
mov eax, dword [ecx]
mov dword [esp + 0x94], eax
jmp 0x445a1f
and dword [esp + 0x94], 0
mov edx, dword [esp + 0x44]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0xe8]
call fcn.0042eb84
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xe8]
call fcn.0042eb84
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x445a5c
mov edx, eax
lea ecx, [esp + 0xe8]
call fcn.0042eb4f
and dword [esp + 0x2c], 0
cmp dword [esp + 0xb4], 0
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xac], edx
jle 0x445ae6
mov ax, word [esp + 0x104]
xor esi, esi
mov edi, dword [esp + 0x2c]
push 8
pop ebx
or ax, bx
lea ecx, [esp + 0xe8]
mov word [esp + 0x104], ax
mov eax, dword [esp + 0xb0]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x14]
call fcn.0042eb84
mov ax, word [esp + 0x104]
lea esi, [esi + 0x10]
mov ecx, 0xfff7
and ax, cx
inc edi
mov word [esp + 0x104], ax
cmp edi, dword [esp + 0xb4]
jl 0x445a8a
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x44646a
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x446136
mov eax, dword [ebx + 0x48]
push edx
mov dword [esp + 0x90], eax
mov edx, ecx
inc eax
mov ecx, ebx
push 0
mov dword [ebx + 0x48], eax
call fcn.0044165b
mov edi, dword [esp + 0x3c]
mov ecx, edi
push 0xfffffffffffffffa
push eax
push 0
push dword [esp + 0xa8]
mov dword [esp + 0xf4], eax
push dword [esp + 0xa4]
push 0x6a
pop edx
call fcn.0041d081
mov dword [esp + 0xfc], eax
add esp, 0x1c
mov eax, dword [ebx + 0x4c]
mov ecx, edi
inc eax
mov dword [esp + 0x54], eax
inc eax
mov dword [esp + 0x24], eax
inc eax
mov dword [ebx + 0x4c], eax
call fcn.0041d18e
inc dword [ebx + 0x4c]
mov ecx, edi
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x2c], eax
call fcn.0041d18e
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
push 0
push dword [esp + 0x28]
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x88], eax
mov dword [ebx + 0x4c], ecx
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x88], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, edi
push 0x4a
pop edx
mov dword [ebx + 0x4c], eax
call fcn.0041cfbf
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x58]
push 0
push 0x4a
pop edx
call fcn.0041cfbf
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [ecx]
mov ecx, dword [esp + 0x80]
dec eax
add eax, ecx
push eax
push ecx
push 0
push 0x4d
pop edx
mov ecx, edi
call fcn.0041cfbf
add esp, 0xc
push 0
push dword [esp + 0x44]
push dword [esp + 0x34]
push 0xe
pop edx
mov ecx, edi
call fcn.0041cfbf
mov edx, dword [esp + 0x2c]
add esp, 0xc
cmp dword [esp + 0x30], 0
mov ecx, 0x900
mov eax, 0x100
cmovne eax, ecx
mov ecx, ebx
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x24]
push dword [esp + 0x60]
call fcn.004510d9
mov edx, eax
add esp, 0x14
mov dword [esp + 0x50], edx
test edx, edx
je 0x446466
mov ecx, dword [esp + 0x18]
movsx eax, byte [edx + 0x26]
cmp eax, dword [ecx]
jne 0x445c65
xor esi, esi
mov dword [esp + 0x5c], esi
jmp 0x445e24
cmp byte [esp + 0x13], 0
je 0x445c77
test byte [esi + 8], 1
mov edx, str.DISTINCT
je 0x445c7c
mov edx, str.GROUP_BY
mov ecx, ebx
call fcn.0044170c
cmp dword [esp + 0xa8], 0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x5c], 1
mov eax, dword [esi]
mov edx, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], eax
jle 0x445ce9
mov ebx, dword [esp + 0xa4]
mov edi, eax
mov esi, dword [esp + 0xa8]
add ebx, 0xc
cmp dword [ebx], edi
lea eax, [edx + 1]
lea ebx, [ebx + 0x18]
cmovl eax, edx
mov edx, eax
lea eax, [edi + 1]
cmovl eax, edi
mov edi, eax
sub esi, 1
jne 0x445cbf
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
mov ecx, ebx
call fcn.0042ec08
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.0042d074
push 0
push 0
push dword [esp + 0x30]
mov edx, esi
mov ecx, ebx
call fcn.0042def6
mov ecx, dword [esp + 0xb4]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x48], eax
test ecx, ecx
jle 0x445d6e
mov edi, dword [esp + 0x84]
xor esi, esi
mov edx, dword [esp + 0xa4]
cmp dword [esi + edx + 0xc], edi
jl 0x445d5e
mov eax, dword [esp + 0x28]
mov ecx, ebx
add eax, edi
push eax
push dword [esi + edx + 4]
push dword [esi + edx + 8]
mov edx, dword [esi + edx]
call fcn.0042d03f
mov ecx, dword [esp + 0xb4]
add esp, 0xc
mov eax, dword [esp + 0x48]
inc edi
inc eax
add esi, 0x18
mov dword [esp + 0x48], eax
cmp eax, ecx
jl 0x445d29
mov edi, dword [esp + 0x34]
mov ecx, ebx
call fcn.0042ebb8
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0x50]
push dword [esp + 0x30]
push 0x60
pop edx
call fcn.0041cfbf
add esp, 0xc
mov ecx, edi
push 0
push esi
push dword [esp + 0x94]
push 0x7b
pop edx
call fcn.0041cfbf
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.0042ebd4
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
push esi
call fcn.0042ec33
pop ecx
mov ecx, dword [esp + 0x50]
call fcn.004518f2
mov edx, dword [ebx + 0x48]
mov ecx, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x90], edx
lea eax, [edx + 1]
mov dword [ebx + 0x48], eax
call fcn.0042ebb8
push esi
push eax
push edx
push 0x6c
pop edx
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.0041cfbf
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x94]
push 0x2a
pop edx
call fcn.0041cfbf
add esp, 0xc
mov byte [esp + 0x89], 1
mov ecx, ebx
call fcn.0042d074
mov edx, dword [esp + 0x50]
xor esi, esi
inc esi
cmp dword [esp + 0x30], 0
je 0x445e55
mov eax, dword [esp + 0x14]
test byte [eax + 0x40], 4
jne 0x445e55
test esi, esi
jne 0x445e3f
cmp byte [edx + 0x27], 0
je 0x445e55
mov edx, dword [esp + 0xd0]
mov ecx, edi
and dword [esp + 0xbc], 0
call fcn.0041d536
mov eax, dword [edi + 0x20]
mov ecx, ebx
mov dword [esp + 0x84], eax
call fcn.0042d074
test esi, esi
je 0x445e86
push dword [esp + 0x4c]
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x94]
push 0x76
pop edx
call fcn.0041cfbf
add esp, 0xc
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x30], eax
mov ecx, dword [esi]
test ecx, ecx
jle 0x445eee
xor ecx, ecx
mov dword [esp + 0x48], ecx
jmp 0x445ea2
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
add edx, eax
cmp dword [esp + 0x5c], 0
push edx
je 0x445ec4
push eax
push dword [esp + 0x54]
mov ecx, edi
push 0x5e
pop edx
call fcn.0041cfbf
add esp, 0xc
jmp 0x445eda
mov byte [esp + 0x8c], 1
mov edx, dword [esi + 4]
mov edx, dword [edx + ecx]
mov ecx, ebx
call fcn.0042de5d
pop ecx
mov eax, dword [esp + 0x30]
add dword [esp + 0x48], 0x18
inc eax
mov ecx, dword [esi]
mov dword [esp + 0x30], eax
cmp eax, ecx
jl 0x445e9e
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x445efd
inc dword [eax]
mov ecx, dword [esi]
push 0xfffffffffffffffa
push eax
push ecx
push dword [esp + 0x88]
mov ecx, edi
push dword [esp + 0x90]
push 0x5d
pop edx
call fcn.0041d081
mov esi, dword [edi + 0x20]
add esp, 0x14
mov ecx, edi
lea eax, [esi + 1]
push eax
push 0
push eax
push 0x12
pop edx
call fcn.0041cfbf
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x7c]
mov ecx, ebx
push dword [eax]
push dword [esp + 0x84]
call fcn.0042d096
mov eax, dword [esp + 0x2c]
mov ecx, edi
push 0
push dword [esp + 0x64]
inc eax
push eax
push 0xe
pop edx
call fcn.0041cfbf
add esp, 0x14
mov ecx, edi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push 0x40
pop edx
call fcn.0041cfbf
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x44]
push dword [esp + 0x34]
push 0xe
pop edx
call fcn.0041cfbf
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
mov edx, esi
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, edi
call fcn.0041d6a1
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x88]
mov dword [eax + 8], ecx
mov ecx, ebx
call fcn.00444edf
xor esi, esi
mov ecx, edi
push esi
push dword [esp + 0x58]
push 1
push 0x4a
pop edx
call fcn.0041cfbf
add esp, 0xc
cmp dword [esp + 0x5c], esi
je 0x445ff3
push esi
push dword [esp + 0x88]
mov ecx, edi
push dword [esp + 0x94]
push 3
pop edx
call fcn.0041cfbf
add esp, 0xc
jmp 0x44600a
mov ecx, dword [esp + 0x50]
call fcn.004518f2
mov edx, dword [esp + 0xe0]
mov ecx, edi
call fcn.0041d536
push esi
mov esi, dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x5c]
lea eax, [esi + 1]
push eax
push 0xe
pop edx
call fcn.0041cfbf
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x3c]
push 0
push 0xd
pop edx
call fcn.0041cfbf
mov edi, dword [edi + 0x20]
add esp, 0xc
push 0
push esi
mov esi, dword [esp + 0x3c]
mov ecx, esi
push 1
push 0x4a
pop edx
call fcn.0041cfbf
mov eax, dword [esp + 0x30]
add esp, 0xc
inc eax
mov ecx, esi
push 0
push 0
push eax
push 0x46
pop edx
call fcn.0041cfbf
mov edx, dword [esp + 0x64]
add esp, 0xc
mov ecx, esi
call fcn.0041d1d0
mov esi, dword [esi + 0x20]
push 0
lea eax, [esi + 2]
push eax
push dword [esp + 0x5c]
push 0x40
pop edx
call fcn.0041cfbf
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x34]
inc eax
push 0
push 0
push eax
push 0x46
pop edx
call fcn.0041cfbf
add esp, 0xc
lea edx, [esp + 0x88]
mov ecx, ebx
call fcn.00444e8e
mov edx, dword [esp + 0x1c]
inc esi
push 0x10
push esi
mov ecx, ebx
call fcn.0042e33e
push edi
push esi
push dword [ebp + 8]
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xd4]
mov edx, esi
push eax
push 0xffffffffffffffff
push dword [esi]
mov ecx, ebx
call fcn.00440f6a
mov eax, dword [esp + 0x48]
add esp, 0x24
mov edi, dword [esp + 0x34]
inc eax
mov ecx, edi
push 0
push 0
push eax
push 0x46
pop edx
call fcn.0041cfbf
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, edi
call fcn.0041d1d0
lea edx, [esp + 0x88]
mov ecx, ebx
call fcn.00444ddf
push 0
push 0
push dword [esp + 0x34]
mov ecx, edi
push 0x46
pop edx
call fcn.0041cfbf
add esp, 0xc
jmp 0x4463da
xor eax, eax
lea edx, [esp + 0x88]
mov ecx, esi
mov dword [esp + 0x54], eax
call fcn.0044412c
mov dword [esp + 0x5c], eax
test eax, eax
je 0x446285
mov ecx, dword [ebx]
mov edi, eax
mov edx, dword [edi + 0x40]
call fcn.0044007d
mov ecx, eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x2c], eax
mov edx, ecx
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 0x48], eax
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
call fcn.0043539e
push dword [edi]
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.00431130
add esp, 0xc
test byte [edi + 0x2a], 0x20
je 0x4461b7
mov ecx, edi
call fcn.00431b8a
mov ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x4461bb
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 8]
test eax, eax
je 0x4461ef
test byte [eax + 0x38], 4
jne 0x4461e4
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x28]
jge 0x4461e4
cmp dword [eax + 0x24], 0
jne 0x4461e4
test ecx, ecx
je 0x4461e2
cmp dx, word [ecx + 0x30]
jge 0x4461e4
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4461c2
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x446207
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.0043582d
mov dword [esp + 0x58], eax
mov edi, dword [esp + 0x34]
mov ecx, edi
push 1
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x38]
push 0x66
pop edx
call fcn.0041d13b
mov eax, dword [esp + 0x68]
add esp, 0x10
test eax, eax
je 0x44623d
push 0xfffffffffffffffa
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.0041d613
pop ecx
pop ecx
mov eax, dword [esp + 0xb0]
mov ecx, edi
push 0
push dword [eax + 8]
push dword [esp + 0x34]
push 0x62
pop edx
call fcn.0041cfbf
add esp, 0xc
mov ecx, edi
push 0
push 0
push dword [esp + 0x34]
push 0x6d
pop edx
call fcn.0041cfbf
mov eax, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x5c]
mov ecx, ebx
push eax
call fcn.004450f4
pop ecx
jmp 0x446391
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], al
cmp dword [esi + 0x28], eax
jne 0x4462f4
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x88]
call fcn.004440c8
mov byte [esp + 0x13], al
test al, al
je 0x4462ec
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push 0
call fcn.0042b989
mov edx, eax
mov eax, dword [esp + 0x18]
pop ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], edx
cmp byte [eax + 0x45], 0
jne 0x4462f4
mov eax, dword [edx + 4]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x4462f4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
lea edx, [esp + 0x88]
mov ecx, ebx
call fcn.00444ddf
mov al, byte [esp + 0x13]
mov edx, edi
push 0
movzx eax, al
mov ecx, ebx
push eax
push 0
push dword [esp + 0x4c]
push dword [esp + 0x60]
call fcn.004510d9
add esp, 0x14
mov dword [esp + 0x30], eax
test eax, eax
jne 0x446348
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x44646e
mov edx, eax
mov ecx, esi
call fcn.0042be9f
jmp 0x44646e
lea edx, [esp + 0x88]
mov ecx, ebx
call fcn.00444edf
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
cmp byte [eax + 0x26], 0
jle 0x44637c
push 0
push dword [eax + 0x34]
mov ecx, edi
push 0
push 0xd
pop edx
call fcn.0041cfbf
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, eax
call fcn.004518f2
lea edx, [esp + 0x88]
mov ecx, ebx
call fcn.00444e8e
mov edx, dword [esp + 0x1c]
mov ecx, ebx
and dword [esp + 0xbc], 0
push 0x10
push dword [esp + 0x3c]
call fcn.0042e33e
mov eax, dword [esp + 0x40]
mov edx, esi
push eax
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
call fcn.00440f6a
mov eax, dword [esp + 0x78]
add esp, 0x24
test eax, eax
je 0x4463da
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.0042be9f
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.0041d1d0
mov eax, dword [esp + 0x3c]
cmp al, 3
jne 0x4463f9
mov edx, str.DISTINCT
mov ecx, ebx
call fcn.0044170c
cmp dword [esp + 0xbc], 0
je 0x44643c
cmp dword [esp + 0xc0], 0
mov eax, str.ORDER_BY
mov edx, str.RIGHT_PART_OF_ORDER_BY
mov ecx, ebx
cmovle edx, eax
call fcn.0044170c
mov eax, dword [esp + 0x44]
mov edx, esi
push dword [ebp + 8]
mov ecx, ebx
push dword [eax]
lea eax, [esp + 0xc4]
push eax
call fcn.004417c8
add esp, 0xc
mov edx, dword [esp + 0xe4]
mov ecx, edi
call fcn.0041d1d0
mov edi, dword [esp + 0x20]
xor eax, eax
cmp dword [ebx + 0x44], eax
mov esi, dword [esp + 0x14]
setg al
mov dword [esp + 0x60], eax
jmp 0x446471
mov edi, dword [esp + 0x20]
jmp 0x44646e
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
xor eax, eax
inc eax
mov ecx, dword [esp + 0xb8]
mov dword [ebx + 0x1d4], ecx
test eax, eax
jne 0x446498
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x446498
push dword [esp + 0x44]
mov edx, edi
mov ecx, ebx
call fcn.00441c73
pop ecx
mov edx, dword [esp + 0xa4]
mov ecx, esi
call fcn.0040690a
mov edx, dword [esp + 0xb0]
mov ecx, esi
call fcn.0040690a
mov eax, dword [esp + 0x60]
jmp 0x4464bd
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret