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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x6ffe74]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x40], ebx
push esi
mov esi, edx
mov dword [esp + 0x78], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x54], 1
mov dword [esp + 0x1c], eax
call fcn.0049f9e0
mov edi, eax
mov dword [esp + 0x14], edi
test esi, esi
je 0x4a5cea
xor eax, eax
cmp dword [ebx + 0x24], eax
jne 0x4a5cea
push eax
push eax
push eax
push 0x15
pop edx
mov ecx, ebx
call fcn.00489c13
add esp, 0xc
test eax, eax
jne 0x4a5cea
mov eax, dword [esp + 0x58]
cmp byte [eax], 6
ja 0x4a4196
cmp dword [esi + 0x30], 0
je 0x4a4188
push dword [esi + 0x30]
mov edx, 0x48092c
mov ecx, ebx
call fcn.0049d069
xor eax, eax
pop ecx
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [esi + 4], eax
xor eax, eax
mov edx, esi
push eax
mov ecx, ebx
call fcn.004a3383
xor eax, eax
pop ecx
cmp dword [ebx + 0x24], eax
jne 0x4a41e7
test dword [esi + 4], 0x800000
je 0x4a4213
mov edx, dword [esi + 0x20]
lea eax, [edx + 8]
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.004a3fd7
test eax, eax
je 0x4a420c
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4a41d8
mov eax, dword [ecx + 0x10]
mov eax, dword [eax]
push eax
push str.target_object_alias_may_not_appear_in_FROM_clause:__s
push ebx
call fcn.0045421f
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4a41fc
mov edx, ecx
mov ecx, eax
call fcn.004808e2
mov ecx, ebx
call fcn.0046e631
mov eax, dword [esp + 0x54]
jmp 0x4a5ced
and dword [esi + 4], 0xff7fffff
mov eax, dword [esp + 0x58]
cmp byte [eax], 9
jne 0x4a4225
mov edx, esi
mov ecx, ebx
call fcn.0049f2da
mov edx, esi
mov ecx, ebx
call fcn.004b7f99
test eax, eax
jne 0x4a41e7
mov eax, dword [esi + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
shr eax, 3
and eax, 1
mov dword [esp + 0x6c], eax
xor eax, eax
push 0x28
push eax
lea eax, [esp + 0x90]
push eax
call fcn.006390b0
mov eax, dword [esi + 0x30]
add esp, 0xc
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [esi + 0x34], eax
jne 0x4a44ce
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
jge 0x4a4511
imul edx, eax, 0x48
mov dword [esp + 0x3c], edx
mov ebx, dword [edx + ecx + 0x18]
mov edi, dword [edx + ecx + 0x1c]
mov dword [esp + 0x44], ebx
mov bl, byte [edx + ecx + 0x2c]
mov dword [esp + 0x38], edi
test bl, 0x48
mov edi, dword [esp + 0x14]
mov byte [esp + 0x27], bl
mov ebx, dword [esp + 0x48]
je 0x4a43ac
movzx eax, byte [esp + 0x27]
mov edx, dword [edx + ecx + 0x34]
and eax, 0x40
mov ecx, dword [esi + 0x24]
push eax
call fcn.00484a43
mov edx, dword [esp + 0x40]
pop ecx
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x4a43a8
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x2000
jne 0x4a43a8
mov al, byte [edx + ecx + 0x2c]
test al, 8
je 0x4a4319
test al, 0x10
je 0x4a42fb
and al, 0xf7
mov byte [edx + ecx + 0x2c], al
jmp 0x4a4319
and al, 0xd7
mov byte [edx + ecx + 0x2c], al
xor eax, eax
mov edx, dword [edx + ecx + 0x34]
mov ecx, dword [esi + 0x24]
push eax
call fcn.0049dbd0
mov edx, dword [esp + 0x40]
pop ecx
mov ecx, dword [esp + 0x20]
test byte [edx + ecx + 0x2c], 0x40
mov eax, dword [esp + 0x10]
je 0x4a43ac
lea edi, [eax + 1]
mov dword [esp + 0x34], edi
cmp edi, dword [ecx]
jge 0x4a4375
imul ebx, edi, 0x48
add ebx, 0x2c
add ebx, ecx
mov al, byte [ebx]
test al, 0x10
je 0x4a4361
test al, 8
je 0x4a434b
and al, 0xef
mov byte [ebx], al
jmp 0x4a4361
mov edx, dword [ebx + 8]
and al, 0xcf
mov byte [ebx], al
mov ecx, dword [esi + 0x24]
push 1
call fcn.0049dbd0
pop ecx
mov ecx, dword [esp + 0x20]
inc edi
add ebx, 0x48
cmp edi, dword [ecx]
jl 0x4a433b
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov edi, dword [ecx]
sub edi, 1
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x14]
js 0x4a43ac
mov ebx, dword [esp + 0x34]
imul edi, ebx, 0x48
add edi, 0x2c
add edi, ecx
and byte [edi], 0xbf
test byte [edi], 0x10
jne 0x4a43a0
sub edi, 0x48
sub ebx, 1
jns 0x4a4390
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
je 0x4a44be
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
movsx eax, word [edi + 0x22]
mov edi, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
jne 0x4a44f3
mov eax, 0x100
test dword [edx + ecx + 0x30], eax
je 0x4a43f3
mov eax, dword [edx + ecx + 0x4c]
cmp byte [eax + 0x12], 0
je 0x4a44ba
mov eax, dword [esp + 0x38]
test byte [eax + 4], 8
jne 0x4a44ba
cmp dword [eax + 0x30], 0
je 0x4a446b
xor edx, edx
cmp dword [esi + 0x30], edx
jne 0x4a4413
cmp dword [ecx], 1
jle 0x4a444f
cmp dword [eax + 0x3c], edx
jne 0x4a444f
mov edx, 0x8000000
test dword [eax + 4], edx
jne 0x4a444f
test dword [esi + 4], edx
jne 0x4a444f
mov edx, dword [esp + 0x1c]
test dword [edx + 0x50], 0x40000
jne 0x4a444f
push dword [eax + 0x30]
mov edx, 0x48092c
mov ecx, ebx
call fcn.0049d069
mov eax, dword [esp + 0x3c]
pop ecx
xor ecx, ecx
mov dword [eax + 0x30], ecx
jmp 0x4a446b
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4a446b
test dword [esi + 4], 0x40000
je 0x4a446b
cmp dword [ecx], 1
je 0x4a44be
test byte [ecx + 0x74], 0x22
jne 0x4a44be
push dword [esp + 0x6c]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x14]
call fcn.004a141c
pop ecx
pop ecx
test eax, eax
je 0x4a4492
xor eax, eax
cmp dword [ebx + 0x24], eax
jne 0x4a41e7
or dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], ecx
cmp byte [eax + 0x57], 0
jne 0x4a41eb
mov eax, dword [esp + 0x58]
cmp byte [eax], 8
jbe 0x4a44ba
mov eax, dword [esi + 0x30]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x10]
inc eax
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esi + 0x34], edx
je 0x4a4278
push dword [esp + 0x58]
mov edx, esi
mov ecx, ebx
call fcn.0049ffc9
mov edi, eax
xor eax, eax
pop ecx
cmp dword [esi + 0x38], eax
jne 0x4a44ec
mov ecx, ebx
call fcn.0046e631
mov eax, edi
jmp 0x4a5ced
push dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push ebx
call fcn.0045421f
add esp, 0x14
jmp 0x4a41e7
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4a4537
cmp byte [eax], 0x2c
mov eax, dword [esp + 0x1c]
jne 0x4a453b
test dword [eax + 0x50], 0x8000
jne 0x4a453b
mov edx, esi
mov ecx, ebx
call fcn.004a1d01
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x201
jne 0x4a456c
mov dword [esp + 0x20], ecx
mov edx, esi
mov ecx, ebx
call fcn.004a3dd0
test eax, eax
je 0x4a456c
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4a41eb
mov eax, dword [esi + 0x20]
mov dword [esp + 0x20], eax
jmp 0x4a4570
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x68], 0x6c5bb9
mov edx, ecx
mov dword [esp + 0x40], edx
cmp dword [eax], ecx
jle 0x4a49bf
lea ecx, [eax + 0xc]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x34]
or eax, dword [ecx + 0x38]
jne 0x4a45ba
cmp dword [ecx + 4], eax
je 0x4a45ba
push dword [ecx]
push dword [esp + 0x6c]
push dword [ecx + 4]
mov ecx, ebx
push 0x14
pop edx
call fcn.00489c13
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4a49a7
xor eax, eax
lea edx, [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0047f4f5
mov eax, dword [ebx + 0xe4]
add eax, dword [esp + 0x18]
mov dword [ebx + 0xe4], eax
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x1000
mov eax, dword [esp + 0x10]
jne 0x4a4630
mov ecx, 0x100
test dword [eax + 0x24], ecx
je 0x4a4613
mov ecx, dword [eax + 0x40]
cmp byte [ecx + 0x12], 0
je 0x4a4630
cmp dword [ecx], 2
jge 0x4a4630
push dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push dword [esp + 0x24]
push dword [esi + 0x24]
call fcn.004a1dc4
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
test dword [ecx + 0x50], 0x4000000
jne 0x4a4651
add eax, 0xfffffffc
mov ecx, eax
mov dword [esp + 0x64], eax
call fcn.004a1ff4
mov eax, dword [esp + 0x10]
jmp 0x4a4658
lea ecx, [eax - 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx + 0x104]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x104], eax
push dword [esi + 4]
mov dword [esp + 0x54], ecx
mov ecx, ebx
push dword [esp + 0x44]
call fcn.004a4050
pop ecx
pop ecx
test eax, eax
je 0x4a475b
mov edi, dword [edi + 0x6c]
mov ecx, dword [esp + 0x10]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
lea esi, [edi + 1]
mov dword [ecx + 0x18], eax
xor ecx, ecx
push esi
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push 0xb
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [esp + 0xb0], 0xd
mov dword [eax + 0x14], esi
mov esi, eax
mov eax, dword [esi + 0x18]
lea edx, [esi - 4]
push edx
push str.CO_ROUTINE___S
mov dword [esp + 0xbc], eax
xor eax, eax
push 1
push ebx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
call fcn.0046e5db
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc0]
push eax
mov ecx, ebx
call fcn.004a40ea
mov eax, dword [esp + 0x3c]
add esp, 0x14
mov ecx, dword [esi + 0xc]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0xbc]
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
or dword [esi + 0x24], 0x20
mov dword [esi + 0x1c], eax
call fcn.0046e6b6
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0046ebfb
mov ecx, dword [edi + 0x6c]
mov esi, dword [esp + 0x5c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [ebx + 0x13], cl
mov dword [ebx + 0x1c], ecx
jmp 0x4a496e
mov eax, dword [esp + 0x10]
mov ecx, 0x100
test dword [eax + 0x24], ecx
je 0x4a47c5
mov eax, dword [eax + 0x40]
mov dword [esp + 0x18], eax
cmp dword [eax + 4], 0
jle 0x4a47c5
xor ecx, ecx
push ecx
push dword [eax + 4]
mov ecx, edi
push dword [eax + 8]
push 0xa
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
cmp ecx, edx
je 0x4a47b4
xor eax, eax
push eax
push edx
push ecx
push 0x73
pop edx
mov ecx, edi
call fcn.0046e343
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ax, word [eax + 0x10]
mov ecx, dword [esp + 0x28]
mov word [ecx + 2], ax
jmp 0x4a496c
push dword [esp + 0x40]
mov edx, dword [esp + 0x68]
xor eax, eax
mov ecx, dword [esp + 0x24]
push eax
call fcn.004a3ced
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
je 0x4a482a
cmp dword [eax + 0x18], 0
je 0x4a4803
xor ecx, ecx
push ecx
push dword [eax + 0x18]
mov ecx, edi
push dword [eax + 0x1c]
push 0xa
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x24]
add esp, 0xc
xor ecx, ecx
push ecx
push dword [eax + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, edi
push dword [eax + 0x28]
push 0x73
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [eax + 0x14]
mov ax, word [eax + 2]
jmp 0x4a47b8
mov ecx, dword [esp + 0x10]
xor edx, edx
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push edx
push edx
push edx
mov dword [esp + 0x24], edx
mov dword [ecx + 0x18], eax
mov ecx, edi
push 9
pop edx
call fcn.0046e343
mov dword [esp + 0x38], eax
add esp, 0xc
lea ecx, [eax + 1]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
or dword [eax + 0x24], 0x10
test byte [eax + 0x24], 8
mov dword [eax + 0x14], ecx
jne 0x4a4883
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push 0xf
pop edx
call fcn.0046e343
mov dword [esp + 0x24], eax
add esp, 0xc
mov eax, dword [esp + 0x10]
push dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
xor eax, eax
push str.MATERIALIZE___S
push 1
push ebx
mov byte [esp + 0xc0], 0xc
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
call fcn.0046e5db
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc0]
push eax
mov ecx, ebx
call fcn.004a40ea
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a4904
mov edx, eax
mov ecx, edi
call fcn.0046ebfb
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
xor eax, eax
mov ecx, edi
push eax
mov eax, dword [esp + 0x14]
push dword [esp + 0x38]
push dword [eax + 0x18]
push 0x43
pop edx
call fcn.0046e343
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, edi
call fcn.0046ebfb
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x10]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [ebx + 0x13], cl
mov dword [ebx + 0x1c], ecx
mov eax, dword [edx + 0x24]
and eax, 0x108
cmp eax, 0x100
jne 0x4a496e
mov ecx, dword [edx + 0x40]
mov eax, dword [edx + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x28]
mov ax, word [eax + 2]
mov word [ecx + 0x10], ax
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4a41eb
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.0047f4f5
mov eax, dword [esp + 0x18]
sub dword [ebx + 0xe4], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov dword [ebx + 0x104], eax
mov eax, dword [esp + 0x20]
inc edx
add ecx, 0x48
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], ecx
cmp edx, dword [eax]
jl 0x4a458f
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov edx, dword [esi + 0x1c]
inc ecx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x64], eax
mov al, byte [esi + 4]
and al, cl
mov dword [esp + 0x28], edx
mov byte [esp + 0xf8], al
mov eax, dword [esi + 4]
and al, 9
cmp al, cl
jne 0x4a4a37
mov ecx, dword [esp + 0x88]
push 0xffffffffffffffff
call fcn.0048463b
mov edx, dword [esp + 0x2c]
pop ecx
xor ecx, ecx
test eax, eax
jne 0x4a4a39
cmp dword [esi + 0x44], ecx
jne 0x4a4a39
and dword [esi + 4], 0xfffffffe
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00480148
or dword [esi + 4], 8
mov edx, dword [esp + 0x2c]
pop ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x28], eax
mov byte [esp + 0xf8], 2
xor ecx, ecx
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a4a90
push dword [edx]
mov edx, eax
push ecx
mov ecx, ebx
call fcn.0049ecca
mov edx, dword [ebx + 0x28]
push 0xfffffffffffffff8
push eax
xor eax, eax
mov dword [esp + 0xa0], edx
push eax
mov eax, dword [esp + 0x9c]
lea ecx, [edx + 1]
mov dword [ebx + 0x28], ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x3c]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, edi
push eax
push edx
push 0x76
pop edx
call fcn.0046e4c2
add esp, 0x1c
mov dword [esp + 0x9c], eax
jmp 0x4a4a98
or dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x58]
cmp byte [ecx], 0xc
jne 0x4a4b69
xor eax, eax
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
push dword [ecx + 4]
mov ecx, edi
push 0x76
pop edx
call fcn.0046e343
add esp, 0xc
test dword [esi + 4], 0x800
je 0x4a4b69
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
lea edx, [eax - 1]
mov dword [esp + 0x30], edx
test edx, edx
jle 0x4a4b45
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
imul ecx, edx, 0x14
mov dword [esp + 0x4c], ecx
test byte [ecx + ebx + 0x14], 0x40
jne 0x4a4b39
mov eax, dword [ecx + ebx + 8]
test eax, eax
je 0x4a4b0b
mov edx, eax
mov ecx, edi
call fcn.0047fc48
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + ebx + 0xc]
test eax, eax
je 0x4a4b24
mov edx, eax
mov ecx, edi
call fcn.00451415
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx]
sub ecx, 0x14
dec eax
mov dword [esp + 0x4c], ecx
dec edx
mov dword [ebx], eax
mov dword [esp + 0x30], edx
test edx, edx
jg 0x4a4aeb
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
xor edx, edx
test eax, eax
jle 0x4a4b69
mov eax, dword [esp + 0x28]
add ecx, 8
test byte [ecx + 0xc], 0x40
jne 0x4a4b61
mov eax, dword [ecx]
mov byte [eax], 0x79
mov eax, dword [esp + 0x28]
inc edx
add ecx, 0x14
cmp edx, dword [eax]
jl 0x4a4b52
mov eax, dword [ebx + 0x38]
mov ecx, 0x4000
dec eax
mov dword [ebx + 0x38], eax
mov dword [esp + 0xd0], eax
test dword [esi + 4], ecx
jne 0x4a4b8a
mov ecx, 0x140
mov word [esi + 2], cx
xor ecx, ecx
cmp dword [esi + 0x3c], ecx
je 0x4a4b9c
push eax
mov edx, esi
mov ecx, ebx
call fcn.0049fa03
pop ecx
xor eax, eax
cmp dword [esi + 8], eax
jne 0x4a4bc2
mov edx, dword [esp + 0x9c]
test edx, edx
js 0x4a4bc2
mov ecx, edi
call fcn.0046ebfb
mov byte [eax], 0x77
or byte [esp + 0xa8], 1
xor eax, eax
test byte [esi + 4], 1
je 0x4a4c35
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov dword [esp + 0xfc], eax
inc eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov edx, dword [esi + 0x1c]
push eax
push eax
call fcn.0049ecca
mov ecx, dword [esp + 0x1c]
mov edi, eax
xor eax, eax
push eax
push eax
push dword [esp + 0x10c]
push 0x76
pop edx
call fcn.0046e343
add esp, 0x14
mov esi, eax
mov edx, esi
push 0xfffffffffffffff8
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0046eb3d
pop ecx
pop ecx
push 8
pop edx
mov ecx, edi
mov dword [esp + 0x100], esi
call fcn.0046e90c
mov esi, dword [esp + 0x5c]
xor eax, eax
mov byte [esp + 0xf9], 3
jmp 0x4a4c3c
mov byte [esp + 0xf9], al
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x10]
jne 0x4a4e65
test ecx, ecx
jne 0x4a4e65
cmp byte [esp + 0xf8], cl
mov eax, 0x100
mov edx, 0x4000
cmovne ecx, eax
mov ax, word [esi + 4]
and ax, dx
or cx, ax
movzx eax, cx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4a4c8c
mov edx, esi
mov ecx, ebx
call fcn.004b8816
movsx eax, word [esi + 2]
mov ecx, ebx
mov edx, dword [esp + 0x20]
push eax
push dword [esp + 0x38]
push esi
push dword [esi + 0x1c]
push dword [esp + 0x98]
push dword [esp + 0x74]
call fcn.004b626e
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4a41e7
movzx eax, word [ecx + 0x34]
cmp ax, word [esi + 2]
jge 0x4a4cce
mov word [esi + 2], ax
cmp byte [esp + 0xf8], 0
je 0x4a4cf6
mov cl, byte [ecx + 0x2f]
movzx edx, byte [esp + 0xf9]
test cl, cl
movzx eax, cl
mov ecx, dword [esp + 0x3c]
cmovne edx, eax
mov byte [esp + 0xf9], dl
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4a4d55
mov al, byte [ecx + 0x2d]
test al, al
jns 0x4a4d0c
xor eax, eax
jmp 0x4a4d0f
movsx eax, al
mov dword [esp + 0x8c], eax
test byte [ecx + 0x30], 4
je 0x4a4d2d
movzx eax, byte [ecx + 0x2c]
imul eax, eax, 0x60
cmp dword [eax + ecx + 0x2d0], 0
je 0x4a4d32
mov eax, dword [ecx + 0x1c]
jmp 0x4a4d39
mov eax, dword [eax + ecx + 0x2a8]
mov dword [esp + 0xa4], eax
xor ecx, ecx
mov eax, dword [esp + 0x8c]
cmp eax, dword [edx]
cmove edx, ecx
mov dword [esp + 0x88], edx
cmp dword [esp + 0x9c], 0
jl 0x4a4d71
test edx, edx
jne 0x4a4d71
mov edx, dword [esp + 0x9c]
mov ecx, edi
call fcn.0046ea9d
cmp dword [esp + 0x2c], 0
je 0x4a4e2b
mov esi, dword [ebx + 0x38]
mov ecx, dword [esp + 0x48]
dec esi
mov edx, dword [esp + 0x5c]
push esi
inc dword [ecx + 0x2c]
lea ebx, [esi - 1]
mov edi, dword [ecx + 0x2c]
lea eax, [ebx - 1]
push edi
push dword [esp + 0x44]
mov dword [ecx + 0x38], eax
call fcn.004b9d3c
add esp, 0xc
lea eax, [ebx - 1]
xor ecx, ecx
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x20]
push 9
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, esi
call fcn.0046e744
mov edx, dword [esp + 0x5c]
lea esi, [ebx - 1]
mov ecx, dword [esp + 0x48]
xor eax, eax
push esi
push ebx
push dword [esp + 0x60]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x98]
push eax
push 0xffffffffffffffff
call fcn.0049e591
mov ecx, dword [esp + 0x2c]
mov edx, ebx
call fcn.0046e744
xor eax, eax
push eax
push eax
push edi
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0x43
pop edx
call fcn.0046e343
add esp, 0x24
mov edx, esi
mov ecx, edi
call fcn.0046e744
mov ebx, dword [esp + 0x48]
jmp 0x4a5c72
mov eax, dword [esp + 0x3c]
mov edx, esi
mov ecx, ebx
push dword [eax + 0x20]
push dword [eax + 0x1c]
lea eax, [esp + 0x100]
push dword [esp + 0x60]
push eax
lea eax, [esp + 0x98]
push eax
push 0xffffffffffffffff
call fcn.0049e591
mov ecx, dword [esp + 0x54]
add esp, 0x18
call fcn.004b6d39
jmp 0x4a5c72
mov dword [esp + 0x70], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x4a4f06
mov edx, dword [esi + 0x1c]
mov eax, dword [edx]
test eax, eax
jle 0x4a4e92
add edx, 0x1a
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x4a4e85
mov eax, dword [ecx]
test eax, eax
jle 0x4a4ea8
lea edx, [ecx + 0x1a]
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x4a4e9b
push 0x42
pop eax
cmp word [esi + 2], ax
jle 0x4a4eb5
mov word [esi + 2], ax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a4f0c
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x4a4f0c
xor eax, eax
mov edi, eax
test edx, edx
jle 0x4a4ee9
mov edx, eax
mov eax, dword [esp + 0x88]
lea edx, [edx + 0x14]
mov al, byte [edx + eax - 4]
and al, 1
inc edi
mov byte [ecx + edx - 4], al
cmp edi, dword [ecx]
jl 0x4a4ed0
mov edx, dword [esp + 0x88]
push 0xffffffffffffffff
call fcn.0048463b
pop ecx
test eax, eax
jne 0x4a4f0c
mov dword [esp + 0x78], 1
jmp 0x4a4f0c
xor eax, eax
mov word [esi + 2], ax
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
xor eax, eax
push eax
push 0x2c
call fcn.00451699
mov edi, eax
mov dword [esp + 0x4c], edi
pop ecx
pop ecx
test edi, edi
je 0x4a4f3e
push edi
mov edx, 0x4a3d9f
mov ecx, ebx
call fcn.0049d069
pop ecx
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4a41eb
mov eax, dword [esi + 0x10]
mov dword [edi + 0x28], eax
xor eax, eax
push 0x24
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.006390b0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xdc], edi
test eax, eax
je 0x4a4f8c
mov ecx, dword [eax]
jmp 0x4a4f8e
xor ecx, ecx
mov edx, dword [esp + 0x28]
mov word [edi + 2], cx
lea ecx, [esp + 0xd4]
mov dword [edi + 0x10], eax
call fcn.0048527d
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0xd4]
call fcn.0048527d
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4a5021
cmp dword [esp + 0x10], 0
je 0x4a5013
xor eax, eax
push 0x1c
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.006390b0
mov edx, dword [esi + 0x2c]
add esp, 0xc
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 0x4a3c45
mov dword [esp + 0xc8], esi
test edx, edx
je 0x4a5008
lea ecx, [esp + 0xb0]
call fcn.0047c666
mov eax, dword [esi + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
mov edx, eax
lea ecx, [esp + 0xd4]
call fcn.00485249
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
xor eax, eax
cmp dword [esi + 0x28], eax
jne 0x4a504d
cmp dword [esi + 0x2c], eax
jne 0x4a504d
cmp dword [edi + 0x24], 1
jne 0x4a504d
mov edx, dword [edi + 0x20]
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
push eax
mov edx, dword [edx]
call fcn.004a2137
pop ecx
lea edx, [esp + 0xd4]
mov byte [esp + 0x27], al
mov ecx, edi
call fcn.004a33e1
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4a41eb
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a583c
xor edx, edx
cmp dword [edi + 0x24], 1
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], edx
jne 0x4a5100
mov ecx, dword [edi + 0x20]
cmp dword [ecx + 8], edx
jl 0x4a5100
mov ecx, dword [ecx]
test ecx, ecx
je 0x4a5100
test dword [ecx + 4], 0x1000
jne 0x4a5100
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x4a50fe
mov edx, dword [edx + 8]
test edx, edx
je 0x4a50c9
mov ecx, dword [esp + 0x1c]
xor eax, eax
push eax
push eax
call fcn.0047fdbc
pop ecx
pop ecx
mov dword [esp + 0x18], eax
xor ecx, ecx
mov eax, dword [esp + 0x10]
jmp 0x4a50cf
xor ecx, ecx
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.00480148
pop ecx
push dword [esp + 0x18]
mov edx, eax
mov ecx, ebx
call fcn.004806bd
mov dword [esp + 0x50], eax
neg eax
pop ecx
sbb ecx, ecx
and ecx, 0x500
mov eax, ecx
mov dword [esp + 0x18], eax
xor edx, edx
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov dword [edi + 4], eax
inc dword [ebx + 0x28]
push dword [edi + 0x18]
push edx
mov edx, dword [esp + 0x18]
call fcn.0049ecca
movzx ecx, word [edi + 2]
push 0xfffffffffffffff8
push eax
mov dword [esp + 0xdc], eax
xor eax, eax
push eax
push ecx
push dword [edi + 4]
mov ecx, dword [esp + 0x30]
push 0x77
pop edx
call fcn.0046e4c2
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x40], eax
lea ecx, [eax + 2]
mov eax, dword [ebx + 0x38]
dec eax
mov dword [ebx + 0x2c], ecx
mov dword [esp + 0x6c], eax
dec eax
mov dword [ebx + 0x38], eax
mov dword [esp + 0x38], ecx
add ecx, dword [edx]
mov dword [esp + 0x68], eax
mov dword [ebx + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x74], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x2c], eax
xor eax, eax
push eax
push dword [esp + 0x44]
push eax
push 0x47
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x38]
inc ecx
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
push eax
push 0x4b
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x20]
add esp, 0xc
xor eax, eax
push eax
push dword [esp + 0x6c]
push dword [esp + 0x40]
push 0xa
pop edx
call fcn.0046e343
add esp, 0xc
xor eax, eax
push eax
mov eax, dword [esp + 0x7c]
neg eax
sbb eax, eax
mov edx, 0x80
push 0x40
and eax, 0x200
cmp byte [esp + 0x100], 2
pop ecx
cmove ecx, edx
mov edx, dword [esp + 0x24]
or ax, cx
mov ecx, ebx
or ax, word [esp + 0x1c]
movzx eax, ax
push eax
push esi
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x74]
call fcn.004b626e
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x60], ecx
test ecx, ecx
jne 0x4a5244
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a41e7
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.004808e2
jmp 0x4a41e7
xor eax, eax
cmp dword [ebx + 0x48], eax
je 0x4a5299
mov edx, dword [edi + 0x1c]
mov dword [edi + 0x18], edx
cmp word [edi + 2], ax
jbe 0x4a5287
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
dec ecx
test edx, edx
jle 0x4a5280
mov edx, dword [edi + 0x14]
mov esi, dword [edi + 0x1c]
add edx, 0xe
movsx eax, word [edx]
lea edx, [edx + 0x10]
cmp eax, ecx
cmovle eax, ecx
mov ecx, eax
sub esi, 1
jne 0x4a526a
mov esi, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov word [edi + 2], ax
lea edx, [esp + 0xd4]
mov ecx, edi
call fcn.004a33e1
mov ecx, dword [esp + 0x60]
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x24]
add dword [ebx + 0x2c], eax
movzx eax, byte [ecx + 0x2f]
mov dword [esp + 0x34], eax
mov al, byte [ecx + 0x2d]
xor ecx, ecx
test al, al
movsx edx, al
mov eax, dword [esp + 0x10]
cmovns ecx, edx
cmp ecx, dword [eax]
jne 0x4a52d5
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x4a5477
cmp byte [esp + 0xf8], 0
je 0x4a52ea
test byte [esi + 4], 1
mov eax, str.DISTINCT
je 0x4a52ef
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
xor eax, eax
push eax
push ebx
call fcn.0046e5db
mov esi, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x20], 1
mov eax, dword [esi]
mov edx, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x4a535e
mov esi, dword [edi + 0x14]
mov ebx, edx
add esi, 0xe
mov edi, eax
movsx ecx, word [esi]
lea eax, [edx + 1]
cmp ecx, ebx
lea esi, [esi + 0x10]
cmovl eax, edx
mov edx, eax
lea eax, [ebx + 1]
cmovl eax, ebx
mov ebx, eax
sub edi, 1
jne 0x4a5331
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov ecx, ebx
call fcn.004852e9
xor ecx, ecx
mov dword [esp + 0x48], eax
push ecx
push ecx
push eax
mov edx, esi
mov ecx, ebx
call fcn.00483a5a
xor eax, eax
mov byte [edi], 1
add esp, 0xc
mov ecx, eax
mov dword [esp + 0x70], ecx
cmp dword [edi + 0x18], eax
jle 0x4a53d0
mov esi, dword [esp + 0x80]
mov dword [esp + 0x50], eax
mov edx, dword [edi + 0x14]
add edx, eax
movsx eax, word [edx + 0xe]
cmp eax, esi
jl 0x4a53b9
mov eax, dword [esp + 0x48]
mov ecx, ebx
mov edx, dword [edx + 4]
add eax, esi
push eax
call fcn.00483971
pop ecx
mov ecx, dword [esp + 0x70]
inc esi
mov eax, dword [esp + 0x50]
inc ecx
add eax, 0x10
mov dword [esp + 0x70], ecx
mov dword [esp + 0x50], eax
cmp ecx, dword [edi + 0x18]
jl 0x4a5395
xor eax, eax
mov ecx, ebx
mov byte [edi], al
call fcn.004852b1
mov ecx, dword [esp + 0x14]
mov esi, eax
push esi
push dword [esp + 0x58]
push dword [esp + 0x50]
push 0x61
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x20]
add esp, 0xc
xor eax, eax
mov edx, 0x8b
push eax
push esi
push dword [edi + 4]
call fcn.0046e343
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.004852d0
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
push esi
call fcn.0048531f
mov ecx, dword [esp + 0x64]
add esp, 4
call fcn.004b6d39
mov edx, dword [ebx + 0x28]
mov ecx, ebx
mov dword [edi + 8], edx
inc dword [ebx + 0x28]
mov dword [esp + 0x70], edx
call fcn.004852b1
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
push eax
push edx
push 0x79
pop edx
mov dword [esp + 0x38], eax
call fcn.0046e343
add esp, 0xc
xor eax, eax
mov ecx, esi
push eax
push dword [esp + 0x40]
push dword [edi + 4]
push 0x22
pop edx
call fcn.0046e343
add esp, 0xc
mov byte [edi + 1], 1
xor eax, eax
cmp dword [ebx + 0x48], eax
je 0x4a54de
push 0x1c
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.006390b0
xor eax, eax
mov dword [esp + 0xc0], 0x4a3456
add esp, 0xc
mov edx, eax
mov dword [esp + 0x50], edx
cmp dword [edi + 0x24], eax
jle 0x4a54de
mov ecx, eax
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x20]
mov eax, dword [ecx + eax]
test eax, eax
je 0x4a54cd
mov edx, eax
lea ecx, [esp + 0xb0]
call fcn.0047c666
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
inc edx
add ecx, 0x18
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
cmp edx, dword [edi + 0x24]
jl 0x4a54ad
cmp dword [esp + 0x78], 0
je 0x4a5518
mov eax, dword [esp + 0x1c]
test byte [eax + 0x50], 4
mov eax, dword [esp + 0x20]
jne 0x4a551c
test eax, eax
jne 0x4a5501
mov ecx, dword [esp + 0x60]
test byte [ecx + 0x30], 8
je 0x4a551c
mov edx, dword [esp + 0x9c]
xor eax, eax
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.0046ea9d
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x80], ecx
test eax, eax
je 0x4a5544
push dword [esp + 0x70]
mov edx, 0x85
mov ecx, esi
push dword [esp + 0x30]
push dword [edi + 4]
call fcn.0046e343
add esp, 0xc
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, edx
mov dword [esp + 0x2c], edx
cmp dword [eax], edx
jle 0x4a55a6
lea edx, [eax + 8]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x74]
add eax, ecx
cmp dword [esp + 0x20], 0
push eax
je 0x4a557d
push ecx
push dword [esp + 0x78]
mov ecx, esi
push 0x5e
pop edx
call fcn.0046e343
add esp, 0xc
jmp 0x4a558a
mov byte [edi], 1
mov ecx, ebx
mov edx, dword [edx]
call fcn.00483971
pop ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
inc ecx
mov edx, dword [esp + 0x50]
add edx, 0x14
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], edx
cmp ecx, dword [eax]
jl 0x4a555b
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x4a55b3
inc dword [ecx]
push 0xfffffffffffffff8
push ecx
push dword [eax]
mov eax, dword [esp + 0x44]
mov ecx, esi
push dword [esp + 0x80]
inc eax
push eax
push 0x5a
pop edx
call fcn.0046e4c2
mov esi, dword [esi + 0x6c]
add esp, 0x14
xor ecx, ecx
lea eax, [esi + 1]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push 0xe
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x74]
mov ecx, ebx
push dword [eax]
mov eax, dword [esp + 0x3c]
inc eax
push eax
call fcn.004823cc
mov ecx, dword [esp + 0x1c]
xor eax, eax
push eax
push dword [esp + 0x78]
mov eax, dword [esp + 0x50]
inc eax
push eax
push 0xa
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x28]
add esp, 0x14
xor eax, eax
push eax
push dword [esp + 0x40]
push dword [esp + 0x48]
push 0x3b
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x20]
add esp, 0xc
xor eax, eax
push eax
push dword [esp + 0x6c]
push dword [esp + 0x40]
push 0xa
pop edx
call fcn.0046e343
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.0046ebfb
mov ecx, dword [esi + 0x6c]
push dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, ebx
push edi
call fcn.004a3832
xor eax, eax
mov ecx, esi
push eax
push dword [esp + 0x3c]
push 1
push 0x47
pop edx
call fcn.0046e343
add esp, 0x14
cmp dword [esp + 0x20], 0
je 0x4a56af
xor eax, eax
mov ecx, esi
push eax
push dword [esp + 0x84]
push dword [edi + 4]
push 0x25
pop edx
call fcn.0046e343
add esp, 0xc
jmp 0x4a56c6
mov ecx, dword [esp + 0x60]
call fcn.004b6d39
mov edx, dword [esp + 0x84]
mov ecx, esi
call fcn.0046ea9d
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a56d9
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.004808e2
xor eax, eax
mov ecx, esi
push eax
push dword [esp + 0x70]
mov eax, dword [esp + 0x48]
inc eax
push eax
push 0xa
pop edx
call fcn.0046e343
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, esi
call fcn.0046e3f7
mov edi, dword [esi + 0x6c]
xor eax, eax
push eax
push dword [esp + 0x44]
mov ecx, esi
push 1
push 0x47
pop edx
call fcn.0046e343
add esp, 0xc
xor eax, eax
mov ecx, esi
push eax
push eax
mov eax, dword [esp + 0x48]
inc eax
push eax
push 0x43
pop edx
call fcn.0046e343
mov edx, dword [esp + 0x78]
add esp, 0xc
mov ecx, esi
call fcn.0046e744
mov esi, dword [esi + 0x6c]
xor eax, eax
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esi + 2]
push eax
push dword [esp + 0x38]
push 0x3b
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x20]
add esp, 0xc
xor eax, eax
push eax
push eax
mov eax, dword [esp + 0x48]
inc eax
push eax
push 0x43
pop edx
call fcn.0046e343
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, ebx
call fcn.004a3627
push 0x10
inc esi
push esi
push dword [esp + 0x6c]
push ebx
call fcn.00483fcc
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x108]
push edi
push esi
push dword [esp + 0x70]
mov ecx, ebx
push eax
lea eax, [esp + 0xa8]
push eax
push 0xffffffffffffffff
call fcn.0049e591
xor eax, eax
mov edi, dword [esp + 0x3c]
mov ecx, edi
push eax
push eax
mov eax, dword [esp + 0x70]
inc eax
push eax
push 0x43
pop edx
call fcn.0046e343
mov edx, dword [esp + 0x9c]
add esp, 0x34
mov ecx, edi
call fcn.0046e744
mov esi, dword [esp + 0x44]
mov ecx, ebx
mov edx, esi
call fcn.004a34a3
xor eax, eax
mov ecx, edi
push eax
push dword [esp + 0x34]
push eax
push 0x47
pop edx
call fcn.0046e343
add esp, 0xc
xor eax, eax
mov ecx, edi
push eax
push eax
push dword [esp + 0x40]
push 0x43
pop edx
call fcn.0046e343
add esp, 0xc
cmp word [esp + 0x18], 0
je 0x4a5c67
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4a5c67
mov eax, dword [esi + 0x20]
mov edx, ecx
mov ecx, ebx
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0049e531
pop ecx
pop ecx
jmp 0x4a5c67
xor eax, eax
cmp dword [esi + 0x24], eax
jne 0x4a5a84
mov edx, dword [esi + 0x1c]
cmp dword [edx], 1
jne 0x4a5a84
mov ecx, dword [esi + 0x20]
cmp dword [ecx], 1
jne 0x4a5a84
cmp dword [ecx + 0x1c], eax
jne 0x4a5a84
cmp dword [edi + 0x24], 1
jne 0x4a5a84
cmp dword [esi + 0x2c], eax
jne 0x4a5a84
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x4c], ecx
cmp byte [ecx + 0x2b], al
jne 0x4a5a84
mov edx, dword [edx + 8]
cmp byte [edx], 0xa8
jne 0x4a5a84
cmp dword [edx + 0x28], edi
jne 0x4a5a84
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x4a5a82
test dword [edx + 4], 0x1000004
jne 0x4a5a82
test ecx, ecx
je 0x4a5a82
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebx]
call fcn.0049cfc4
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
lea ecx, [eax + 1]
mov dword [ebx + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x14]
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.0048f510
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov edx, dword [esp + 0x18]
push dword [eax]
push ecx
push dword [eax + 0x14]
mov ecx, ebx
call fcn.00489d48
mov edx, dword [esp + 0x58]
add esp, 0xc
test byte [edx + 0x1c], 0x80
je 0x4a5934
mov ecx, edx
call fcn.0048ac9d
mov dword [esp + 0x30], eax
jmp 0x4a5938
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x38], edx
test byte [ecx + 0x30], 1
jne 0x4a5985
mov ecx, dword [edx + 8]
mov dword [esp + 0x38], edx
test ecx, ecx
je 0x4a5985
mov dword [esp + 0x38], edx
test byte [ecx + 0x38], 4
jne 0x4a5976
movzx esi, word [ecx + 0x30]
cmp si, word [edx + 0x28]
jge 0x4a5976
cmp dword [ecx + 0x24], 0
jne 0x4a5976
test eax, eax
je 0x4a5974
cmp si, word [eax + 0x30]
jge 0x4a5976
mov eax, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4a5954
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4a599d
mov ecx, dword [eax + 0x2c]
mov edx, eax
mov dword [esp + 0x34], ecx
mov ecx, ebx
call fcn.0048f9bb
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
push 1
push dword [esp + 0x1c]
push dword [esp + 0x3c]
push dword [esp + 0x50]
push 0x70
pop edx
call fcn.0046e39c
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x4a59d3
mov ecx, dword [esp + 0x14]
or edx, 0xffffffff
push 0xfffffffffffffff8
push eax
call fcn.0046eb3d
pop ecx
pop ecx
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x24]
add dword [ebx + 0x2c], eax
xor eax, eax
push eax
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0xc]
mov edi, dword [esp + 0x18]
mov ecx, edi
push eax
push dword [esp + 0x4c]
push 0x62
pop edx
call fcn.0046e343
add esp, 0xc
xor eax, eax
mov ecx, edi
push eax
push eax
push dword [esp + 0x4c]
push 0x7a
pop edx
call fcn.0046e343
add esp, 0xc
cmp byte [ebx + 0xdb], 2
jne 0x4a5c32
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4a5a43
mov ecx, dword [esp + 0x4c]
test byte [ecx + 0x1c], 0x80
je 0x4a5a3f
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x4a5a43
mov ecx, dword [edx]
jmp 0x4a5a55
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x54], 0
mov eax, str._USING_COVERING_INDEX
push ecx
cmove eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x40]
push dword [eax]
xor eax, eax
push str.SCAN__s_s_s
push eax
push ebx
call fcn.0046e5db
add esp, 0x18
jmp 0x4a5c32
xor eax, eax
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
cmp dword [edi + 0x1c], eax
je 0x4a5af4
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x4a5acd
mov edx, dword [edi + 0x20]
mov esi, eax
mov eax, dword [edx]
test dword [eax + 4], 0x1000000
jne 0x4a5ab9
mov eax, dword [edx + 4]
test byte [eax + 4], 0x20
jne 0x4a5ac1
inc esi
add edx, 0x18
cmp esi, ecx
jl 0x4a5aa5
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x4a5b1a
inc dword [ebx + 0x2c]
xor ecx, ecx
mov eax, dword [ebx + 0x2c]
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x20]
push 0x47
pop edx
mov dword [esp + 0x50], eax
call fcn.0046e343
mov ecx, dword [edi + 0x24]
add esp, 0xc
jmp 0x4a5b1a
mov edx, ecx
cmp ecx, 1
jne 0x4a5b1c
mov eax, dword [edi + 0x20]
cmp dword [eax + 8], 0
jl 0x4a5b1c
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], eax
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x34], eax
mov edx, ecx
mov eax, dword [ebx + 0x2c]
mov ecx, ebx
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x18]
add eax, edx
mov edx, edi
add dword [ebx + 0x2c], eax
call fcn.004a34a3
mov edx, dword [esp + 0x20]
xor eax, eax
push eax
movzx eax, byte [esp + 0x2b]
mov ecx, ebx
or ax, word [esp + 0x38]
movzx eax, ax
push eax
push esi
push dword [esp + 0x38]
push dword [esp + 0x8c]
push dword [esp + 0x74]
call fcn.004b626e
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x4a41e7
movzx eax, byte [eax + 0x2f]
mov ecx, ebx
mov edx, dword [esp + 0x44]
push eax
push edi
mov dword [esp + 0x8c], eax
call fcn.004a3832
mov edx, dword [esp + 0x8c]
pop ecx
pop ecx
test edx, edx
je 0x4a5baa
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4a5baa
push dword [eax + 0xc]
mov ecx, ebx
push dword [eax + 8]
call fcn.0049e531
pop ecx
pop ecx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a5bc7
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x18]
push eax
push 1
push 0x47
pop edx
call fcn.0046e343
add esp, 0xc
cmp byte [esp + 0x27], 0
mov ecx, dword [esp + 0x30]
je 0x4a5c20
test byte [ecx + 0x30], 4
je 0x4a5c20
cmp byte [ecx + 0x2d], 0
je 0x4a5c20
movzx edx, byte [ecx + 0x2c]
sub edx, 1
js 0x4a5c10
imul eax, edx, 0x60
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x348]
test byte [eax + 0x2c], 4
jne 0x4a5cdb
mov eax, dword [esp + 0x18]
sub eax, 0x60
sub edx, 1
mov dword [esp + 0x18], eax
jns 0x4a5bf0
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x14]
call fcn.0046e3f7
mov ecx, dword [esp + 0x30]
call fcn.004b6d39
mov edx, edi
mov ecx, ebx
call fcn.004a3627
mov edi, dword [esp + 0x14]
push 0x10
push dword [esp + 0x40]
xor eax, eax
push dword [esp + 0x6c]
mov dword [esp + 0x94], eax
push ebx
call fcn.00483fcc
mov eax, dword [esp + 0x4c]
mov edx, esi
push eax
push eax
push dword [esp + 0x70]
xor eax, eax
mov ecx, ebx
push eax
push eax
push 0xffffffffffffffff
call fcn.0049e591
add esp, 0x28
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.0046e744
xor esi, esi
cmp byte [esp + 0xf9], 3
jne 0x4a5c92
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push esi
push ebx
call fcn.0046e5db
add esp, 0x10
cmp dword [esp + 0x88], 0
je 0x4a5cbc
mov eax, dword [esp + 0x28]
mov ecx, ebx
push dword [esp + 0x58]
mov edx, dword [esp + 0x60]
push dword [eax]
lea eax, [esp + 0x90]
push eax
call fcn.0049ed83
add esp, 0xc
mov edx, dword [esp + 0xd0]
mov ecx, edi
call fcn.0046e744
xor eax, eax
cmp dword [ebx + 0x24], esi
setg al
mov dword [esp + 0x54], eax
jmp 0x4a41e7
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x308]
jmp 0x4a5c13
xor eax, eax
inc eax
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006122f0
mov esp, ebp
pop ebp
ret