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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
push esi
mov esi, ecx
mov dword [esp + 0x7c], 0
push edi
mov edi, edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 0x1d4]
mov dword [esp + 0xec], eax
mov eax, dword [esi + 0x1d8]
mov dword [esi + 0x1d4], eax
inc eax
mov dword [esi + 0x1d8], eax
mov eax, dword [esi]
mov dword [esp + 0x68], 1
mov dword [esp + 0x20], eax
test edi, edi
je 0x4b9338
cmp byte [eax + 0x45], 0
jne 0x4b9338
cmp dword [esi + 0x44], 0
jne 0x4b9338
push 0
push 0
push 0
mov edx, 0x15
call fcn.00496780
add esp, 0xc
test eax, eax
jne 0x4b9338
push 0x30
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00509d10
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x4b6f69
mov edx, dword [edi + 0x2c]
mov ecx, dword [esp + 0x20]
call fcn.0048e9f0
and dword [edi + 8], 0xfffffffe
mov dword [edi + 0x2c], 0
push 0
mov edx, edi
mov ecx, esi
call fcn.004b6700
mov eax, dword [edi + 0x2c]
xorps xmm0, xmm0
mov edx, dword [edi + 0x1c]
add esp, 4
cmp dword [esi + 0x44], 0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0x100], xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x28], edx
jne 0x4b91e6
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x45], 0
jne 0x4b91e6
mov eax, dword [edi + 8]
shr eax, 3
and eax, 1
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
mov eax, dword [edi]
cmp dword [eax], 1
jle 0x4b704c
cmp ecx, 0xa
je 0x4b6fdd
cmp ecx, 0xb
jne 0x4b704c
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.0045ca50
add esp, 8
mov edi, dword [esp + 0x20]
mov eax, 1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xec]
mov dword [esi + 0x1d4], ecx
test eax, eax
jne 0x4b7022
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x4b7022
push dword [esp + 0x80]
mov ecx, esi
call fcn.004b0e20
add esp, 4
mov esi, dword [esp + 0xd8]
test esi, esi
je 0x4b9272
cmp dword [edi + 0x1c8], 0
je 0x4b91f4
mov edx, esi
mov ecx, edi
call fcn.00459cc0
jmp 0x4b9272
mov edx, dword [esp + 0x1c]
xor edi, edi
cmp dword [edx + 0x30], edi
jne 0x4b7149
jmp 0x4b7060
mov ecx, dword [esp + 0x28]
cmp edi, dword [ecx]
jge 0x4b7149
mov esi, dword [esp + 0x28]
lea eax, [edi + edi*4]
add eax, eax
mov ecx, dword [ecx + eax*8 + 0x1c]
mov eax, dword [esi + eax*8 + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4b7113
movsx ecx, word [eax + 0x22]
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
cmp ecx, dword [eax]
mov eax, dword [esp + 0x54]
jne 0x4b7127
mov eax, dword [eax + 8]
mov ecx, esi
shr eax, 3
and eax, 1
push eax
push dword [esp + 0x70]
mov dword [esp + 0x20], eax
push edi
call fcn.004b47b0
add esp, 0xc
test eax, eax
je 0x4b70e2
cmp dword [esp + 0x18], 0
je 0x4b70df
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], 1
or dword [eax + 8], 8
or edi, 0xffffffff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x1c]
cmp byte [ecx + 0x45], 0
mov dword [esp + 0x28], edx
jne 0x4b91d6
mov ecx, dword [ebp + 8]
cmp byte [ecx], 8
jbe 0x4b7117
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xf0], ecx
jmp 0x4b7117
mov eax, dword [esp + 0x1c]
inc edi
cmp dword [eax + 0x30], 0
jne 0x4b7149
mov edx, dword [esp + 0x1c]
jmp 0x4b7060
mov eax, dword [eax]
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [eax]
movsx eax, word [eax + 0x22]
push eax
push str.expected__d_columns_for__s_but_got__d
push esi
call fcn.0045ca50
add esp, 0x14
jmp 0x4b6feb
mov ecx, esi
call fcn.004b1670
mov edi, eax
mov dword [esp + 0x90], edi
test edi, edi
je 0x4b6feb
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x30], 0
je 0x4b718d
push dword [ebp + 8]
mov edx, ecx
mov ecx, esi
call fcn.004b2150
mov ecx, dword [esp + 0xf0]
add esp, 4
mov dword [esi + 0x1d4], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x54], eax
cmp dword [edx], eax
jle 0x4b7424
nop
lea eax, [eax + eax*4]
add edx, 8
shl eax, 4
add eax, edx
mov dword [esp + 0x50], eax
mov edx, dword [eax + 0x14]
mov dword [esp + 0x70], edx
test edx, edx
je 0x4b740f
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4b71e7
test byte [eax + 0x28], 0x10
jne 0x4b740f
push edx
push dword [eax + 0x1c]
mov edx, 0xe
mov ecx, edi
call fcn.00479370
add esp, 8
jmp 0x4b740b
call fcn.0048d4a0
mov edx, dword [esp + 0x50]
add dword [esi + 0x1d0], eax
test byte [edx + 0x24], 0x20
jne 0x4b721a
mov eax, dword [esp + 0x1c]
push dword [edx + 0x30]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
push dword [eax + 0x20]
call fcn.004b4d60
mov edx, dword [esp + 0x58]
add esp, 8
cmp dword [esp + 0x54], 0
jne 0x4b730e
mov eax, dword [esp + 0x28]
cmp dword [eax], 1
je 0x4b7238
test byte [eax + 0x7c], 0xa
je 0x4b730e
mov eax, dword [esp + 0x1c]
test byte [eax + 8], 2
jne 0x4b730e
mov eax, dword [esp + 0x20]
mov ecx, 0x100
test word [eax + 0x40], cx
jne 0x4b730e
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x20]
inc esi
push esi
mov eax, dword [ecx + 0x4c]
inc eax
mov dword [ecx + 0x4c], eax
mov ecx, edi
mov dword [edx + 0x1c], eax
mov edx, 0x10
push 0
push eax
call fcn.00479220
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov word [esp + 0xa8], 0xd
mov dword [esp + 0xb0], 0
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x18], esi
mov dword [esp + 0xac], eax
mov al, byte [ecx + 0x1d8]
mov byte [edx + 0x2c], al
lea eax, [esp + 0xa8]
mov edx, dword [esp + 0x70]
push eax
mov dword [esp + 0xb8], 0
call fcn.004b6eb0
mov edx, dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [edx + 0x10]
mov ax, word [eax + 6]
mov word [ecx + 0x26], ax
mov ecx, edi
mov eax, dword [esp + 0xb0]
or dword [edx + 0x28], 0x10
mov dword [edx + 0x20], eax
mov edx, dword [edx + 0x1c]
call fcn.004798b0
lea edx, [esi - 1]
mov ecx, edi
call fcn.00479c60
mov esi, dword [esp + 0x14]
jmp 0x4b73e3
xor eax, eax
mov ecx, edi
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esi + 0x4c], eax
push eax
mov dword [edx + 0x1c], eax
mov edx, 0x16
push 0
call fcn.00479370
mov ecx, dword [esp + 0x58]
add esp, 8
mov dword [esp + 0x18], eax
inc eax
test byte [ecx + 0x28], 8
mov dword [ecx + 0x18], eax
jne 0x4b7351
mov ecx, esi
call fcn.0048f060
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x30]
mov edx, dword [esp + 0x70]
mov dword [esp + 0xac], eax
mov al, byte [esi + 0x1d8]
mov byte [ecx + 0x2c], al
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
mov word [esp + 0xac], 0xc
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
call fcn.004b6eb0
mov ecx, dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [ecx + 0x10]
mov ax, word [eax + 6]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4b73be
mov edx, eax
mov ecx, edi
call fcn.00479c60
mov eax, dword [esp + 0x50]
mov edx, 0xf
mov ecx, edi
push dword [eax + 0x1c]
call fcn.00479300
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
push eax
call fcn.00479c00
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esi + 0x3c], 0
mov byte [esi + 0x13], 0
cmp byte [eax + 0x45], 0
jne 0x4b6feb
mov ecx, dword [esp + 0x1c]
call fcn.0048d4a0
sub dword [esi + 0x1d0], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [edx]
jl 0x4b71a0
mov eax, dword [ecx]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x4c], eax
mov al, byte [ecx + 8]
and al, 1
mov dword [esp + 0x5c], edx
mov byte [esp + 0x13], al
mov byte [esp + 0xa8], al
mov eax, dword [ecx + 8]
and al, 9
cmp al, 1
jne 0x4b74a1
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.00492a80
add esp, 4
test eax, eax
jne 0x4b74a1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x20]
push 0
and dword [eax + 8], 0xfffffffe
call fcn.0048e0a0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b7500
mov ecx, dword [esp + 0x80]
mov edx, eax
push dword [ecx]
mov ecx, esi
push 0
call fcn.004afee0
mov edx, dword [esi + 0x48]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [edx + 1]
mov dword [esp + 0x10c], edx
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, edi
push eax
push edx
mov edx, 0x39
call fcn.00479660
add esp, 0x1c
mov dword [esp + 0x104], eax
jmp 0x4b750b
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 0xc
jne 0x4b752e
mov ecx, dword [esp + 0x80]
mov edx, 0x39
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
call fcn.00479370
add esp, 8
mov ecx, edi
call fcn.00479930
mov ecx, eax
mov edx, 0x140
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x11c], ecx
push ecx
mov ecx, esi
mov word [eax + 6], dx
mov edx, eax
call fcn.004b16c0
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx + 0xc], 0
jne 0x4b7587
mov eax, dword [esp + 0x104]
test eax, eax
js 0x4b7587
push 0x3a
mov edx, eax
mov ecx, edi
call fcn.00479bc0
mov edx, dword [esp + 0x20]
add esp, 4
or byte [esp + 0x10c], 1
test byte [edx + 8], 1
je 0x4b75f0
mov esi, dword [esi + 0x48]
mov ecx, dword [esp + 0x14]
push 0xfffffffffffffffa
push ecx
lea eax, [esi + 1]
mov dword [esp + 0xb4], esi
mov dword [ecx + 0x48], eax
mov edx, dword [edx]
push 0
push 0
call fcn.004afee0
add esp, 0xc
mov edx, 0x39
mov ecx, edi
push eax
push 0
push 0
push esi
call fcn.00479660
mov dword [esp + 0xc4], eax
add esp, 0x14
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x4b75e4
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 8
mov esi, dword [esp + 0x14]
mov al, 3
mov edx, dword [esp + 0x1c]
jmp 0x4b75f2
xor al, al
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0xa9], al
mov dword [esp + 0x70], eax
jne 0x4b7727
test ecx, ecx
jne 0x4b7727
cmp byte [esp + 0x13], cl
mov eax, 0x400
mov dword [esp + 0x18], 0x4000
cmovne ecx, eax
mov ax, word [edx + 8]
and ax, word [esp + 0x18]
or cx, ax
movsx eax, word [edx + 6]
push eax
movzx ecx, cx
push ecx
push dword [edx]
mov edx, dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0x94]
call fcn.004c9050
mov edx, eax
add esp, 0x14
mov dword [esp + 0x5c], edx
test edx, edx
je 0x4b91e2
mov eax, dword [esp + 0x1c]
movzx ecx, word [edx + 0x20]
cmp cx, word [eax + 6]
jge 0x4b7678
mov word [eax + 6], cx
cmp byte [esp + 0x13], 0
je 0x4b76a4
mov eax, dword [esp + 0x70]
mov cl, byte [edx + 0x2a]
movzx eax, al
test cl, cl
mov dword [esp + 0x70], eax
movzx eax, cl
mov ecx, dword [esp + 0x70]
cmovne ecx, eax
mov dword [esp + 0x70], ecx
mov byte [esp + 0xa9], cl
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4b76cd
movsx eax, byte [edx + 0x26]
cmp eax, dword [ecx]
mov dword [esp + 0x18], 0
cmove ecx, dword [esp + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ecx
mov eax, dword [esp + 0x104]
test eax, eax
js 0x4b76e9
test ecx, ecx
jne 0x4b76e9
mov edx, eax
mov ecx, edi
call fcn.00479e70
mov edx, dword [esp + 0x5c]
push dword [edx + 0x34]
lea eax, [esp + 0xac]
mov ecx, esi
push dword [edx + 0x30]
mov edx, dword [esp + 0x24]
push dword [ebp + 8]
push eax
lea eax, [esp + 0x100]
push eax
push 0xffffffffffffffff
push dword [esp + 0x98]
call fcn.004af220
mov ecx, dword [esp + 0x78]
add esp, 0x1c
call fcn.004c9ad0
jmp 0x4b8f62
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0
test ecx, ecx
je 0x4b7799
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x4b7762
add ecx, 0x16
lea esp, [esp]
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x4b7750
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x4b7787
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x4b7772
mov edi, dword [esp + 0x90]
cmp word [edx + 6], 0x42
mov ecx, dword [esp + 0x4c]
jle 0x4b779f
mov eax, 0x42
jmp 0x4b779b
xor eax, eax
mov word [edx + 6], ax
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.00492a80
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x7c], ecx
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x24], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4b7800
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0045a1b0
mov ecx, dword [esp + 0x84]
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4b780e
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [esp + 0x4c]
or eax, 0xffffffff
sub eax, edx
xorps xmm0, xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
movdqa xmmword [esp + 0x120], xmm0
mov dword [esp + 0x124], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x4c]
inc eax
movdqa xmmword [esp + 0x130], xmm0
mov dword [esp + 0x120], esi
mov dword [esp + 0xcc], eax
test ecx, ecx
je 0x4b786a
mov eax, dword [ecx]
mov dword [esp + 0xc8], eax
jmp 0x4b7875
mov dword [esp + 0xc8], 0
mov edx, dword [esp + 0x80]
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0x120]
call fcn.00492fa0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x120]
call fcn.00492fa0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4b78f9
xorps xmm0, xmm0
mov dword [esp + 0x158], 0
lea ecx, [esp + 0x120]
movdqa xmmword [esp + 0x140], xmm0
mov dword [esp + 0x158], ecx
mov edx, eax
lea ecx, [esp + 0x140]
movq qword [esp + 0x150], xmm0
mov dword [esp + 0x144], 0x492c80
mov dword [esp + 0x148], fcn.0041ead0
call fcn.0048aa60
cmp dword [esp + 0xe8], 0
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xe0], ecx
jle 0x4b797c
mov ax, word [esp + 0x13c]
xor esi, esi
xor edi, edi
lea ecx, [ecx]
or ax, 8
lea ecx, [esp + 0x120]
mov word [esp + 0x13c], ax
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x14]
call fcn.00492fa0
mov ax, word [esp + 0x13c]
lea esi, [esi + 0x10]
mov ecx, 0xfff7
inc edi
and ax, cx
mov word [esp + 0x13c], ax
cmp edi, dword [esp + 0xe8]
jl 0x4b7920
mov ecx, dword [esp + 0xdc]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x45], 0
jne 0x4b6feb
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4b8b63
mov eax, dword [esi + 0x48]
push ecx
mov dword [esp + 0xc4], eax
mov ecx, esi
inc eax
push 0
mov dword [esi + 0x48], eax
call fcn.004afee0
push 0xfffffffffffffffa
push eax
push 0
push dword [esp + 0xdc]
mov edx, 0x3a
mov dword [esp + 0x84], eax
push dword [esp + 0xd8]
mov ecx, edi
call fcn.00479660
mov dword [esp + 0xc0], eax
add esp, 0x1c
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esp + 0xa0], eax
inc eax
mov dword [esp + 0x60], eax
inc eax
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x7c], ecx
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x24], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4b7a3c
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0045a1b0
mov ecx, dword [esp + 0x84]
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4b7a4a
mov dword [eax + edx*4], 0xffffffff
inc dword [esi + 0x4c]
or eax, 0xffffffff
mov ecx, dword [edi + 0x18]
sub eax, edx
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x9c], eax
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x24], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4b7aa0
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0045a1b0
mov ecx, dword [esp + 0x84]
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4b7aae
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
sub eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
mov dword [esp + 0x98], ecx
mov ecx, dword [edx]
add ecx, eax
mov dword [esi + 0x4c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x88], eax
mov eax, dword [edx]
add eax, ecx
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b7b04
push 0
push dword [esp + 0x64]
mov edx, 0x16
mov ecx, edi
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4b7b3b
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b7b62
push 0
push dword [esp + 0xa4]
mov edx, 0x16
mov ecx, edi
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4b7b9c
mov edx, dword [esp + 0xa0]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x98]
mov eax, dword [edi + 0x18]
dec edx
add edx, dword [ecx]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b7bd0
push edx
push dword [esp + 0x9c]
mov edx, 0x19
mov ecx, edi
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4b7c0a
mov esi, dword [esp + 0x98]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b7c33
push 0
push dword [esp + 0x78]
mov edx, 0xe
mov ecx, edi
push dword [esp + 0xa4]
call fcn.004791e0
add esp, 0xc
jmp 0x4b7c6d
mov edx, dword [esp + 0x9c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, 0x100
mov edx, dword [esp + 0x28]
neg eax
push 0
sbb eax, eax
and eax, 0x800
or ax, cx
mov ecx, esi
movzx eax, ax
push eax
push 0
push dword [esp + 0x58]
push dword [esp + 0x94]
call fcn.004c9050
mov edx, eax
add esp, 0x14
mov dword [esp + 0x24], edx
test edx, edx
je 0x4b6feb
mov ecx, dword [esp + 0x4c]
movsx eax, byte [edx + 0x26]
cmp eax, dword [ecx]
jne 0x4b7cc8
xor ecx, ecx
mov dword [esp + 0x54], ecx
jmp 0x4b81ce
cmp byte [esp + 0x13], 0
je 0x4b7cde
mov eax, dword [esp + 0x1c]
test byte [eax + 8], 1
mov eax, str.DISTINCT
je 0x4b7ce3
mov eax, str.GROUP_BY
cmp byte [esi + 0x1c5], 2
jne 0x4b7d27
mov esi, dword [esi + 8]
push eax
mov eax, dword [esp + 0x18]
push str.USE_TEMP_B_TREE_FOR__s
push dword [eax]
call fcn.0045bbf0
add esp, 0xc
mov edx, 0xa1
mov ecx, esi
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push dword [eax + 0x1d4]
call fcn.00479660
mov esi, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x54], 1
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], eax
test edx, edx
jle 0x4b7d6d
mov eax, dword [esp + 0xd8]
mov edi, ecx
add eax, 0xc
cmp dword [eax], ecx
jl 0x4b7d5c
inc edi
inc ecx
add eax, 0x18
dec edx
jne 0x4b7d56
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x90]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x58], eax
cmp edx, ecx
jg 0x4b7d8b
add eax, edx
sub ecx, edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
jmp 0x4b7d9a
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x58], ecx
mov dword [esi + 0x4c], eax
mov ecx, esi
call fcn.00490a20
mov edx, dword [esp + 0x4c]
push 0
push 0
push dword [esp + 0x60]
call fcn.00491f90
mov ecx, dword [esp + 0xe8]
add esp, 0xc
mov dword [esp + 0x68], 0
test ecx, ecx
jle 0x4b7ecc
mov edx, dword [esp + 0x64]
xor edi, edi
mov dword [esp + 0x2c], edi
jmp 0x4b7de0
mov eax, dword [esp + 0xd8]
cmp dword [eax + edi + 0xc], edx
jl 0x4b7ead
mov ecx, dword [eax + edi + 8]
mov edx, dword [eax + edi + 4]
mov eax, dword [eax + edi]
mov dword [esp + 0x84], ecx
lea ecx, [esi + 0x7c]
mov dword [esp + 0x8c], edx
xor edx, edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x7c], ecx
lea ebx, [ebx]
cmp dword [ecx + 0xc], 0
mov eax, dword [esp + 0x8c]
jle 0x4b7e49
cmp dword [ecx], eax
jne 0x4b7e49
movsx eax, word [ecx + 4]
cmp eax, dword [esp + 0x84]
je 0x4b7ee2
mov eax, dword [esp + 0x8c]
inc edx
add ecx, 0x14
mov dword [esp + 0x7c], ecx
cmp edx, 0xa
jl 0x4b7e20
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x94]
push ecx
push dword [esp + 0x88]
mov ecx, dword [esi + 8]
push eax
call fcn.004907d0
mov eax, dword [esp + 0x64]
add esp, 0xc
add eax, dword [esp + 0x64]
mov ecx, esi
mov edx, dword [esp + 0x8c]
push eax
push dword [esp + 0x88]
call fcn.00490530
add esp, 8
mov edi, dword [esp + 0x2c]
inc dword [esp + 0x64]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
add edi, 0x18
inc eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x68], eax
cmp eax, ecx
jl 0x4b7de0
mov edi, dword [esp + 0x90]
mov al, byte [esi + 0x13]
test al, al
jne 0x4b7f8e
inc dword [esi + 0x4c]
mov edx, dword [esi + 0x4c]
jmp 0x4b7f9a
mov eax, dword [esi + 0x70]
mov dword [ecx + 0x10], eax
inc dword [esi + 0x70]
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.00490730
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x7c], eax
cmp eax, ecx
je 0x4b7e9e
mov ecx, dword [esi + 8]
mov dword [esp + 0x84], ecx
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4b7f47
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
push 0
push eax
push edx
mov edx, 0x1f
call fcn.004791e0
add esp, 0xc
jmp 0x4b7e9e
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov eax, dword [eax + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b7e9a
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov edx, dword [esi + eax*4 + 0x1c]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x58], ecx
jg 0x4b7fc7
push edx
push dword [esp + 0x34]
mov edx, 0x31
mov ecx, edi
push dword [esp + 0x60]
call fcn.004791e0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4b7ffe
mov esi, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc0]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4b8030
push 0
push edx
push dword [esp + 0x70]
mov edx, 0x6d
mov ecx, edi
call fcn.004791e0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4b806a
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x90]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
je 0x4b80a0
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x4b80a0
xor ecx, ecx
lea eax, [esi + 0x7c]
mov edi, edi
cmp dword [eax + 0xc], edx
je 0x4b809c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4b8080
movzx eax, byte [esp + 0x13]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x4b80a0
mov byte [eax + 6], 1
push dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
mov ecx, esi
call fcn.00490680
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, dword [esi + 0x3c]
jle 0x4b80c5
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x24]
call fcn.004c9ad0
mov edx, dword [esi + 0x48]
mov dword [esp + 0x58], edx
mov dword [esp + 0xc4], edx
lea eax, [edx + 1]
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x4b80f1
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x4b80fd
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4b8126
push dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x68]
push edx
mov edx, 0x3c
call fcn.004791e0
add esp, 0xc
jmp 0x4b8159
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x3c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0xc0]
cmp dword [eax + 0x58], ecx
jg 0x4b8183
push 0
push dword [esp + 0x54]
mov ecx, edi
push edx
mov edx, 0x6a
call fcn.004791e0
add esp, 0xc
jmp 0x4b81b6
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x6a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
mov byte [esp + 0xbd], 1
call fcn.00490a20
mov edx, dword [esp + 0x24]
mov ecx, 1
cmp dword [esp + 0x18], 0
je 0x4b822b
mov eax, dword [esp + 0x20]
test byte [eax + 0x40], 4
jne 0x4b822b
test ecx, ecx
jne 0x4b81e8
cmp byte [edx + 0x27], cl
je 0x4b822b
mov ecx, dword [edi]
mov dword [esp + 0xf0], 0
cmp byte [ecx + 0x45], 0
jne 0x4b822b
mov eax, dword [esp + 0x104]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00479ca0
mov word [esi], 0xa0
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x20]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00490a20
cmp dword [esp + 0x54], 0
je 0x4b829f
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0xc0]
cmp dword [eax + 0x58], ecx
jg 0x4b826c
push dword [esp + 0x58]
mov ecx, edi
push dword [esp + 0x68]
push edx
mov edx, 0x64
call fcn.004791e0
add esp, 0xc
jmp 0x4b829f
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x64
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x2c], edx
cmp dword [eax], edx
jle 0x4b8369
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x54], 0
je 0x4b8323
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b82e9
mov eax, dword [esp + 0x88]
mov ecx, edi
add eax, edx
push eax
push edx
push dword [esp + 0x60]
mov edx, 0x2f
call fcn.004791e0
add esp, 0xc
jmp 0x4b8349
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x2f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x88]
add eax, edx
mov dword [ecx + 0xc], eax
jmp 0x4b834d
mov eax, dword [esp + 0x88]
add eax, edx
mov byte [esp + 0xbc], 1
push eax
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 4]
mov edx, dword [edx + ecx]
mov ecx, esi
call fcn.00491d90
add esp, 4
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
inc edx
mov ecx, dword [esp + 0x18]
add ecx, 0x18
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ecx
cmp edx, dword [eax]
jl 0x4b82b7
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4b8373
inc dword [ecx]
mov ecx, dword [eax]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x94], ecx
cmp dword [eax + 0x58], edx
jg 0x4b83a9
push ecx
push dword [esp + 0x8c]
mov edx, 0x2a
mov ecx, edi
push dword [esp + 0xa0]
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4b83ed
mov esi, dword [esp + 0x98]
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x88]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x94]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4b8409
mov edx, dword [esp + 0x6c]
push edx
mov edx, 0xfffffffa
call fcn.00479ca0
add esp, 4
jmp 0x4b8441
test edx, edx
jns 0x4b8411
mov edx, dword [edi + 0x20]
dec edx
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x6c]
je 0x4b8436
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, edi
call fcn.00479ec0
add esp, 8
jmp 0x4b8441
test edx, edx
je 0x4b8441
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], ecx
lea edx, [ecx + 1]
cmp dword [eax + 0x58], ecx
jg 0x4b8468
push edx
push 0
push edx
mov edx, 0x2b
mov ecx, edi
call fcn.004791e0
add esp, 0xc
jmp 0x4b8497
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x2b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 8]
mov dword [esp + 0x94], ecx
mov eax, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x18]
cmp dword [eax + 0x58], edx
jg 0x4b84d8
mov edx, dword [esp + 0x2c]
push edx
push dword [esp + 0x9c]
mov edx, 0x1d
push dword [esp + 0x90]
call fcn.004791e0
add esp, 0xc
jmp 0x4b851c
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x88]
mov eax, dword [eax + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x98]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x2c]
mov edx, dword [esp + 0x8c]
mov ecx, esi
call fcn.00490680
mov eax, dword [edi + 0x18]
add esp, 4
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b8559
mov eax, dword [esp + 0x60]
mov edx, 0xe
push 0
push dword [esp + 0x7c]
inc eax
mov ecx, edi
push eax
call fcn.004791e0
add esp, 0xc
jmp 0x4b8595
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b85bb
push 0
push dword [esp + 0x54]
mov edx, 0x8a
mov ecx, edi
push dword [esp + 0x68]
call fcn.004791e0
add esp, 0xc
jmp 0x4b85f2
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x8a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b861b
push 0
push dword [esp + 0x78]
mov edx, 0xe
mov ecx, edi
push dword [esp + 0xa4]
call fcn.004791e0
add esp, 0xc
jmp 0x4b8655
mov edx, dword [esp + 0x9c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x20]
test ecx, ecx
jns 0x4b866d
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4b867c
mov eax, 0x5a2a64
jmp 0x4b8685
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, esi
lea edx, [esp + 0xbc]
call fcn.004b69a0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b86bd
push 0
push dword [esp + 0xa4]
mov edx, 0x16
mov ecx, edi
push 1
call fcn.004791e0
add esp, 0xc
jmp 0x4b86f7
mov edx, dword [esp + 0xa0]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x54], 0
je 0x4b875d
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0xc0]
cmp dword [eax + 0x58], ecx
jg 0x4b8728
push 0
push dword [esp + 0x6c]
mov ecx, edi
push edx
mov edx, 3
call fcn.004791e0
add esp, 0xc
jmp 0x4b879e
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b879e
mov ecx, dword [esp + 0x24]
call fcn.004c9ad0
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x4b879e
mov eax, dword [esp + 0xa4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00479ca0
mov word [esi], 0xa0
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b87c6
mov eax, dword [esp + 0x60]
mov edx, 0xe
push 0
push dword [esp + 0x7c]
inc eax
mov ecx, edi
push eax
call fcn.004791e0
add esp, 0xc
jmp 0x4b8802
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b8826
push 0
push dword [esp + 0x54]
mov edx, 0xd
mov ecx, edi
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4b885d
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x94], ecx
cmp dword [eax + 0x58], ecx
jg 0x4b888c
push 0
push dword [esp + 0x64]
mov edx, 0x16
mov ecx, edi
push 1
call fcn.004791e0
mov edx, dword [esp + 0x6c]
add esp, 0xc
jmp 0x4b88c3
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b88e7
push 0
lea eax, [edx + 1]
mov ecx, edi
push 0
push eax
mov edx, 0xf
call fcn.004791e0
add esp, 0xc
jmp 0x4b8923
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4b893f
mov eax, dword [esp + 0x78]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
mov dword [esp + 0xa4], ecx
lea edx, [ecx + 2]
cmp dword [eax + 0x58], ecx
jg 0x4b8976
push 0
push edx
push dword [esp + 0xa8]
mov edx, 0x8a
mov ecx, edi
call fcn.004791e0
add esp, 0xc
jmp 0x4b89b0
mov esi, dword [esp + 0xa0]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x8a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b89d6
mov eax, dword [esp + 0x60]
mov edx, 0xf
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.004791e0
add esp, 0xc
jmp 0x4b8a12
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [esp + 0xbc]
mov ecx, esi
call fcn.004b6880
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 0x5c]
inc esi
mov ecx, dword [esp + 0x14]
push 0x10
push esi
call fcn.004925d0
push dword [esp + 0x9c]
lea eax, [esp + 0xb4]
push esi
push dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov ecx, esi
push eax
lea eax, [esp + 0x108]
push eax
mov eax, dword [esp + 0x38]
mov edx, eax
push 0xffffffffffffffff
push dword [eax]
call fcn.004af220
mov eax, dword [edi + 0x18]
add esp, 0x24
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b8a91
mov eax, dword [esp + 0x60]
mov edx, 0xf
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.004791e0
add esp, 0xc
jmp 0x4b8ac9
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
inc edx
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4b8ae5
mov eax, dword [esp + 0x74]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov ecx, esi
dec eax
mov dword [edx + 0x60], eax
lea edx, [esp + 0xbc]
call fcn.004b6790
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b8b24
push 0
push 0
push dword [esp + 0xa4]
mov edx, 0xf
mov ecx, edi
call fcn.004791e0
add esp, 0xc
jmp 0x4b8f3f
mov edx, dword [esp + 0x9c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b8f3f
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xbc]
mov dword [esp + 0x8c], 0
call fcn.004b4e90
mov edx, eax
mov dword [esp + 0x78], edx
test edx, edx
je 0x4b8dec
mov ecx, dword [esi]
mov eax, dword [edx + 0x40]
mov dword [esp + 0xa4], ecx
mov ecx, 0xfff0bdc0
mov dword [esp + 0x54], ecx
test eax, eax
je 0x4b8bde
mov eax, dword [esi]
xor ecx, ecx
mov dword [esp + 0x54], ecx
cmp dword [eax + 0x14], ecx
jle 0x4b8bde
mov eax, dword [eax + 0x10]
mov edi, dword [edx + 0x40]
add eax, 0xc
mov esi, dword [esp + 0xa4]
cmp dword [eax], edi
je 0x4b8bcf
inc ecx
add eax, 0x10
cmp ecx, dword [esi + 0x14]
jl 0x4b8bc2
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov eax, dword [esi + 0x48]
mov dword [esp + 0x74], eax
inc eax
mov dword [esi + 0x48], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x1c]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0049c970
mov eax, dword [esp + 0x78]
mov ecx, esi
mov edx, dword [esp + 0x54]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.00496810
mov eax, dword [esp + 0x84]
add esp, 0xc
test byte [eax + 0x2a], 0x20
je 0x4b8c4e
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
test ecx, ecx
je 0x4b8c50
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4b8c44
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4b8c34
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], ecx
jmp 0x4b8c50
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x4b8c91
mov esi, dword [esp + 0x78]
jmp 0x4b8c60
test byte [eax + 0x38], 4
jne 0x4b8c82
movzx edx, word [eax + 0x30]
cmp dx, word [esi + 0x28]
jge 0x4b8c82
cmp dword [eax + 0x24], 0
jne 0x4b8c82
test ecx, ecx
je 0x4b8c80
cmp dx, word [ecx + 0x30]
jge 0x4b8c82
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4b8c60
mov esi, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
test ecx, ecx
je 0x4b8ca9
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0049d1c0
mov dword [esp + 0x68], eax
push 1
push dword [esp + 0x58]
mov edx, 0x36
mov ecx, edi
push dword [esp + 0x20]
push dword [esp + 0x80]
call fcn.004797e0
mov edx, dword [esp + 0x78]
add esp, 0x10
test edx, edx
je 0x4b8d15
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4b8ce9
push edx
mov edx, 0xfffffffa
call fcn.00479ca0
add esp, 4
jmp 0x4b8d15
mov eax, dword [edi + 0x20]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b8d0e
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, edi
call fcn.00479ec0
add esp, 8
jmp 0x4b8d15
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0xe4]
mov ecx, dword [edi + 0x20]
mov edx, dword [eax + 8]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4b8d42
push 0
push edx
push dword [esp + 0x7c]
mov edx, 0x32
mov ecx, edi
call fcn.004791e0
add esp, 0xc
jmp 0x4b8d79
mov esi, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x32
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4b8d9d
push 0
push 0
push dword [esp + 0x7c]
mov edx, 0x3d
mov ecx, edi
call fcn.004791e0
add esp, 0xc
jmp 0x4b8dd4
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x6c]
mov ecx, esi
mov edx, dword [esp + 0x78]
push eax
call fcn.004b6e30
add esp, 4
jmp 0x4b8ef2
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x28], 0
jne 0x4b8e65
lea edx, [esp + 0x24]
lea ecx, [esp + 0xbc]
call fcn.004b4e20
mov byte [esp + 0x13], al
test al, al
je 0x4b8e5d
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
call fcn.0048e0a0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x8c], edx
cmp byte [eax + 0x45], 0
jne 0x4b8e65
mov eax, dword [edx + 4]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x4b8e65
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
lea edx, [esp + 0xbc]
mov ecx, esi
call fcn.004b6790
mov al, byte [esp + 0x13]
mov ecx, esi
mov edx, dword [esp + 0x28]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x38]
push dword [esp + 0x94]
call fcn.004c9050
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4b8eb7
mov edi, dword [esp + 0x20]
mov ecx, edi
mov edx, dword [esp + 0x8c]
call fcn.0048e9f0
jmp 0x4b6fef
lea edx, [esp + 0xbc]
mov ecx, esi
call fcn.004b69a0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x26], 0
jle 0x4b8edd
mov edx, dword [eax + 0x34]
mov ecx, edi
call fcn.004793e0
mov eax, dword [esp + 0x18]
mov ecx, eax
call fcn.004c9ad0
lea edx, [esp + 0xbc]
mov ecx, esi
call fcn.004b6880
mov edx, dword [esp + 0x5c]
mov ecx, esi
push 0x10
push dword [esp + 0x54]
mov dword [esp + 0xf8], 0
call fcn.004925d0
mov eax, dword [esp + 0x58]
mov ecx, esi
push eax
push eax
push dword [ebp + 8]
mov eax, dword [esp + 0x30]
mov edx, eax
push 0
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.004af220
mov edx, dword [esp + 0xb0]
add esp, 0x24
mov ecx, dword [esp + 0x20]
call fcn.0048e9f0
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4b8f5b
mov eax, dword [esp + 0x50]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [esp + 0x70]
cmp al, 3
jne 0x4b9064
cmp byte [esi + 0x1c5], 2
jne 0x4b9064
mov eax, dword [esi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [esi]
mov dword [esp + 0x68], eax
call fcn.0045bbf0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1d4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4b8fcc
push 0
push 0
push dword [esp + 0x20]
mov edx, 0xa1
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4b900e
mov edi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x90]
mov word [eax + ecx*4], 0xa1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x4b902e
mov edx, dword [esp + 0x24]
mov ecx, eax
push edx
or edx, 0xffffffff
call fcn.00479ca0
add esp, 4
jmp 0x4b9064
test edx, edx
jns 0x4b9036
mov edx, dword [ecx + 0x20]
dec edx
mov eax, dword [ecx + 4]
lea edx, [edx + edx*4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
je 0x4b9059
push 0xffffffffffffffff
push edx
mov edx, eax
call fcn.00479ec0
add esp, 8
jmp 0x4b9064
test edx, edx
je 0x4b9064
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
cmp dword [esp + 0xf0], 0
je 0x4b919b
cmp byte [esi + 0x1c5], 2
jne 0x4b9179
mov eax, dword [esi + 8]
mov ecx, str.ORDER_BY
cmp dword [esp + 0xf4], 0
mov dword [esp + 0x5c], eax
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push dword [esi]
call fcn.0045bbf0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1d4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4b90e1
push 0
push 0
push dword [esp + 0x20]
mov edx, 0xa1
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4b9123
mov edi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x90]
mov word [eax + ecx*4], 0xa1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x4b9143
mov edx, dword [esp + 0x24]
mov ecx, eax
push edx
or edx, 0xffffffff
call fcn.00479ca0
add esp, 4
jmp 0x4b9179
test edx, edx
jns 0x4b914b
mov edx, dword [ecx + 0x20]
dec edx
mov eax, dword [ecx + 4]
lea edx, [edx + edx*4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
je 0x4b916e
push 0xffffffffffffffff
push edx
mov edx, eax
call fcn.00479ec0
add esp, 8
jmp 0x4b9179
test edx, edx
je 0x4b9179
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
mov eax, dword [esp + 0x80]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [esp + 0x20]
push dword [eax]
lea eax, [esp + 0xf8]
push eax
call fcn.004afff0
add esp, 0xc
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4b91ba
mov eax, dword [esp + 0x11c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov edi, dword [esp + 0x20]
dec eax
mov dword [edx + 0x60], eax
xor eax, eax
cmp dword [esi + 0x44], eax
setg al
mov dword [esp + 0x68], eax
jmp 0x4b6ff4
mov eax, 1
mov edi, ecx
jmp 0x4b6ff8
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov eax, 1
jmp 0x4b6ff8
cmp esi, dword [edi + 0x120]
jb 0x4b921a
cmp esi, dword [edi + 0x124]
jae 0x4b921a
mov eax, dword [edi + 0x11c]
mov dword [esi], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x4b9272
cmp dword [0x58c138], 0
je 0x4b9268
mov eax, dword [0x5a22a8]
test eax, eax
je 0x4b9236
push eax
call dword [0x58c190]
add esp, 4
push esi
call dword [0x58c16c]
sub dword [0x5a22e8], eax
add esp, 4
dec dword [0x5a230c]
push esi
call dword [0x58c164]
mov eax, dword [0x5a22a8]
add esp, 4
test eax, eax
je 0x4b9272
push eax
call dword [0x58c198]
jmp 0x4b926f
push esi
call dword [0x58c164]
add esp, 4
mov esi, dword [esp + 0xe4]
test esi, esi
je 0x4b932e
cmp dword [edi + 0x1c8], 0
je 0x4b929d
mov edx, esi
mov ecx, edi
call fcn.00459cc0
mov eax, dword [esp + 0x68]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [edi + 0x120]
jb 0x4b92cb
cmp esi, dword [edi + 0x124]
jae 0x4b92cb
mov eax, dword [edi + 0x11c]
mov dword [esi], eax
dec dword [edi + 0x108]
mov eax, dword [esp + 0x68]
mov dword [edi + 0x11c], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x58c138], 0
je 0x4b9324
mov eax, dword [0x5a22a8]
test eax, eax
je 0x4b92e7
push eax
call dword [0x58c190]
add esp, 4
push esi
call dword [0x58c16c]
sub dword [0x5a22e8], eax
add esp, 4
dec dword [0x5a230c]
push esi
call dword [0x58c164]
mov eax, dword [0x5a22a8]
add esp, 4
test eax, eax
je 0x4b932e
push eax
call dword [0x58c198]
mov eax, dword [esp + 0x6c]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [0x58c164]
add esp, 4
mov eax, dword [esp + 0x68]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret