Function at 0x448094
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x4c2014]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x30], eax
push esi
mov esi, edx
mov dword [esp + 0x48], ebx
push edi
mov eax, dword [ebx + 0x1d0]
mov edi, dword [ebx]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x1d4]
mov dword [ebx + 0x1d0], eax
inc eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], 1
mov dword [ebx + 0x1d4], eax
mov dword [esp + 0x3c], edi
test esi, esi
je 0x44935a
cmp byte [edi + 0x41], 0
jne 0x44935a
xor eax, eax
cmp dword [ebx + 0x40], eax
jne 0x44935a
push eax
push eax
push eax
push 0x15
pop edx
call fcn.00434761
add esp, 0xc
test eax, eax
jne 0x44935a
push 0x30
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00479330
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp byte [eax], 8
ja 0x448155
mov edx, dword [esi + 0x30]
mov ecx, edi
call fcn.0042f6fb
and dword [esi + 0x30], 0
mov eax, 0xfffe
and word [esi + 6], ax
push 0
mov edx, esi
mov ecx, ebx
call fcn.00447ca8
cmp dword [ebx + 0x40], 0
xorps xmm0, xmm0
mov eax, dword [esi + 0x30]
mov edx, dword [esi]
pop ecx
mov ecx, dword [esi + 0x20]
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
mov dword [esp + 0x68], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
jne 0x449302
cmp byte [edi + 0x41], 0
jne 0x449302
movzx eax, word [esi + 6]
mov ecx, ebx
shr eax, 2
and eax, 1
mov dword [esp + 0x24], eax
call fcn.0044513d
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x449307
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
cmp dword [ecx], 1
mov al, byte [eax]
jle 0x4481f3
cmp al, 0xa
je 0x4481d8
cmp al, 0xb
jne 0x4481f3
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push ebx
call fcn.0040d74b
mov esi, dword [esp + 0x6c]
pop ecx
mov dword [ebx + 0x1d0], esi
jmp 0x449333
mov edx, dword [esi + 0x34]
xor eax, eax
mov dword [esp + 0x14], eax
test edx, edx
jne 0x4484fd
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx]
jge 0x4484fd
imul eax, eax, 0x50
mov dword [esp + 0xc], eax
mov edx, dword [eax + ecx + 0x1c]
mov dword [esp + 0x30], edx
test edx, edx
je 0x4484e9
mov edx, dword [eax + ecx + 0x20]
test edx, edx
je 0x448257
test byte [eax + ecx + 0x30], 4
jne 0x4484e9
push 0
push edx
push dword [eax + ecx + 0x24]
mov ecx, edi
push 0x11
pop edx
call fcn.00420c12
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4484e9
and dword [esp + 0x34], 0
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.0042e875
mov eax, dword [esp + 0x34]
mov edx, esi
add dword [ebx + 0x1cc], eax
mov ecx, ebx
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.004469bf
add esp, 0xc
test eax, eax
je 0x4482bf
cmp dword [esp + 0x1c], 0
je 0x4482b3
push 4
pop eax
or word [esi + 6], ax
mov dword [esp + 0x24], 1
or eax, 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x4484aa
mov edx, dword [esp + 0x10]
cmp dword [edx], 1
jne 0x4483b1
mov eax, dword [esp + 0x3c]
mov ecx, pe_nt_image_headers32
test word [eax + 0x3c], cx
jne 0x4483b1
mov edi, dword [edi + 0x20]
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0xc]
lea esi, [edi + 1]
push esi
push 0
push eax
mov dword [ecx + edx + 0x24], eax
mov ecx, dword [esp + 0x38]
push 0x14
pop edx
call fcn.00420c12
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx + 0x20], esi
mov esi, eax
mov eax, dword [esi + ecx + 0x24]
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov al, byte [ebx + 0x1d4]
mov word [esp + 0xc0], 0xd
mov byte [esi + ecx + 0x34], al
lea eax, [esp + 0xc0]
push eax
mov ecx, ebx
call fcn.00448094
mov eax, dword [esp + 0x34]
pop ecx
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.0040e832
mov edx, dword [esp + 0x18]
push 4
mov ecx, dword [esi + edx + 0x18]
mov word [ecx + 0x26], ax
mov ecx, dword [esp + 0x38]
pop eax
or dword [esi + edx + 0x30], eax
mov eax, dword [esp + 0xd0]
push 0
push 0
push dword [esi + edx + 0x24]
mov dword [esi + edx + 0x28], eax
push 0x15
pop edx
call fcn.00420c12
add esp, 0x14
mov edx, edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.00420f8e
mov esi, dword [esp + 0x40]
jmp 0x4484a2
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x48]
inc eax
push 0
push eax
push 0
mov dword [ebx + 0x48], eax
mov dword [ecx + edx + 0x24], eax
mov ecx, edi
push 0x19
pop edx
call fcn.00420c12
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
inc eax
test byte [ecx + edx + 0x30], 2
mov dword [ecx + edx + 0x20], eax
jne 0x448403
mov ecx, ebx
call fcn.0042f9e8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + edx + 0x38]
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov al, byte [ebx + 0x1d4]
mov word [esp + 0xc0], 0xc
mov byte [ecx + edx + 0x34], al
lea eax, [esp + 0xc0]
mov edx, dword [esp + 0x30]
mov ecx, ebx
push eax
call fcn.00448094
mov eax, dword [esp + 0x34]
pop ecx
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.0040e832
mov edx, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + edx + 0x18]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x448478
mov edx, eax
mov ecx, edi
call fcn.00420f8e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0
push 0
push dword [eax + ecx + 0x24]
mov ecx, edi
push 0x12
pop edx
call fcn.00420c12
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, edi
push eax
call fcn.00420f4e
pop ecx
and dword [ebx + 0x38], 0
mov byte [ebx + 0x13], 0
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x41], 0
jne 0x4491ed
and dword [esp + 0x34], 0
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.0042e875
mov eax, dword [esp + 0x34]
sub dword [ebx + 0x1cc], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp byte [eax], 8
jbe 0x4484e9
mov eax, dword [esi + 0x30]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x34]
inc eax
mov dword [esp + 0x14], eax
test edx, edx
je 0x448208
mov eax, dword [esi + 0x24]
mov ecx, dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x34], eax
mov al, byte [esi + 6]
and al, 1
mov dword [esp + 0x20], ecx
mov byte [esp + 0x100], al
test edx, edx
je 0x448545
push dword [esp + 0x38]
mov edx, esi
mov ecx, ebx
call fcn.00445773
mov esi, dword [esp + 0x68]
pop ecx
mov dword [ebx + 0x1d0], esi
jmp 0x44935d
mov al, byte [esi + 6]
and al, 5
cmp al, 1
jne 0x448582
mov edx, ecx
mov ecx, dword [esp + 0x68]
push 0xffffffffffffffff
call fcn.00431f0c
pop ecx
test eax, eax
jne 0x44857e
mov edx, dword [esi]
mov eax, 0xfffe
mov ecx, dword [esp + 0x3c]
and word [esi + 6], ax
push 0
call fcn.0042f20a
pop ecx
mov dword [esp + 0xc], eax
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
test edx, edx
je 0x4485d0
push dword [ecx]
mov ecx, ebx
push 0
call fcn.004445c4
mov edx, dword [ebx + 0x44]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [esp + 0x80], edx
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [ecx]
inc ecx
push 0
mov eax, dword [eax]
add eax, ecx
mov ecx, edi
push eax
push edx
push 0x39
pop edx
call fcn.00420c64
add esp, 0x1c
mov dword [esp + 0x7c], eax
jmp 0x4485d5
or dword [esp + 0x7c], 0xffffffff
mov ecx, dword [esp + 0x38]
cmp byte [ecx], 0xc
jne 0x4485f6
mov eax, dword [esp + 0x20]
push 0
push dword [eax]
push dword [ecx + 4]
mov ecx, edi
push 0x39
pop edx
call fcn.00420c12
add esp, 0xc
mov ecx, edi
call fcn.00420d0c
or dword [esi + 0x18], 0xffffffff
mov edx, esi
push eax
mov ecx, ebx
mov dword [esp + 0xe0], eax
mov dword [esi + 0x1c], 0x7fffffff
call fcn.00445185
cmp dword [esi + 8], 0
pop ecx
jne 0x44863a
mov edx, dword [esp + 0x7c]
test edx, edx
js 0x44863a
mov ecx, edi
call fcn.004211fc
mov byte [eax], 0x3a
or byte [esp + 0x80], 1
test byte [esi + 6], 1
je 0x4486b0
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x104], eax
inc eax
mov dword [ebx + 0x44], eax
mov edx, dword [esi]
push 0
push 0
call fcn.004445c4
mov ecx, dword [esp + 0x34]
mov edi, eax
push 0
push 0
push dword [esp + 0x114]
push 0x39
pop edx
call fcn.00420c12
add esp, 0x14
mov esi, eax
mov edx, esi
push 0xfffffffffffffffa
push edi
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.00421129
pop ecx
pop ecx
mov dword [esp + 0x108], esi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4486a2
imul eax, dword [edi + 0x20], 0x14
mov byte [eax + ecx - 0x11], 8
mov esi, dword [esp + 0x40]
mov byte [esp + 0x101], 3
jmp 0x4486b8
mov byte [esp + 0x101], 0
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
jne 0x4487ba
test ecx, ecx
jne 0x4487ba
mov edx, dword [esp + 0x10]
xor eax, eax
cmp byte [esp + 0x100], al
mov ecx, 0x400
push 0
cmovne eax, ecx
mov ecx, ebx
movzx eax, ax
push eax
push dword [esi]
push dword [esp + 0x74]
push dword [esp + 0x6c]
call fcn.0045300d
add esp, 0x14
mov dword [esp + 0x40], eax
test eax, eax
je 0x4492fa
mov cx, word [eax + 0x20]
call fcn.0040e8b9
cmp edx, dword [esi + 0x1c]
ja 0x448725
jb 0x44871f
cmp eax, dword [esi + 0x18]
jae 0x448725
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
cmp byte [esp + 0x100], 0
je 0x44874d
mov eax, dword [esp + 0x40]
movzx edx, byte [esp + 0x101]
mov cl, byte [eax + 0x28]
test cl, cl
movzx eax, cl
cmovne edx, eax
mov byte [esp + 0x101], dl
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x44876c
mov eax, dword [esp + 0x40]
xor edx, edx
movsx eax, byte [eax + 0x24]
mov dword [esp + 0x6c], eax
cmp eax, dword [ecx]
cmove ecx, edx
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x7c]
test edx, edx
js 0x44877f
test ecx, ecx
jne 0x44877f
mov ecx, edi
call fcn.004210b7
mov eax, dword [esp + 0x40]
mov edx, esi
mov ecx, ebx
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0x108]
push dword [esp + 0x40]
push eax
lea eax, [esp + 0x78]
push eax
push 0xffffffffffffffff
push dword [esp + 0x38]
call fcn.00443f30
mov ecx, dword [esp + 0x5c]
add esp, 0x1c
call fcn.004537d3
jmp 0x44928d
and dword [esp + 0x54], 0
and dword [esp + 0x48], 0
test ecx, ecx
je 0x448819
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x4487e7
add edx, 0x16
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x18]
test eax, eax
jg 0x4487d6
mov edi, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
test eax, eax
jle 0x448804
add edx, 0x16
xor ebx, ebx
dec eax
mov word [edx], bx
lea edx, [edx + 0x18]
test eax, eax
jg 0x4487f3
mov ebx, dword [esp + 0x4c]
cmp dword [esi + 0x1c], 0
ja 0x448810
cmp dword [esi + 0x18], 0x64
jbe 0x448824
mov dword [esi + 0x18], 0x64
jmp 0x448820
mov dword [esi + 0x18], 1
and dword [esi + 0x1c], 0
mov edx, dword [esp + 0x68]
push 0xffffffffffffffff
call fcn.00431f0c
pop ecx
xor ecx, ecx
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, edi
call fcn.00420d0c
and dword [esp + 0xe8], 0
xorps xmm0, xmm0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xec], eax
mov eax, dword [ebx + 0x48]
inc eax
movlpd qword [esp + 0xf0], xmm0
movlpd qword [esp + 0xf8], xmm0
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xa0], eax
test ecx, ecx
je 0x4488a4
mov eax, dword [ecx]
mov dword [esp + 0x9c], eax
jmp 0x4488ac
and dword [esp + 0x9c], 0
mov edx, dword [esp + 0x20]
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0xe0]
call fcn.004322aa
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0xe0]
call fcn.004322aa
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4488e9
mov edx, eax
lea ecx, [esp + 0xe0]
call fcn.0043227c
and dword [esp + 0x28], 0
cmp dword [esp + 0xbc], 0
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xb4], edx
jle 0x448973
mov ax, word [esp + 0xfc]
xor esi, esi
mov edi, dword [esp + 0x28]
push 8
pop ebx
or ax, bx
lea ecx, [esp + 0xe0]
mov word [esp + 0xfc], ax
mov eax, dword [esp + 0xb8]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x14]
call fcn.004322aa
mov ax, word [esp + 0xfc]
lea esi, [esi + 0x10]
mov ecx, 0xfff7
and ax, cx
inc edi
mov word [esp + 0xfc], ax
cmp edi, dword [esp + 0xbc]
jl 0x448917
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x41], 0
jne 0x449307
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x448fdf
mov eax, dword [ebx + 0x44]
push edx
mov dword [esp + 0x98], eax
mov edx, ecx
inc eax
mov ecx, ebx
push 0
mov dword [ebx + 0x44], eax
call fcn.004445c4
push 0xfffffffffffffffa
push eax
push 0
push dword [esp + 0xb0]
mov ecx, edi
mov dword [esp + 0xec], eax
push dword [esp + 0xac]
push 0x3a
pop edx
call fcn.00420c64
mov dword [esp + 0xf4], eax
add esp, 0x1c
mov eax, dword [ebx + 0x48]
mov ecx, edi
inc eax
mov dword [esp + 0x58], eax
inc eax
mov dword [esp + 0x14], eax
inc eax
mov dword [ebx + 0x48], eax
call fcn.00420d0c
inc dword [ebx + 0x48]
mov ecx, edi
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x28], eax
call fcn.00420d0c
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
push 0
push dword [esp + 0x18]
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x94], eax
mov dword [ebx + 0x48], ecx
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, edi
push 0x19
pop edx
mov dword [ebx + 0x48], eax
call fcn.00420c12
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x5c]
push 0
push 0x19
pop edx
call fcn.00420c12
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ecx]
mov ecx, dword [esp + 0x8c]
dec eax
add eax, ecx
push eax
push ecx
push 0
push 0x1c
pop edx
mov ecx, edi
call fcn.00420c12
add esp, 0xc
push 0
push dword [esp + 0x48]
push dword [esp + 0x30]
push 0x11
pop edx
mov ecx, edi
call fcn.00420c12
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x1c], 0
mov ecx, 0x900
mov eax, pe_nt_image_headers32
cmovne eax, ecx
mov ecx, ebx
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x18]
push dword [esp + 0x6c]
call fcn.0045300d
mov edx, eax
add esp, 0x14
mov dword [esp + 0x5c], edx
test edx, edx
je 0x449307
mov ecx, dword [esp + 0xc]
movsx eax, byte [edx + 0x24]
cmp eax, dword [ecx]
jne 0x448af1
xor esi, esi
mov dword [esp + 0x60], esi
jmp 0x448cd2
cmp byte [esp + 0x100], 0
je 0x448b06
test byte [esi + 6], 1
mov edx, str.DISTINCT
je 0x448b0b
mov edx, str.GROUP_BY
mov ecx, ebx
call fcn.00444675
cmp dword [esp + 0xb0], 0
mov esi, dword [esp + 0xc]
mov dword [esp + 0x60], 1
mov eax, dword [esi]
mov edx, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], eax
jle 0x448b75
mov ebx, dword [esp + 0xac]
mov edi, eax
mov esi, dword [esp + 0xb0]
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 0x448b4b
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x54], edx
mov ecx, ebx
call fcn.0043232e
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.00430824
push 0
push dword [esp + 0x28]
mov edx, esi
mov ecx, ebx
call fcn.0043169c
and dword [esp + 0x50], 0
cmp dword [esp + 0xb8], 0
pop ecx
pop ecx
jle 0x448c1c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
add ecx, eax
mov dword [esp + 0x4c], ecx
xor esi, esi
mov edx, dword [esp + 0xac]
cmp dword [esi + edx + 0xc], eax
jl 0x448c07
push 0
push ecx
push dword [esi + edx + 4]
mov ecx, ebx
push dword [esi + edx + 8]
mov edx, dword [esi + edx]
call fcn.00430786
mov ecx, dword [esp + 0x5c]
add esp, 0x10
cmp ecx, eax
je 0x448bf9
push 0
push ecx
push eax
push 0x22
pop edx
mov ecx, edi
call fcn.00420c12
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov eax, dword [esp + 0x50]
inc eax
inc ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x48]
add esi, 0x18
inc edx
mov dword [esp + 0x48], edx
cmp edx, dword [esp + 0xb0]
jl 0x448bb7
mov ecx, ebx
call fcn.004322de
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0x58]
push dword [esp + 0x2c]
push 0x31
pop edx
call fcn.00420c12
add esp, 0xc
mov ecx, edi
push 0
push esi
push dword [esp + 0x9c]
push 0x6d
pop edx
call fcn.00420c12
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.004322fa
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
push esi
call fcn.00432359
pop ecx
mov ecx, dword [esp + 0x5c]
call fcn.004537d3
mov edx, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x98], edx
lea eax, [edx + 1]
mov dword [ebx + 0x44], eax
call fcn.004322de
push esi
push eax
push edx
push 0x3c
pop edx
mov ecx, edi
mov dword [esp + 0x54], eax
call fcn.00420c12
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x34]
push dword [esp + 0x9c]
push 0x6a
pop edx
call fcn.00420c12
add esp, 0xc
mov byte [esp + 0x91], 1
mov ecx, ebx
call fcn.00430824
mov edx, dword [esp + 0x5c]
xor esi, esi
inc esi
cmp dword [esp + 0x1c], 0
je 0x448cfd
mov eax, dword [esp + 0x3c]
test byte [eax + 0x3c], 4
jne 0x448cfd
test esi, esi
jne 0x448ced
cmp byte [edx + 0x25], 0
je 0x448cfd
mov edx, dword [esp + 0x7c]
mov ecx, edi
and dword [esp + 0x68], 0
call fcn.004210b7
mov eax, dword [edi + 0x20]
mov ecx, ebx
mov dword [esp + 0x4c], eax
call fcn.00430824
test esi, esi
je 0x448d2b
push dword [esp + 0x54]
mov ecx, edi
push dword [esp + 0x4c]
push dword [esp + 0x9c]
push 0x64
pop edx
call fcn.00420c12
add esp, 0xc
mov esi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esi]
test ecx, ecx
jle 0x448d96
xor ecx, ecx
mov dword [esp + 0x50], ecx
jmp 0x448d47
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x84]
add edx, eax
cmp dword [esp + 0x60], 0
push edx
je 0x448d6c
push eax
push dword [esp + 0x5c]
mov ecx, edi
push 0x2f
pop edx
call fcn.00420c12
add esp, 0xc
jmp 0x448d82
mov byte [esp + 0x94], 1
mov edx, dword [esi + 4]
mov edx, dword [edx + ecx]
mov ecx, ebx
call fcn.0043164f
pop ecx
mov eax, dword [esp + 0x1c]
add dword [esp + 0x50], 0x18
inc eax
mov ecx, dword [esi]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x448d43
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x448da5
inc dword [eax]
mov ecx, dword [esi]
push 0xfffffffffffffffa
push eax
push ecx
push dword [esp + 0x90]
mov ecx, edi
push dword [esp + 0x9c]
push 0x2a
pop edx
call fcn.00420c64
mov esi, dword [edi + 0x20]
add esp, 0x14
mov ecx, edi
lea eax, [esi + 1]
push eax
push 0
push eax
push 0x2b
pop edx
call fcn.00420c12
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x84]
mov ecx, ebx
push dword [eax]
push dword [esp + 0x90]
call fcn.0043084a
mov eax, dword [esp + 0x1c]
mov ecx, edi
push 0
push dword [esp + 0x94]
inc eax
push eax
push 0x11
pop edx
call fcn.00420c12
add esp, 0x14
mov edx, 0x89
mov ecx, edi
push 0
push dword [esp + 0x34]
push dword [esp + 0x1c]
call fcn.00420c12
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x48]
push dword [esp + 0x30]
push 0x11
pop edx
call fcn.00420c12
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00420f8e
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.00447e1f
xor esi, esi
mov ecx, edi
push esi
push dword [esp + 0x5c]
push 1
push 0x19
pop edx
call fcn.00420c12
add esp, 0xc
cmp dword [esp + 0x60], esi
je 0x448e90
push esi
push dword [esp + 0x50]
mov ecx, edi
push dword [esp + 0x9c]
push 5
pop edx
call fcn.00420c12
add esp, 0xc
jmp 0x448ea7
mov ecx, dword [esp + 0x5c]
call fcn.004537d3
mov edx, dword [esp + 0xd8]
mov ecx, edi
call fcn.004210b7
push esi
mov esi, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x8c]
lea eax, [esi + 1]
push eax
push 0x11
pop edx
call fcn.00420c12
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x34]
push 0
push 0x10
pop edx
call fcn.00420c12
mov edi, dword [edi + 0x20]
add esp, 0xc
push 0
push esi
mov esi, dword [esp + 0x34]
mov ecx, esi
push 1
push 0x19
pop edx
call fcn.00420c12
mov eax, dword [esp + 0x20]
add esp, 0xc
inc eax
mov ecx, esi
push 0
push 0
push eax
push 0x12
pop edx
call fcn.00420c12
mov edx, dword [esp + 0x94]
add esp, 0xc
mov ecx, esi
call fcn.00420d4e
mov esi, dword [esi + 0x20]
mov edx, 0x89
push 0
lea eax, [esi + 2]
push eax
push dword [esp + 0x60]
call fcn.00420c12
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc eax
push 0
push 0
push eax
push 0x12
pop edx
call fcn.00420c12
add esp, 0xc
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.00447dce
mov edx, dword [esp + 0x34]
inc esi
push 0x10
push esi
mov ecx, ebx
call fcn.00431add
push edi
push esi
push dword [esp + 0x48]
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x80]
mov edx, esi
push eax
push 0xffffffffffffffff
push dword [esi]
mov ecx, ebx
call fcn.00443f30
mov eax, dword [esp + 0x38]
add esp, 0x24
mov edi, dword [esp + 0x2c]
inc eax
mov ecx, edi
push 0
push 0
push eax
push 0x12
pop edx
call fcn.00420c12
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, edi
call fcn.00420d4e
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.00447d1f
push 0
push 0
push dword [esp + 0x30]
mov ecx, edi
push 0x12
pop edx
call fcn.00420c12
add esp, 0xc
jmp 0x449282
and dword [esp + 0x58], 0
lea edx, [esp + 0x90]
mov ecx, esi
call fcn.0044706f
mov dword [esp + 0x14], eax
test eax, eax
je 0x449137
mov ecx, dword [ebx]
mov edx, dword [eax + 0x40]
call fcn.00443129
mov edx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x1c]
mov edx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, ebx
mov dword [esp + 0x48], eax
call fcn.004385c5
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0x1c]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.004347e5
mov edx, dword [esp + 0x20]
add esp, 0xc
test byte [edx + 0x2a], 0x20
je 0x449069
mov ecx, edx
call fcn.00435284
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x44906d
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 8]
test eax, eax
je 0x4490a5
test byte [eax + 0x34], 4
jne 0x449096
movzx esi, word [eax + 0x2c]
cmp si, word [edx + 0x28]
jge 0x449096
cmp dword [eax + 0x24], 0
jne 0x449096
test ecx, ecx
je 0x449094
cmp si, word [ecx + 0x2c]
jge 0x449096
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x449074
mov esi, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4490bd
mov eax, dword [ecx + 0x28]
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0x48], eax
call fcn.00438a5e
mov dword [esp + 0x44], eax
push 1
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x50]
push dword [esp + 0x34]
push 0x36
pop edx
call fcn.00420cdc
mov eax, dword [esp + 0x54]
add esp, 0x10
test eax, eax
je 0x4490ef
push 0xfffffffffffffffa
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.00421129
pop ecx
pop ecx
mov eax, dword [esp + 0xb8]
mov ecx, edi
push 0
push dword [eax + 8]
push dword [esp + 0x30]
push 0x32
pop edx
call fcn.00420c12
add esp, 0xc
mov ecx, edi
push 0
push 0
push dword [esp + 0x30]
push 0x3d
pop edx
call fcn.00420c12
mov eax, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, ebx
push eax
call fcn.0044800f
pop ecx
jmp 0x449241
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], al
cmp dword [esi + 0x2c], eax
jne 0x4491aa
lea edx, [esp + 0x28]
lea ecx, [esp + 0x90]
call fcn.00447006
mov byte [esp + 0x1b], al
test al, al
je 0x4491a2
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
push 0
call fcn.0042f20a
mov dword [esp + 0x5c], eax
mov edx, eax
mov dword [esp + 0x48], edx
pop ecx
test eax, eax
je 0x4491aa
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x41], 0
jne 0x4491aa
mov eax, dword [edx + 4]
cmp byte [esp + 0x1b], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
jmp 0x4491aa
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.00447d1f
movzx eax, byte [esp + 0x1b]
mov ecx, ebx
mov edx, dword [esp + 0x10]
push 0
push eax
push 0
push dword [esp + 0x50]
push dword [esp + 0x6c]
call fcn.0045300d
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4491fc
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
call fcn.0042f6fb
mov esi, dword [esp + 0x64]
mov dword [ebx + 0x1d0], esi
jmp 0x449334
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.00447e1f
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x24], 0
jle 0x44922c
push 0
push dword [eax + 0x34]
mov ecx, edi
push 0
push 0x10
pop edx
call fcn.00420c12
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, eax
call fcn.004537d3
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.00447dce
mov edx, dword [esp + 0x34]
mov ecx, ebx
and dword [esp + 0x68], 0
push 0x10
push dword [esp + 0x34]
call fcn.00431add
mov eax, dword [esp + 0x38]
mov edx, esi
push eax
push eax
push dword [esp + 0x48]
mov ecx, ebx
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
call fcn.00443f30
mov edx, dword [esp + 0x7c]
add esp, 0x24
mov ecx, dword [esp + 0x3c]
call fcn.0042f6fb
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00420d4e
cmp byte [esp + 0x101], 3
jne 0x4492a3
mov edx, str.DISTINCT
mov ecx, ebx
call fcn.00444675
cmp dword [esp + 0x68], 0
je 0x4492de
cmp dword [esp + 0x6c], 0
mov eax, str.ORDER_BY
mov edx, str.RIGHT_PART_OF_ORDER_BY
mov ecx, ebx
cmovle edx, eax
call fcn.00444675
mov eax, dword [esp + 0x20]
mov edx, esi
push dword [esp + 0x38]
mov ecx, ebx
push dword [eax]
lea eax, [esp + 0x70]
push eax
call fcn.00444731
add esp, 0xc
mov edx, dword [esp + 0xdc]
mov ecx, edi
call fcn.00420d4e
xor eax, eax
cmp dword [ebx + 0x40], eax
setg al
mov dword [esp + 0x60], eax
jmp 0x44930a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
xor eax, eax
inc eax
jmp 0x449312
xor eax, eax
inc eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x64]
mov dword [ebx + 0x1d0], esi
test eax, eax
jne 0x449334
mov eax, dword [esp + 0x38]
cmp byte [eax], 9
jne 0x449334
push edx
mov edx, ecx
mov ecx, ebx
call fcn.00444baa
pop ecx
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x3c]
call fcn.0040b6e5
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x3c]
call fcn.0040b6e5
mov eax, dword [esp + 0x60]
jmp 0x44935d
xor eax, eax
inc eax
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045ae81
mov esp, ebp
pop ebp
ret