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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [0x4e2040]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x70], 0
push ebx
mov ebx, ecx
mov dword [esp + 0x40], eax
push esi
mov esi, edx
mov dword [esp + 0x3c], ebx
push edi
mov eax, dword [ebx]
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], 1
mov dword [esp + 0x18], eax
call fcn.00488de5
mov edi, eax
mov dword [esp + 0x10], edi
test esi, esi
je 0x48e594
xor eax, eax
cmp dword [ebx + 0x24], eax
jne 0x48e594
push eax
push eax
push eax
push 0x15
pop edx
mov ecx, ebx
call fcn.00473b56
add esp, 0xc
test eax, eax
jne 0x48e594
mov eax, dword [esp + 0x48]
cmp byte [eax], 6
ja 0x48cbb3
cmp dword [esi + 0x30], 0
je 0x48cba5
push dword [esi + 0x30]
mov edx, fcn.0046ac47
mov ecx, ebx
call fcn.004865ab
and dword [esi + 0x30], 0
pop ecx
mov eax, dword [esi + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [esi + 4], eax
push 0
mov edx, esi
mov ecx, ebx
call fcn.0048c4fe
cmp dword [ebx + 0x24], 0
pop ecx
jne 0x48cc02
test dword [esi + 4], 0x800000
je 0x48cc2e
mov edx, dword [esi + 0x20]
lea eax, [edx + 8]
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.0048ca90
test eax, eax
je 0x48cc27
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x48cbf3
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.00441b18
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x48cc17
mov edx, ecx
mov ecx, eax
call fcn.0046ac05
mov ecx, ebx
call fcn.0045945d
mov eax, dword [esp + 0x5c]
jmp 0x48e597
and dword [esi + 4], 0xff7fffff
mov eax, dword [esp + 0x48]
cmp byte [eax], 9
jne 0x48cc40
mov edx, esi
mov ecx, ebx
call fcn.00488787
mov edx, esi
mov ecx, ebx
call fcn.004a04a0
test eax, eax
jne 0x48cc02
mov eax, dword [esi + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
shr eax, 3
and eax, 1
push 0x28
mov dword [esp + 0x70], eax
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.004b21c0
mov eax, dword [esi + 0x30]
add esp, 0xc
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esi + 0x34], eax
jne 0x48ce06
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
jge 0x48ce48
imul edx, eax, 0x48
mov dword [esp + 0x20], edx
mov eax, dword [edx + ecx + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [edx + ecx + 0x18]
mov dword [esp + 0x50], eax
mov al, byte [edx + ecx + 0x2c]
and al, 0x18
cmp al, 8
jne 0x48ccfe
mov edx, dword [edx + ecx + 0x34]
mov ecx, dword [esi + 0x24]
call fcn.0046ec89
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x48ccfe
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x2000
jne 0x48ccfe
mov edx, dword [esp + 0x20]
and byte [edx + ecx + 0x2c], 0xd7
movzx eax, byte [ecx + 0x2c]
mov edx, dword [edx + ecx + 0x34]
and eax, 0x40
mov ecx, dword [esi + 0x24]
push eax
call fcn.00487006
pop ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x48cdf3
mov eax, dword [edx + 0x1c]
mov edi, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
movsx eax, word [edi + 0x22]
mov edi, dword [esp + 0x10]
cmp eax, dword [esp + 0x34]
jne 0x48ce2a
test byte [edx + 4], 8
jne 0x48cdf3
cmp dword [edx + 0x30], 0
je 0x48cd7e
cmp dword [esi + 0x30], 0
jne 0x48cd44
cmp dword [ecx], 1
jle 0x48cda9
cmp dword [edx + 0x3c], 0
jne 0x48cda9
mov eax, 0x8000000
test dword [edx + 4], eax
jne 0x48cda9
test dword [esi + 4], eax
jne 0x48cda9
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x40000
jne 0x48cda9
push dword [edx + 0x30]
mov edx, fcn.0046ac47
mov ecx, ebx
call fcn.004865ab
mov eax, dword [esp + 0x10]
pop ecx
and dword [eax + 0x30], 0
mov eax, dword [esp + 0x14]
push dword [esp + 0x6c]
mov edx, esi
mov ecx, ebx
push eax
call fcn.0048a89e
pop ecx
pop ecx
test eax, eax
je 0x48cdc7
cmp dword [ebx + 0x24], 0
jne 0x48cc02
or eax, 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x48cdcb
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x48cd82
test dword [esi + 4], 0x40000
je 0x48cd82
cmp dword [ecx], 1
je 0x48cdf7
test byte [ecx + 0x74], 0x22
jne 0x48cdf7
jmp 0x48cd82
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x28], ecx
cmp byte [edx + 0x57], 0
jne 0x48e58d
mov edx, dword [esp + 0x48]
cmp byte [edx], 8
jbe 0x48cdf7
mov eax, dword [esi + 0x30]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x14]
inc eax
cmp dword [esi + 0x34], 0
mov dword [esp + 0x14], eax
je 0x48cc92
push dword [esp + 0x48]
mov edx, esi
mov ecx, ebx
call fcn.004893f1
cmp dword [esi + 0x38], 0
mov edi, eax
pop ecx
jne 0x48ce23
mov ecx, ebx
call fcn.0045945d
mov eax, edi
jmp 0x48e597
push dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push ebx
call fcn.00441b18
add esp, 0x14
jmp 0x48cc02
mov eax, dword [esi + 0x24]
test eax, eax
je 0x48ce6e
cmp byte [eax], 0x2c
jne 0x48ce6e
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x8000
jne 0x48ce6e
mov edx, esi
mov ecx, ebx
call fcn.0048b1ee
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [ecx], eax
jle 0x48d292
mov dword [esp + 0x28], ecx
imul edi, eax, 0x48
add edi, 8
add edi, ecx
mov dword [esp + 0x58], edi
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
jne 0x48ceb6
cmp dword [edi + 8], eax
je 0x48ceb6
push dword [edi + 4]
mov eax, 0x4c8c24
mov ecx, ebx
push eax
push dword [edi + 8]
push 0x14
pop edx
call fcn.00473b56
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [edi + 0x14]
mov dword [esp + 0x14], eax
test eax, eax
je 0x48d27d
and dword [esp + 0xc], 0
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.004698a9
mov eax, dword [esp + 0xc]
mov edx, pe_nt_image_headers32
add dword [ebx + 0xdc], eax
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x1000
jne 0x48cf1a
test dword [edi + 0x28], edx
je 0x48cf04
mov eax, dword [edi + 0x44]
cmp byte [eax + 0x12], 0
je 0x48cf1a
cmp dword [eax], 2
jge 0x48cf1a
mov edx, dword [esp + 0x14]
mov ecx, ebx
push edi
push dword [esi + 0x24]
call fcn.0048b2c5
pop ecx
pop ecx
mov edx, pe_nt_image_headers32
cmp dword [esp + 0x1c], 0
mov eax, dword [ebx + 0xfc]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0xfc], eax
jne 0x48d039
cmp dword [ecx], 1
je 0x48cf4b
test byte [ecx + 0x74], 0x22
je 0x48d039
test dword [edi + 0x28], edx
je 0x48cf5d
mov eax, dword [edi + 0x44]
cmp byte [eax + 0x12], 0
je 0x48d039
test byte [ecx + 0x2c], 0x40
jne 0x48d039
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov edi, dword [edi + 0x6c]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x10]
lea esi, [edi + 1]
push esi
push 0
push eax
push 0xb
pop edx
call fcn.004591cc
mov eax, dword [esp + 0x64]
add esp, 0xc
mov byte [esp + 0xc0], 0xd
mov dword [eax + 0x18], esi
mov esi, eax
push esi
push str.CO_ROUTINE___S
push 1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xd0], eax
xor eax, eax
push ebx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
call fcn.0045940c
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xd0]
push eax
mov ecx, ebx
call fcn.0048cb09
mov ecx, dword [esi + 0x10]
add esp, 0x14
mov eax, dword [esp + 0x14]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0xcc]
or dword [esi + 0x28], 0x20
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00459511
mov edx, edi
mov ecx, esi
call fcn.00459a36
mov ecx, dword [esi + 0x6c]
mov esi, dword [esp + 0x54]
mov dword [eax + 8], ecx
and dword [ebx + 0x1c], 0
mov byte [ebx + 0x13], 0
jmp 0x48d247
test dword [edi + 0x28], edx
je 0x48d089
mov eax, dword [edi + 0x44]
mov dword [esp + 0x20], eax
cmp dword [eax + 4], 0
jle 0x48d089
mov ecx, dword [esp + 0x10]
push 0
push dword [eax + 4]
push dword [eax + 8]
push 0xa
pop edx
call fcn.004591cc
mov eax, dword [edi + 0x2c]
add esp, 0xc
mov edi, dword [esp + 0x20]
cmp eax, dword [edi + 0xc]
je 0x48d083
mov ecx, dword [esp + 0x10]
push 0
push dword [edi + 0xc]
push eax
push 0x73
pop edx
call fcn.004591cc
add esp, 0xc
mov ax, word [edi + 0x10]
jmp 0x48d0db
mov edx, edi
call fcn.0048c9e5
mov dword [esp + 0xc], eax
test eax, eax
je 0x48d0e8
cmp dword [eax + 0x18], 0
je 0x48d0b9
mov ecx, dword [esp + 0x10]
push 0
push dword [eax + 0x18]
push dword [eax + 0x1c]
push 0xa
pop edx
call fcn.004591cc
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x10]
push 0
push dword [eax + 0x2c]
push dword [edi + 0x2c]
push 0x73
pop edx
call fcn.004591cc
mov eax, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [eax + 0x14]
mov ax, word [eax + 2]
mov ecx, dword [esp + 0x14]
mov word [ecx + 2], ax
jmp 0x48d247
xor ecx, ecx
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push ecx
push ecx
push ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
push 9
pop edx
mov dword [edi + 0x1c], eax
call fcn.004591cc
or dword [edi + 0x28], 0x10
add esp, 0xc
mov dword [esp + 0x2c], eax
inc eax
test byte [edi + 0x28], 8
mov dword [esp + 0x20], eax
mov dword [edi + 0x18], eax
jne 0x48d137
mov ecx, dword [esp + 0x10]
xor eax, eax
push eax
push eax
push eax
push 0xf
pop edx
call fcn.004591cc
add esp, 0xc
mov dword [esp + 0xc], eax
mov ecx, dword [edi + 0x2c]
xor eax, eax
push edi
push str.MATERIALIZE___S
push 1
push ebx
mov byte [esp + 0xd0], 0xc
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
call fcn.0045940c
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x28]
call fcn.0047edab
mov edx, dword [esp + 0x24]
mov ecx, ebx
mov dword [esp + 0xe4], eax
lea eax, [esp + 0xd0]
push eax
call fcn.0048cb09
mov edx, dword [esp + 0xe8]
add esp, 0x14
test edx, edx
je 0x48d1b2
mov ecx, dword [esp + 0x18]
call fcn.0043eeff
mov eax, dword [esp + 0x14]
and dword [esp + 0xd4], 0
mov ecx, dword [edi + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x48d1e2
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.00459a36
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
push 0
push dword [esp + 0x24]
push dword [edi + 0x1c]
push 0x43
pop edx
call fcn.004591cc
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x10]
call fcn.00459a36
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
mov ecx, pe_nt_image_headers32
and dword [ebx + 0x1c], 0
mov byte [ebx + 0x13], 0
mov eax, dword [edi + 0x28]
and eax, 0x108
cmp eax, ecx
jne 0x48d247
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x14]
mov ax, word [eax + 2]
mov word [ecx + 0x10], ax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x48cc06
and dword [esp + 0xc], 0
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.004698a9
mov eax, dword [esp + 0xc]
sub dword [ebx + 0xdc], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0xfc], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx]
jl 0x48ce80
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov edx, dword [esi + 0x1c]
inc ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x58], eax
mov al, byte [esi + 4]
and al, cl
mov dword [esp + 0x14], edx
mov byte [esp + 0x8c], al
mov eax, dword [esi + 4]
and al, 9
cmp al, cl
jne 0x48d308
mov ecx, dword [esp + 0x98]
push 0xffffffffffffffff
call fcn.0046e8ec
mov edx, dword [esp + 0x18]
pop ecx
test eax, eax
jne 0x48d308
cmp dword [esi + 0x44], eax
jne 0x48d308
mov ecx, dword [esp + 0x18]
and dword [esi + 4], 0xfffffffe
push eax
call fcn.0046a429
or dword [esi + 4], 8
mov edx, dword [esp + 0x18]
pop ecx
mov dword [esp + 0x30], eax
mov dword [esi + 0x28], eax
mov byte [esp + 0x8c], 2
mov eax, dword [esp + 0x98]
test eax, eax
je 0x48d35f
push dword [edx]
mov edx, eax
mov ecx, ebx
push 0
call fcn.00488189
mov edx, dword [ebx + 0x28]
push 0xfffffffffffffff8
push eax
mov eax, dword [esp + 0xa8]
lea ecx, [edx + 1]
mov dword [esp + 0xb0], edx
mov dword [ebx + 0x28], ecx
push 0
mov ecx, dword [eax]
mov eax, dword [esp + 0x28]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, edi
push eax
push edx
push 0x76
pop edx
call fcn.004592f6
add esp, 0x1c
mov dword [esp + 0xac], eax
jmp 0x48d367
or dword [esp + 0xac], 0xffffffff
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 0xc
jne 0x48d437
mov eax, dword [esp + 0x14]
push 0
push dword [eax]
push dword [ecx + 4]
mov ecx, edi
push 0x76
pop edx
call fcn.004591cc
add esp, 0xc
test dword [esi + 4], 0x800
je 0x48d437
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
lea edx, [eax - 1]
mov dword [esp + 0x1c], edx
test edx, edx
jle 0x48d413
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
imul ecx, edx, 0x14
mov dword [esp + 0x3c], ecx
test byte [ecx + ebx + 0x14], 0x40
jne 0x48d407
mov eax, dword [ecx + ebx + 8]
test eax, eax
je 0x48d3d9
mov edx, eax
mov ecx, edi
call fcn.00469f9d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + ebx + 0xc]
test eax, eax
je 0x48d3f2
mov edx, eax
mov ecx, edi
call fcn.0043eeff
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
sub ecx, 0x14
dec eax
mov dword [esp + 0x3c], ecx
dec edx
mov dword [ebx], eax
mov dword [esp + 0x1c], edx
test edx, edx
jg 0x48d3b9
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
jle 0x48d437
mov eax, dword [esp + 0x14]
add ecx, 8
test byte [ecx + 0xc], 0x40
jne 0x48d42f
mov eax, dword [ecx]
mov byte [eax], 0x79
mov eax, dword [esp + 0x14]
inc edx
add ecx, 0x14
cmp edx, dword [eax]
jl 0x48d420
dec dword [ebx + 0x38]
mov ecx, 0x4000
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x88], eax
test dword [esi + 4], ecx
jne 0x48d457
mov ecx, 0x140
mov word [esi + 2], cx
cmp dword [esi + 0x3c], 0
je 0x48d468
push eax
mov edx, esi
mov ecx, ebx
call fcn.00488e05
pop ecx
cmp dword [esi + 8], 0
jne 0x48d48b
mov edx, dword [esp + 0xac]
test edx, edx
js 0x48d48b
mov ecx, edi
call fcn.00459a36
mov byte [eax], 0x77
or byte [esp + 0xb8], 1
test byte [esi + 4], 1
je 0x48d4fc
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov dword [esp + 0x90], eax
inc eax
mov dword [ebx + 0x28], eax
mov edx, dword [esi + 0x1c]
push 0
push 0
call fcn.00488189
mov ecx, dword [esp + 0x18]
mov edi, eax
push 0
push 0
push dword [esp + 0xa0]
push 0x76
pop edx
call fcn.004591cc
add esp, 0x14
mov esi, eax
mov edx, esi
push 0xfffffffffffffff8
push edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.00459979
pop ecx
pop ecx
push 8
pop edx
mov ecx, edi
mov dword [esp + 0x94], esi
call fcn.0045974e
mov esi, dword [esp + 0x54]
mov byte [esp + 0x8d], 3
jmp 0x48d504
mov byte [esp + 0x8d], 0
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x30]
jne 0x48d724
test ecx, ecx
jne 0x48d724
mov cx, word [esi + 4]
mov eax, 0x4000
and cx, ax
mov edx, pe_nt_image_headers32
xor eax, eax
cmp byte [esp + 0x8c], al
cmovne eax, edx
or cx, ax
movzx eax, cx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x48d556
mov edx, esi
mov ecx, ebx
call fcn.004a0d2e
movsx eax, word [esi + 2]
mov ecx, ebx
mov edx, dword [esp + 0x28]
push eax
push dword [esp + 0x24]
push esi
push dword [esi + 0x1c]
push dword [esp + 0xa8]
push dword [esp + 0x60]
call fcn.0049e7d9
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x48cc02
movzx eax, word [ecx + 0x34]
cmp ax, word [esi + 2]
jge 0x48d598
mov word [esi + 2], ax
cmp byte [esp + 0x8c], 0
je 0x48d5c0
mov cl, byte [ecx + 0x2f]
movzx edx, byte [esp + 0x8d]
test cl, cl
movzx eax, cl
mov ecx, dword [esp + 0x44]
cmovne edx, eax
mov byte [esp + 0x8d], dl
mov edx, dword [esp + 0x98]
test edx, edx
je 0x48d615
movsx eax, byte [ecx + 0x2d]
mov dword [esp + 0x9c], eax
test byte [ecx + 0x30], 4
je 0x48d5ed
movzx eax, byte [ecx + 0x2c]
imul eax, eax, 0x60
cmp dword [eax + ecx + 0x2d0], 0
je 0x48d5f2
mov eax, dword [ecx + 0x1c]
jmp 0x48d5f9
mov eax, dword [eax + ecx + 0x2a8]
mov dword [esp + 0xb4], eax
xor ecx, ecx
mov eax, dword [esp + 0x9c]
cmp eax, dword [edx]
cmove edx, ecx
mov dword [esp + 0x98], edx
cmp dword [esp + 0xac], 0
jl 0x48d631
test edx, edx
jne 0x48d631
mov edx, dword [esp + 0xac]
mov ecx, edi
call fcn.004598c7
cmp dword [esp + 0x2c], 0
je 0x48d6ea
mov esi, dword [ebx + 0x38]
mov ecx, dword [esp + 0x40]
dec esi
mov edx, dword [esp + 0x54]
push esi
inc dword [ecx + 0x2c]
lea ebx, [esi - 1]
mov edi, dword [ecx + 0x2c]
lea eax, [ebx - 1]
push edi
push dword [esp + 0x4c]
mov dword [ecx + 0x38], eax
call fcn.004a225d
mov ecx, dword [esp + 0x1c]
lea eax, [ebx - 1]
add esp, 0xc
push 0
push eax
push 0
push 9
pop edx
call fcn.004591cc
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
call fcn.00459579
mov edx, dword [esp + 0x54]
lea esi, [ebx - 1]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x8c]
and dword [esp + 0xb4], 0
push esi
push ebx
push dword [esp + 0x50]
push eax
lea eax, [esp + 0xa8]
push eax
push 0xffffffffffffffff
call fcn.004879dc
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.00459579
push 0
push 0
push edi
mov edi, dword [esp + 0x34]
mov ecx, edi
push 0x43
pop edx
call fcn.004591cc
add esp, 0x24
mov edx, esi
mov ecx, edi
call fcn.00459579
mov ebx, dword [esp + 0x40]
jmp 0x48e4f3
mov eax, dword [esp + 0x44]
mov edx, esi
mov ecx, ebx
push dword [eax + 0x20]
push dword [eax + 0x1c]
lea eax, [esp + 0x94]
push dword [esp + 0x50]
push eax
lea eax, [esp + 0xa8]
push eax
push 0xffffffffffffffff
call fcn.004879dc
mov ecx, dword [esp + 0x5c]
add esp, 0x18
call fcn.0049f234
jmp 0x48e4f3
and dword [esp + 0x60], 0
and dword [esp + 0x2c], 0
and dword [esp + 0x70], 0
test ecx, ecx
je 0x48d7d9
mov edx, dword [esi + 0x1c]
mov eax, dword [edx]
test eax, eax
jle 0x48d758
add edx, 0x1a
xor ebx, ebx
dec eax
mov word [edx], bx
lea edx, [edx + 0x14]
test eax, eax
jg 0x48d747
mov ebx, dword [esp + 0x40]
mov eax, dword [ecx]
test eax, eax
jle 0x48d772
lea edx, [ecx + 0x1a]
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x48d761
mov edi, dword [esp + 0x10]
push 0x42
pop eax
cmp word [esi + 2], ax
jle 0x48d77f
mov word [esi + 2], ax
mov eax, dword [esp + 0x98]
test eax, eax
je 0x48d7df
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x48d7df
and dword [esp + 0x20], 0
test edx, edx
jle 0x48d7bc
mov edi, dword [esp + 0x20]
xor edx, edx
mov eax, dword [esp + 0x98]
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 0x48d79f
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x98]
push 0xffffffffffffffff
call fcn.0046e8ec
pop ecx
test eax, eax
jne 0x48d7df
mov dword [esp + 0x70], 1
jmp 0x48d7df
xor eax, eax
mov word [esi + 2], ax
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x18]
dec eax
push 0
push 0x34
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x38], eax
call fcn.0043f143
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x48d815
push ecx
mov edx, 0x48ca5f
mov ecx, ebx
call fcn.004865ab
pop ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x48cc06
mov eax, dword [esi + 0x10]
push 0x20
mov dword [ecx + 0x30], eax
lea eax, [esp + 0xe0]
push 0
push eax
call fcn.004b21c0
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe4], ecx
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48d86d
mov edx, dword [eax]
jmp 0x48d86f
xor edx, edx
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
lea ecx, [esp + 0xdc]
call fcn.0046f370
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0xdc]
call fcn.0046f370
mov eax, dword [esp + 0x58]
test eax, eax
je 0x48d900
cmp dword [esp + 0x30], 0
je 0x48d8f2
push 0x1c
lea eax, [esp + 0xc4]
push 0
push eax
call fcn.004b21c0
mov edx, dword [esi + 0x2c]
add esp, 0xc
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], 0x48c93d
mov dword [esp + 0xd8], esi
test edx, edx
je 0x48d8e7
lea ecx, [esp + 0xc0]
call fcn.00466c57
mov eax, dword [esi + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov edx, eax
lea ecx, [esp + 0xdc]
call fcn.0046f328
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x24], eax
cmp dword [esi + 0x28], 0
jne 0x48d93a
cmp dword [esi + 0x2c], 0
jne 0x48d93a
cmp dword [ecx + 0x2c], 1
jne 0x48d93a
mov edx, dword [ecx + 0x28]
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x18]
push eax
mov edx, dword [edx]
call fcn.0048b47b
pop ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x3b], al
jmp 0x48d93f
mov byte [esp + 0x3b], 0
and dword [esp + 0xc], 0
mov edx, dword [ecx + 0x2c]
test edx, edx
jle 0x48d9d8
mov ecx, dword [esp + 0xf4]
xor ebx, ebx
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x28]
or ecx, 0x20000
mov esi, dword [ebx + eax]
mov dword [esp + 0xf4], ecx
lea ecx, [esp + 0xdc]
mov edx, dword [esi + 0x14]
call fcn.0046f370
test dword [esi + 4], 0x1000000
je 0x48d999
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0xdc]
mov edx, dword [edx + 0x28]
call fcn.0046f328
mov ecx, dword [esp + 0xf4]
add ebx, 0x14
mov eax, dword [esp + 0xc]
and ecx, 0xfffdffff
inc eax
mov dword [esp + 0xf4], ecx
mov esi, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], esi
cmp eax, esi
jl 0x48d95c
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x48cc06
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48e0d3
and dword [esp + 0x3c], 0
and dword [esp + 0xc], 0
cmp edx, 1
jne 0x48da7f
mov edx, dword [ecx + 0x28]
cmp dword [edx + 0xc], 0
jl 0x48da7f
mov edx, dword [edx]
test edx, edx
je 0x48da7f
test dword [edx + 4], 0x1000
jne 0x48da7f
mov edx, dword [edx + 0x14]
test edx, edx
je 0x48da7f
mov edx, dword [edx + 8]
test edx, edx
je 0x48da46
mov ecx, dword [esp + 0x18]
push 0
push 0
call fcn.0046a101
pop ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
pop ecx
jmp 0x48da4b
and dword [esp + 0xc], 0
mov ecx, dword [esp + 0x18]
mov edx, eax
push 0
call fcn.0046a429
pop ecx
push dword [esp + 0xc]
mov edx, eax
mov ecx, ebx
call fcn.0046a9e0
mov dword [esp + 0x40], eax
neg eax
pop ecx
sbb ecx, ecx
and ecx, 0x500
mov eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
inc dword [ebx + 0x28]
push dword [ecx + 0x20]
mov ecx, ebx
push 0
call fcn.00488189
push 0xfffffffffffffff8
push eax
mov dword [esp + 0x94], eax
mov ecx, edi
mov eax, dword [esp + 0x34]
push 0
push dword [eax + 0xc]
push dword [eax + 4]
push 0x77
pop edx
call fcn.004592f6
mov ecx, dword [ebx + 0x38]
add esp, 0x1c
mov edx, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [esp + 0x1c], eax
inc eax
dec ecx
mov dword [esp + 0x64], eax
add eax, 2
mov dword [esp + 0x50], ecx
dec ecx
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x38], ecx
mov dword [esp + 0x34], ecx
mov ecx, eax
add ecx, dword [edx]
push 0
push dword [esp + 0x68]
mov dword [esp + 0x70], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x2c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [edx]
push 0
add eax, ecx
mov ecx, edi
push 0x47
pop edx
mov dword [ebx + 0x2c], eax
call fcn.004591cc
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x68]
inc ecx
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
push 0
push 0x4b
pop edx
mov ecx, edi
call fcn.004591cc
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x38]
push dword [esp + 0x70]
push 0xa
pop edx
call fcn.004591cc
mov eax, dword [esp + 0x7c]
add esp, 0xc
neg eax
mov edx, 0x80
sbb eax, eax
and eax, 0x200
cmp byte [esp + 0x8c], 2
push 0
push 0x40
pop ecx
cmove ecx, edx
mov edx, dword [esp + 0x2c]
or ax, cx
mov ecx, ebx
or ax, word [esp + 0x10]
movzx eax, ax
push eax
push esi
push dword [esp + 0x48]
push dword [esp + 0x40]
push dword [esp + 0x60]
call fcn.0049e7d9
mov edx, eax
add esp, 0x18
mov dword [esp + 0x6c], edx
test edx, edx
jne 0x48dbbc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x48cc02
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.0046ac05
jmp 0x48cc02
movzx eax, byte [edx + 0x2f]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
movsx eax, byte [edx + 0x2d]
cmp eax, dword [ecx]
jne 0x48dbdf
mov esi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x4c], eax
jmp 0x48dd92
cmp byte [esp + 0x8c], 0
je 0x48dbf4
test byte [esi + 4], 1
mov eax, str.DISTINCT
je 0x48dbf9
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.0045940c
mov eax, dword [esp + 0x40]
add esp, 0x10
mov esi, dword [esp + 0x24]
mov dword [esp + 0x4c], 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x60], eax
test eax, eax
jle 0x48dc6f
mov edi, dword [esi + 0x1c]
mov ebx, edx
add edi, 0x12
mov esi, eax
movsx ecx, word [edi]
lea eax, [edx + 1]
cmp ecx, ebx
lea edi, [edi + 0x14]
cmovl eax, edx
mov edx, eax
lea eax, [ebx + 1]
cmovl eax, ebx
mov ebx, eax
sub esi, 1
jne 0x48dc42
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov ecx, ebx
call fcn.0046f3dc
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push 0
push eax
mov dword [esp + 0x68], eax
call fcn.0046dcca
xor ecx, ecx
mov byte [esi], 1
add esp, 0xc
mov dword [esp + 0x60], ecx
cmp dword [esi + 0x20], ecx
jle 0x48dce5
mov edi, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x40], eax
mov edx, dword [esi + 0x1c]
add edx, eax
movsx eax, word [edx + 0x12]
cmp eax, edi
jl 0x48dccc
mov eax, dword [esp + 0x5c]
mov ecx, ebx
mov edx, dword [edx + 4]
add eax, edi
push eax
call fcn.0046dbf2
pop ecx
mov ecx, dword [esp + 0x60]
inc edi
mov eax, dword [esp + 0x40]
inc ecx
add eax, 0x14
mov dword [esp + 0x60], ecx
mov dword [esp + 0x40], eax
cmp ecx, dword [esi + 0x20]
jl 0x48dca8
mov edi, dword [esp + 0x10]
mov ecx, ebx
mov byte [esi], 0
call fcn.0046f3a4
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0x2c]
push dword [esp + 0x64]
push 0x61
pop edx
call fcn.004591cc
mov eax, dword [esp + 0x30]
add esp, 0xc
mov edx, 0x8b
mov ecx, edi
push 0
push esi
push dword [eax + 4]
call fcn.004591cc
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.0046f3c3
push dword [esp + 0x28]
mov edx, dword [esp + 0x60]
call fcn.0046f412
mov ecx, dword [esp + 0x70]
add esp, 4
call fcn.0049f234
mov esi, dword [esp + 0x24]
mov ecx, ebx
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x60], edx
mov dword [esi + 8], edx
inc dword [ebx + 0x28]
call fcn.0046f3a4
push dword [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x30], eax
push eax
push edx
push 0x79
pop edx
call fcn.004591cc
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x48]
push dword [esi + 4]
push 0x22
pop edx
call fcn.004591cc
mov edx, dword [esp + 0x78]
xor eax, eax
add esp, 0xc
mov byte [esi + 1], 1
inc eax
cmp dword [esp + 0x70], 0
je 0x48ddc3
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x50], 4
jne 0x48ddc3
test eax, eax
jne 0x48ddad
test byte [edx + 0x30], 8
je 0x48ddc3
mov edx, dword [esp + 0xac]
mov ecx, edi
and dword [esp + 0x98], 0
call fcn.004598c7
cmp dword [esp + 0x4c], 0
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x80], eax
je 0x48ddee
push dword [esp + 0x60]
mov edx, 0x85
mov ecx, edi
push dword [esp + 0x30]
push dword [esi + 4]
call fcn.004591cc
add esp, 0xc
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [eax], ecx
jle 0x48de4e
lea edx, [eax + 8]
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x78]
add eax, ecx
cmp dword [esp + 0x4c], 0
push eax
je 0x48de25
push ecx
push dword [esp + 0x68]
mov ecx, edi
push 0x5e
pop edx
call fcn.004591cc
add esp, 0xc
jmp 0x48de32
mov byte [esi], 1
mov ecx, ebx
mov edx, dword [edx]
call fcn.0046dbf2
pop ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
inc ecx
mov edx, dword [esp + 0x70]
add edx, 0x14
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x70], edx
cmp ecx, dword [eax]
jl 0x48de03
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x48de5b
inc dword [ecx]
push 0xfffffffffffffff8
push ecx
push dword [eax]
mov eax, dword [esp + 0x74]
mov ecx, edi
push dword [esp + 0x84]
inc eax
push eax
push 0x5a
pop edx
call fcn.004592f6
mov esi, dword [edi + 0x6c]
add esp, 0x14
mov ecx, edi
lea eax, [esi + 1]
push eax
push 0
push eax
push 0xe
pop edx
call fcn.004591cc
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x78]
mov ecx, ebx
push dword [eax]
mov eax, dword [esp + 0x6c]
inc eax
push eax
call fcn.0046c6e9
mov eax, dword [esp + 0x6c]
mov ecx, edi
push 0
push dword [esp + 0x5c]
inc eax
push eax
push 0xa
pop edx
call fcn.004591cc
add esp, 0x14
mov ecx, edi
push 0
push dword [esp + 0x48]
push dword [esp + 0x6c]
push 0x3b
pop edx
call fcn.004591cc
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x38]
push dword [esp + 0x70]
push 0xa
pop edx
call fcn.004591cc
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00459a36
mov ecx, dword [edi + 0x6c]
push dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, ebx
push esi
call fcn.0048c6b6
push 0
push dword [esp + 0x28]
mov ecx, edi
push 1
push 0x47
pop edx
call fcn.004591cc
add esp, 0x14
cmp dword [esp + 0x4c], 0
je 0x48df49
push 0
push dword [esp + 0x84]
mov ecx, edi
push dword [esi + 4]
push 0x25
pop edx
call fcn.004591cc
add esp, 0xc
jmp 0x48df5d
mov ecx, dword [esp + 0x6c]
call fcn.0049f234
mov edx, dword [esp + 0x74]
mov ecx, edi
call fcn.004598c7
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x48df70
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.0046ac05
mov esi, dword [esp + 0x64]
mov ecx, edi
push 0
push dword [esp + 0x54]
lea eax, [esi + 1]
push eax
push 0xa
pop edx
call fcn.004591cc
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, edi
call fcn.00459225
mov edi, dword [edi + 0x6c]
push 0
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
push 1
push 0x47
pop edx
call fcn.004591cc
mov eax, dword [esp + 0x70]
add esp, 0xc
inc eax
mov ecx, esi
push 0
push 0
push eax
push 0x43
pop edx
call fcn.004591cc
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, esi
call fcn.00459579
mov esi, dword [esi + 0x6c]
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esi + 2]
push eax
push dword [esp + 0x24]
push 0x3b
pop edx
call fcn.004591cc
mov eax, dword [esp + 0x70]
add esp, 0xc
mov ecx, dword [esp + 0x10]
inc eax
push 0
push 0
push eax
push 0x43
pop edx
call fcn.004591cc
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, ebx
call fcn.0048c65c
push 0x10
inc esi
push esi
push dword [esp + 0x60]
push ebx
call fcn.0046e269
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x9c]
push edi
push esi
push dword [esp + 0x60]
mov ecx, ebx
push eax
lea eax, [esp + 0xb8]
push eax
push 0xffffffffffffffff
call fcn.004879dc
mov eax, dword [esp + 0x8c]
push 0
push 0
inc eax
push eax
mov edi, dword [esp + 0x44]
mov ecx, edi
push 0x43
pop edx
call fcn.004591cc
mov edx, dword [esp + 0x68]
add esp, 0x34
mov ecx, edi
call fcn.00459579
mov esi, dword [esp + 0x24]
mov ecx, ebx
mov edx, esi
call fcn.0048c573
push 0
push dword [esp + 0x20]
mov ecx, edi
push 0
push 0x47
pop edx
call fcn.004591cc
add esp, 0xc
mov ecx, edi
push 0
push 0
push dword [esp + 0x70]
push 0x43
pop edx
call fcn.004591cc
add esp, 0xc
cmp word [esp + 0xc], 0
je 0x48e4e8
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x48e4e8
mov eax, dword [esi + 0x28]
mov edx, ecx
mov ecx, ebx
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.0048797c
pop ecx
pop ecx
jmp 0x48e4e8
cmp dword [esi + 0x24], 0
jne 0x48e30e
mov eax, dword [esi + 0x1c]
cmp dword [eax], 1
jne 0x48e30e
mov eax, dword [esi + 0x20]
cmp dword [eax], 1
jne 0x48e30e
cmp dword [eax + 0x1c], 0
jne 0x48e30e
cmp edx, 1
jne 0x48e30e
cmp dword [esi + 0x2c], 0
jne 0x48e30e
mov edx, dword [eax + 0x18]
mov dword [esp + 0xc], edx
cmp byte [edx + 0x2b], 0
jne 0x48e30e
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
cmp byte [eax], 0xa8
jne 0x48e30e
cmp dword [eax + 0x28], ecx
jne 0x48e30e
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x48e30e
mov edi, dword [esi + 0x1c]
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x10]
test dword [eax + 4], 0x1000004
jne 0x48e30e
test edx, edx
je 0x48e30e
mov edx, dword [edx + 0x3c]
mov ecx, dword [ebx]
call fcn.004864ff
mov edx, eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edx
lea ecx, [eax + 1]
xor eax, eax
mov dword [ebx + 0x28], ecx
xor ecx, ecx
cmp dword [ebx + 0x78], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, ebx
cmovne ecx, dword [ebx + 0x78]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], eax
call fcn.004793c0
mov eax, dword [esp + 0xc]
mov ecx, ebx
mov edx, dword [esp + 0x20]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.00473c88
mov edx, dword [esp + 0x18]
add esp, 0xc
test byte [edx + 0x1c], 0x80
je 0x48e1e0
mov ecx, edx
call fcn.00474bb9
mov dword [esp + 0x1c], eax
jmp 0x48e1e4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x3c], edx
test byte [ecx + 0x30], 1
jne 0x48e231
mov ecx, dword [edx + 8]
mov dword [esp + 0x3c], edx
test ecx, ecx
je 0x48e231
mov dword [esp + 0x3c], edx
test byte [ecx + 0x38], 4
jne 0x48e222
movzx edi, word [ecx + 0x30]
cmp di, word [edx + 0x28]
jge 0x48e222
cmp dword [ecx + 0x24], 0
jne 0x48e222
test eax, eax
je 0x48e220
cmp di, word [eax + 0x30]
jge 0x48e222
mov eax, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x48e200
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x48e249
mov ecx, dword [eax + 0x2c]
mov edx, eax
mov dword [esp + 0x2c], ecx
mov ecx, ebx
call fcn.00479879
mov dword [esp + 0x50], eax
push 1
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x40]
push 0x70
pop edx
call fcn.004594df
mov eax, dword [esp + 0x60]
add esp, 0x10
test eax, eax
je 0x48e27b
push 0xfffffffffffffff8
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.00459979
pop ecx
pop ecx
mov eax, dword [esp + 0x24]
mov ecx, edi
push 0
mov eax, dword [eax + 0x28]
push dword [eax + 8]
push dword [esp + 0x3c]
push 0x62
pop edx
call fcn.004591cc
add esp, 0xc
mov ecx, edi
push 0
push 0
push dword [esp + 0x3c]
push 0x7a
pop edx
call fcn.004591cc
add esp, 0xc
cmp byte [ebx + 0xd3], 2
jne 0x48e4b4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
test ecx, ecx
je 0x48e2d9
test byte [edx + 0x1c], 0x80
je 0x48e2d5
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x48e2d9
mov eax, dword [ecx]
jmp 0x48e2e3
and dword [esp + 0x5c], 0
mov eax, 0x4c8c24
cmp dword [esp + 0x5c], 0
mov ecx, 0x4c8c24
push eax
mov eax, str._USING_COVERING_INDEX
cmove eax, ecx
push eax
push dword [edx]
push str.SCAN__s_s_s
push 0
push ebx
call fcn.0045940c
add esp, 0x18
jmp 0x48e4b4
and dword [esp + 0x34], 0
and dword [esp + 0x2c], 0
and dword [esp + 0x20], 0
cmp dword [ecx + 0x24], 0
je 0x48e38e
mov edx, dword [ecx + 0x2c]
xor eax, eax
test edx, edx
jle 0x48e367
mov esi, dword [ecx + 0x28]
mov ebx, edx
mov edi, eax
mov eax, dword [esi]
test dword [eax + 4], 0x1000000
jne 0x48e349
mov eax, dword [esi + 4]
mov edx, ebx
test byte [eax + 4], 0x20
jne 0x48e353
inc edi
add esi, 0x14
mov edx, ebx
cmp edi, ebx
jl 0x48e333
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, edx
jne 0x48e3b3
mov eax, dword [ebx + 0x2c]
mov ecx, edi
inc eax
push 0
push eax
push 0
push 0x47
pop edx
mov dword [esp + 0x40], eax
mov dword [ebx + 0x2c], eax
call fcn.004591cc
mov ecx, dword [esp + 0x30]
add esp, 0xc
jmp 0x48e3b3
cmp dword [ecx + 0x2c], 1
jne 0x48e3b3
mov eax, dword [ecx + 0x28]
cmp dword [eax + 0xc], 0
jl 0x48e3b3
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 + 0x20], eax
mov edx, ecx
mov ecx, ebx
call fcn.0048c573
movzx eax, byte [esp + 0x3b]
mov ecx, ebx
or ax, word [esp + 0x20]
mov edx, dword [esp + 0x28]
push 0
movzx eax, ax
push eax
push esi
push dword [esp + 0x38]
push dword [esp + 0x8c]
push dword [esp + 0x60]
call fcn.0049e7d9
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
je 0x48cc02
movzx eax, byte [eax + 0x2f]
mov ecx, ebx
mov edx, dword [esp + 0x34]
push eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
push eax
call fcn.0048c6b6
mov edx, dword [esp + 0x7c]
pop ecx
pop ecx
test edx, edx
je 0x48e433
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x48e433
push dword [eax + 0x10]
mov ecx, ebx
push dword [eax + 0xc]
call fcn.0048797c
pop ecx
pop ecx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48e44d
push 0
push eax
push 1
push 0x47
pop edx
mov ecx, edi
call fcn.004591cc
add esp, 0xc
cmp byte [esp + 0x3b], 0
mov ecx, dword [esp + 0x1c]
je 0x48e4a4
test byte [ecx + 0x30], 4
je 0x48e4a4
cmp byte [ecx + 0x2d], 0
je 0x48e4a4
movzx edx, byte [ecx + 0x2c]
sub edx, 1
js 0x48e496
imul eax, edx, 0x60
add eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x348]
test byte [eax + 0x2c], 4
jne 0x48e57e
mov eax, dword [esp + 0xc]
sub eax, 0x60
sub edx, 1
mov dword [esp + 0xc], eax
jns 0x48e476
mov edx, dword [ecx + 0x20]
mov ecx, edi
call fcn.00459225
mov ecx, dword [esp + 0x1c]
call fcn.0049f234
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.0048c65c
and dword [esp + 0x98], 0
push 0x10
push dword [esp + 0x48]
push dword [esp + 0x60]
push ebx
call fcn.0046e269
mov eax, dword [esp + 0x54]
mov edx, esi
push eax
push eax
push dword [esp + 0x60]
mov ecx, ebx
push 0
push 0
push 0xffffffffffffffff
call fcn.004879dc
add esp, 0x28
mov edx, dword [esp + 0x44]
mov ecx, edi
call fcn.00459579
cmp byte [esp + 0x8d], 3
jne 0x48e512
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.0045940c
add esp, 0x10
cmp dword [esp + 0x98], 0
je 0x48e55f
cmp dword [esp + 0x9c], 0
mov ecx, str.ORDER_BY
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push ebx
call fcn.0045940c
mov eax, dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x58]
mov edx, dword [esp + 0x68]
push dword [eax]
lea eax, [esp + 0xb0]
push eax
call fcn.00488242
add esp, 0x1c
mov edx, dword [esp + 0x88]
mov ecx, edi
call fcn.00459579
xor eax, eax
cmp dword [ebx + 0x24], eax
setg al
mov dword [esp + 0x5c], eax
jmp 0x48cc02
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x308]
jmp 0x48e499
mov eax, edx
jmp 0x48cc06
xor eax, eax
inc eax
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b0ce6
mov esp, ebp
pop ebp
ret