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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x540020]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], 1
mov ecx, dword [ebp + 8]
mov eax, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x10], eax
mov esi, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x78], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], esi
test esi, esi
jne 0x499b94
cmp dword [edi + 0x74], esi
jne 0x499b7f
test byte [ecx + 0x4c], 8
jne 0x499b7f
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0044cdd0
mov ecx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], esi
test eax, eax
je 0x49c647
cmp byte [ecx + 0x51], 0
jne 0x49c647
cmp dword [edi + 0x24], 0
jne 0x49c647
push 0
push 0
push 0
mov edx, 0x15
mov ecx, edi
call fcn.00471ff0
add esp, 0xc
test eax, eax
jne 0x49c647
push 0x30
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.004e0bd0
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp byte [eax], 8
mov eax, dword [esp + 0x10]
ja 0x499c0c
mov edx, dword [eax + 0x30]
test edx, edx
je 0x499c01
mov ecx, dword [esp + 0x38]
call fcn.00465470
mov eax, dword [esp + 0x10]
and dword [eax + 8], 0xfffffffe
mov dword [eax + 0x30], 0
push 0
mov edx, eax
mov ecx, edi
call fcn.00499290
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x499e43
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x51], 0
jne 0x49c537
mov eax, dword [esp + 0x64]
cmp byte [eax], 9
jne 0x499c46
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.00493680
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004b2a70
test eax, eax
jne 0x499e43
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movq qword [esp + 0xf0], xmm0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x30]
shr ecx, 3
and ecx, 1
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x34], ecx
jne 0x499de0
nop word [eax + eax]
cmp ecx, dword [edx]
jge 0x499e71
lea eax, [ecx + ecx*8]
test byte [edx + eax*8 + 0x2c], 8
lea eax, [edx + eax*8]
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x1c], edi
mov edi, dword [eax + 0x18]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
je 0x499d1c
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
call fcn.0046bd80
test eax, eax
je 0x499d14
mov eax, dword [esp + 0x38]
mov ecx, 0x2000
test word [eax + 0x4c], cx
jne 0x499d14
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
and byte [edx + 0x2c], 0xd7
mov edx, dword [edx + 0x34]
mov ecx, dword [eax + 0x24]
call fcn.00490800
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x499dcd
mov eax, dword [eax]
mov esi, dword [esp + 0x28]
mov edi, dword [eax]
movsx eax, word [esi + 0x2a]
mov esi, dword [esp + 0x54]
cmp eax, edi
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x18]
jne 0x499e2a
mov eax, dword [esp + 0x1c]
test byte [eax + 8], 8
jne 0x499dcd
cmp dword [eax + 0x30], 0
je 0x499d74
test ecx, ecx
jne 0x499d74
mov eax, dword [esp + 0x10]
test dword [eax + 8], 0x40000
je 0x499d74
cmp dword [edx], 1
je 0x499dd1
test byte [edx + 0x74], 0xa
jne 0x499dd1
push dword [esp + 0x60]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004976f0
add esp, 8
test eax, eax
je 0x499d9d
cmp dword [edi + 0x24], 0
jne 0x499e43
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov edx, dword [ecx + 0x20]
cmp byte [eax + 0x51], 0
mov dword [esp + 0x20], edx
jne 0x49c537
mov eax, dword [esp + 0x64]
cmp byte [eax], 8
jbe 0x499dc9
mov eax, dword [ecx + 0x30]
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
inc ecx
cmp dword [eax + 0x34], 0
mov dword [esp + 0x30], ecx
je 0x499cb0
push dword [esp + 0x64]
mov esi, dword [esp + 0x14]
mov ecx, edi
mov edx, esi
call fcn.00494ae0
add esp, 4
mov dword [esp + 0x7c], eax
cmp dword [esi + 0x38], 0
jne 0x49c64c
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x49c4d4
mov dword [edi + 0xd4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push edi
call fcn.0042fce0
add esp, 0x14
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x49c567
cmp dword [esi + 0x1e8], 0
je 0x49c53e
mov edx, ecx
mov ecx, esi
call fcn.0042c6f0
jmp 0x49c567
mov eax, dword [edx]
mov dword [esp + 0x2c], edx
cmp eax, 1
jle 0x499faa
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], edx
cmp word [ecx + 0x4c], 0
jl 0x499faa
mov esi, dword [esp + 0x10]
mov dword [esp + 0x80], edi
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call fcn.00497dc0
cmp dword [esp + 0x84], 0
je 0x499f90
mov edx, dword [esi + 0x24]
lea eax, [esp + 0x80]
mov dword [esp + 0x118], 0
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], 0x497f50
mov dword [esp + 0x10c], fcn.00401840
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x11c], eax
test edx, edx
je 0x499f3f
lea ecx, [esp + 0x104]
call fcn.00460670
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x8c]
mov ecx, dword [eax]
test edx, edx
je 0x499f90
test ecx, ecx
je 0x499f87
cmp dword [ecx + 0x1e8], 0
je 0x499f67
call fcn.0042c6f0
jmp 0x499f90
cmp edx, dword [ecx + 0x138]
jb 0x499f87
cmp edx, dword [ecx + 0x13c]
jae 0x499f87
mov eax, dword [ecx + 0x134]
mov dword [edx], eax
mov dword [ecx + 0x134], edx
jmp 0x499f90
push edx
call fcn.0042c680
add esp, 4
cmp dword [esp + 0x88], 0
jne 0x499ea2
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x54]
mov eax, dword [edx]
jmp 0x499fae
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x49a59c
nop dword [eax]
lea eax, [ecx*8 + 1]
add eax, ecx
lea ecx, [edx + eax*8]
mov eax, dword [ecx + 0x38]
or eax, dword [ecx + 0x3c]
mov dword [esp + 0x14], ecx
jne 0x499ff8
push dword [ecx + 4]
lea edx, [eax + 0x14]
push 0x51274f
push dword [ecx + 8]
mov ecx, edi
call fcn.00471ff0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x49a58b
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00463970
mov eax, dword [esp + 0x1c]
mov ecx, 0x1000
add dword [edi + 0xd0], eax
mov eax, dword [esp + 0x38]
test word [eax + 0x4c], cx
jne 0x49a05c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
movzx eax, byte [ecx + 0x24]
shr eax, 5
and eax, 1
push eax
mov eax, dword [esp + 0x14]
push dword [ecx + 0x2c]
mov ecx, edi
push dword [eax + 0x24]
call fcn.00498010
add esp, 0xc
cmp dword [esp + 0x48], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0xf0], eax
jne 0x49a21a
mov eax, dword [esp + 0x2c]
cmp dword [eax], 1
je 0x49a091
test byte [eax + 0x74], 0xa
je 0x49a21a
mov eax, dword [esi + 0x6c]
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov dword [ecx + 0x1c], edx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xc], eax
inc eax
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x70], ecx
jg 0x49a0c7
push eax
push 0
push edx
mov edx, 0xd
mov ecx, esi
call fcn.0044d060
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x49a0fa
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xd
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 + 0x14]
mov byte [esp + 0x80], 0xd
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [eax + 0x18], edx
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], 0
push dword [eax + 0x14]
push str.CO_ROUTINE__u
push 1
push edi
call fcn.0044d350
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call fcn.00499b20
mov edx, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + 0x10]
mov ax, word [eax + 6]
mov word [ecx + 0x2c], ax
or dword [edx + 0x28], 0x10
mov eax, dword [esp + 0x88]
mov dword [edx + 0x20], eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx + 0x1c]
cmp dword [esi + 0x70], ecx
jg 0x49a1a0
push 0
push 0
push edx
mov edx, 0x43
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49a1d3
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x43
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 [esi + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x49a1fc
mov eax, 0x55011c
mov dword [eax + 8], edx
jmp 0x49a545
mov ecx, dword [esp + 0xc]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x49a545
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov dword [ecx + 0x1c], edx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x68], ecx
cmp dword [esi + 0x70], ecx
jg 0x49a251
push 0
push edx
push 0
mov edx, 0x46
mov ecx, esi
call fcn.0044d060
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x49a288
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
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 [esp + 0x68]
mov edx, dword [esp + 0x14]
inc eax
test byte [edx + 0x28], 8
mov dword [edx + 0x18], eax
jne 0x49a2f8
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x70], ecx
jg 0x49a2c1
push 0
push 0
push 0
mov edx, 0x11
mov ecx, esi
call fcn.0044d060
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x49a2f8
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
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 + 0x2c]
add eax, 8
mov dword [esp + 0x3c], eax
cmp eax, edx
jae 0x49a41b
nop dword [eax + eax]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x49a386
test byte [eax + 0x28], 0x10
jne 0x49a386
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x49a386
push dword [edx + 4]
push dword [eax + 4]
call fcn.0042fe20
add esp, 8
test eax, eax
jne 0x49a37e
mov eax, dword [esp + 0x14]
push dword [eax + 8]
push dword [esp + 0x10]
call fcn.0042fe20
add esp, 8
test eax, eax
jne 0x49a37e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x14]
cmp eax, dword [ecx + 0x14]
jne 0x49a37e
mov edx, dword [edx + 0x24]
push 0xffffffffffffffff
push dword [ecx + 0x24]
xor ecx, ecx
call fcn.0046b700
add esp, 8
test eax, eax
je 0x49a39a
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
add eax, 0x48
mov dword [esp + 0x3c], eax
cmp eax, edx
jb 0x49a310
jmp 0x49a41b
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x49a417
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x70], ecx
jg 0x49a3cd
push 0
push edx
push eax
mov edx, 0x6f
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49a400
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x6f
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 + 0x3c]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + 6]
mov word [ecx + 6], ax
mov edx, eax
jmp 0x49a480
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x80], 0xc
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
push dword [eax + 0x14]
push str.MATERIALIZE__u
push 1
push edi
call fcn.0044d350
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call fcn.00499b20
mov eax, dword [esp + 0x44]
add esp, 0x14
movzx edx, word [eax + 6]
cmp dword [esp + 0x20], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
mov word [eax + 0x2c], dx
je 0x49a4c0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x49a4a4
mov eax, 0x55011c
jmp 0x49a4bd
mov ecx, dword [esp + 0x20]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x6c]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x70], edx
jg 0x49a4e7
push 0
push 0
push eax
mov edx, 0x42
mov ecx, esi
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x49a51e
mov edi, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x42
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 + 0x68]
test ecx, ecx
jns 0x49a52a
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x49a539
mov eax, 0x55011c
jmp 0x49a542
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x38]
mov byte [edi + 0x13], 0
mov dword [edi + 0x1c], 0
cmp byte [eax + 0x51], 0
jne 0x49c537
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00463970
mov eax, dword [esp + 0x1c]
sub dword [edi + 0xd0], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [edi + 0xf0], eax
mov ecx, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [edx]
jl 0x499fc0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x68], eax
mov al, byte [ecx + 8]
and al, 1
mov dword [esp + 0x74], edx
mov byte [esp + 0x120], al
mov eax, dword [ecx + 8]
and al, 9
cmp al, 1
jne 0x49a60c
mov ecx, dword [esp + 0xd0]
push 0xffffffffffffffff
call fcn.0046bac0
add esp, 4
test eax, eax
jne 0x49a60c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
push 0
and dword [eax + 8], 0xfffffffe
call fcn.00464850
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [eax + 0x28], ecx
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x49a6d6
mov eax, dword [esp + 0x74]
mov ecx, edi
push dword [eax]
push 0
call fcn.00492a20
mov dword [esp + 0x28], eax
add esp, 8
mov eax, dword [edi + 0x28]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0xd0]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x74]
inc edx
mov ecx, dword [ecx]
add ecx, edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x70], edx
jg 0x49a682
push 0
push ecx
push eax
mov edx, 0x71
mov ecx, esi
call fcn.0044d060
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
jmp 0x49a6b9
mov edi, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x24]
mov ecx, esi
call fcn.0044dad0
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0xe4], eax
jmp 0x49a6e1
mov dword [esp + 0xe4], 0xffffffff
mov ecx, dword [esp + 0x64]
cmp byte [ecx], 0xc
jne 0x49a747
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x70], ecx
jg 0x49a714
push 0
push edx
push eax
mov edx, 0x71
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49a747
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x71
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 + 0x10]
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x7c], ecx
test dword [eax + 8], 0x4000
jne 0x49a767
mov edx, 0x140
mov word [eax + 6], dx
push ecx
mov edx, eax
mov ecx, edi
call fcn.00493f50
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [edx + 0xc], 0
jne 0x49a7ac
mov ecx, dword [esp + 0xe4]
test ecx, ecx
js 0x49a7ac
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x49a798
mov eax, 0x55011c
jmp 0x49a7a1
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov byte [eax], 0x72
or byte [esp + 0xf0], 1
test byte [edx + 8], 1
je 0x49a882
mov eax, dword [edi + 0x28]
mov ecx, edi
mov dword [esp + 0x124], eax
inc eax
mov dword [edi + 0x28], eax
mov edx, dword [edx]
push 0
push 0
call fcn.00492a20
mov edx, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x70], edx
jg 0x49a80b
push 0
push 0
push eax
mov edx, 0x71
mov ecx, esi
call fcn.0044d060
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
jmp 0x49a842
mov edi, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x2c]
mov ecx, esi
call fcn.0044dad0
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x128], eax
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x49a874
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x10]
mov byte [esp + 0x121], 3
jmp 0x49a88a
mov byte [esp + 0x121], 0
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x14]
jne 0x49ab8c
test ecx, ecx
jne 0x49ab8c
cmp byte [esp + 0x120], cl
mov eax, 0x100
mov dword [esp + 0xc], 0x4000
cmovne ecx, eax
mov ax, word [edx + 8]
and ax, word [esp + 0xc]
or cx, ax
movzx eax, cx
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x49a8e3
mov edx, eax
mov ecx, edi
call fcn.004b3590
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 6]
mov ecx, edi
push eax
push dword [esp + 0x10]
push dword [edx]
mov edx, dword [esp + 0x38]
push dword [esp + 0xdc]
push dword [esp + 0x58]
call fcn.004b01d0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x499e43
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 0x48]
cmp dx, word [eax + 6]
jge 0x49a927
mov word [eax + 6], dx
cmp byte [esp + 0x120], 0
je 0x49a94f
mov cl, byte [ecx + 0x33]
movzx edx, byte [esp + 0x121]
test cl, cl
movzx eax, cl
mov ecx, dword [esp + 0x44]
cmovne edx, eax
mov byte [esp + 0x121], dl
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x49a99c
movsx eax, byte [ecx + 0x2f]
mov dword [esp + 0xd4], eax
cmp byte [ecx + 0x34], 0
jne 0x49a970
mov eax, dword [ecx + 0x20]
jmp 0x49a980
movzx eax, byte [ecx + 0x2e]
lea eax, [eax + eax*4]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x2b0]
mov dword [esp + 0xec], eax
xor ecx, ecx
mov eax, dword [esp + 0xd4]
cmp eax, dword [edx]
cmove edx, ecx
mov dword [esp + 0xd0], edx
mov eax, dword [esp + 0xe4]
test eax, eax
js 0x49a9db
test edx, edx
jne 0x49a9db
mov ecx, dword [esi]
cmp byte [ecx + 0x51], dl
jne 0x49a9db
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
push dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx edx, byte [edi + 1]
call fcn.0044d880
mov word [edi], 0xaa
add esp, 4
mov dword [edi + 0x10], 0
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x10]
je 0x49ab54
mov eax, dword [edi + 0x38]
inc dword [edi + 0x2c]
lea ecx, [eax - 1]
sub eax, 2
mov dword [esp + 0x1c], eax
dec eax
push ecx
mov dword [esp + 0x24], eax
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.004b66f0
mov ecx, dword [esi + 0x6c]
add esp, 0xc
mov edx, dword [esp + 0x20]
cmp dword [esi + 0x70], ecx
jg 0x49aa3f
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49aa6e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 [esi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49aa8c
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x49aa95
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
push dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x124]
push dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 0xf4], 0
push dword [esp + 0x6c]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
call fcn.004916c0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49aaea
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x49aaf3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x28]
cmp dword [esi + 0x70], ecx
jg 0x49ab1c
push 0
push 0
push edx
mov edx, 0x42
mov ecx, esi
call fcn.0044d060
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x49c3f1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x42
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49c3f1
mov eax, dword [esp + 0x44]
mov ecx, edi
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [esp + 0x128]
push dword [esp + 0x6c]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
call fcn.004916c0
mov ecx, dword [esp + 0x5c]
add esp, 0x18
call fcn.004b0ed0
jmp 0x49c414
mov dword [esp + 0x5c], 0
mov dword [esp + 0x40], 0
test ecx, ecx
je 0x49abf7
mov ecx, dword [edx]
mov eax, dword [ecx]
test eax, eax
jle 0x49abc2
add ecx, 0x1a
nop dword [eax + eax]
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x49abb0
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
jle 0x49abe5
mov ecx, dword [esp + 0x14]
add ecx, 0x1a
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x49abd3
mov esi, dword [esp + 0x54]
cmp word [edx + 6], 0x42
mov ecx, dword [esp + 0x14]
jle 0x49abfd
mov eax, 0x42
jmp 0x49abf9
xor eax, eax
mov word [edx + 6], ax
mov edx, dword [esp + 0xd0]
push 0xffffffffffffffff
call fcn.0046bac0
add esp, 4
mov dword [esp + 0x9c], 0
test eax, eax
mov dword [esp + 0x80], edi
mov ecx, 1
mov eax, 0
cmove eax, ecx
mov dword [esp + 0x1c], ecx
dec dword [edi + 0x38]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x2c]
inc eax
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0xb0], eax
test ecx, ecx
je 0x49ac8d
mov eax, dword [ecx]
mov dword [esp + 0xac], eax
jmp 0x49ac98
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x74]
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x80]
call fcn.0046c1d0
mov edx, dword [esp + 0xd0]
lea ecx, [esp + 0x80]
call fcn.0046c1d0
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x49ad7c
cmp dword [esp + 0x14], 0
je 0x49ad29
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movlpd qword [esp + 0x10c], xmm0
movlpd qword [esp + 0x114], xmm0
mov dword [esp + 0x104], edi
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x108], 0x4999a0
mov dword [esp + 0x11c], eax
test edx, edx
je 0x49ad22
lea ecx, [esp + 0x104]
call fcn.00460670
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x108], 0x46bf30
mov edx, ecx
mov dword [esp + 0x10c], 0x46c1b0
lea ecx, [esp + 0x104]
mov dword [esp + 0x110], 0x46c1c0
mov dword [esp + 0x114], 0
mov dword [esp + 0x11c], eax
mov dword [esp + 0x104], 0
call fcn.00460670
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x28], 0
jne 0x49af0f
cmp dword [eax + 0x2c], 0
jne 0x49af0f
cmp edx, 1
jne 0x49af0f
mov eax, dword [esp + 0xc8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x70], ecx
test ecx, ecx
je 0x49aea6
cmp dword [ecx], edx
jne 0x49aea6
mov edx, dword [eax + 8]
mov eax, 0x520498
mov dword [esp + 0x20], eax
mov al, byte [edx]
mov byte [esp + 0x27], al
movzx eax, al
movzx ecx, byte [eax + 0x515a20]
movzx eax, byte [0x520498]
mov dword [esp + 0x44], ecx
movzx eax, byte [eax + 0x515a20]
sub ecx, eax
jne 0x49ae50
mov al, byte [esp + 0x27]
mov ecx, edx
sub ecx, 0x520498
mov dword [esp + 0x60], ecx
test al, al
je 0x49aeb1
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov al, byte [ecx + eax]
mov byte [esp + 0x6f], al
movzx eax, al
movzx ecx, byte [eax + 0x515a20]
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
movzx eax, byte [eax + 0x515a20]
sub ecx, eax
mov al, byte [esp + 0x6f]
mov ecx, dword [esp + 0x60]
je 0x49ae14
movzx eax, byte [0x52049c]
mov ecx, dword [esp + 0x44]
movzx eax, byte [eax + 0x515a20]
sub ecx, eax
jne 0x49ae9f
mov ecx, 0x52049c
sub ecx, edx
mov dword [esp + 0x60], ecx
cmp byte [esp + 0x27], 0
je 0x49aec0
mov al, byte [edx + 1]
inc edx
mov byte [esp + 0x27], al
movzx eax, byte [edx + ecx]
movzx ecx, byte [eax + 0x515a20]
movzx eax, byte [esp + 0x27]
movzx eax, byte [eax + 0x515a20]
sub eax, ecx
mov ecx, dword [esp + 0x60]
je 0x49ae71
mov edx, dword [esp + 0xcc]
xor eax, eax
movzx eax, ax
mov dword [esp + 0x28], eax
jmp 0x49af17
mov byte [esp + 0x27], 0
mov dword [esp + 0x28], 1
jmp 0x49aecd
mov byte [esp + 0x27], 1
mov dword [esp + 0x28], 2
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
push 0
mov dword [esp + 0x30], eax
call fcn.00464850
mov ecx, eax
add esp, 4
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x49aef8
mov al, byte [esp + 0x27]
mov byte [ecx + 0x10], al
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xcc]
movzx eax, ax
movzx eax, ax
mov dword [esp + 0x28], eax
jmp 0x49af17
mov dword [esp + 0x28], 0
test edx, edx
jle 0x49af89
mov ax, word [esp + 0x98]
xor edi, edi
xor esi, esi
nop word [eax + eax]
or ax, 8
lea ecx, [esp + 0x80]
mov word [esp + 0x98], ax
mov eax, dword [esp + 0xc8]
mov edx, dword [eax + edi]
mov edx, dword [edx + 0x14]
call fcn.0046c1d0
mov ax, word [esp + 0x98]
lea edi, [edi + 0x10]
mov ecx, 0xfff7
inc esi
and ax, cx
mov word [esp + 0x98], ax
cmp esi, dword [esp + 0xcc]
jl 0x49af30
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xcc]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x51], 0
jne 0x49c4b6
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x49be47
mov eax, dword [edi + 0x28]
mov edx, ecx
push dword [esp + 0xc0]
mov dword [esp + 0xa8], eax
mov ecx, edi
inc eax
push 0
mov dword [edi + 0x28], eax
call fcn.00492a20
mov ecx, dword [esi + 0x6c]
add esp, 8
mov edx, dword [esp + 0xac]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x70], ecx
jg 0x49b00b
push 0
push edx
push eax
mov edx, 0x72
mov ecx, esi
call fcn.0044d060
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x49b042
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x72
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 + 0x1c]
push 0xfffffffffffffff7
push dword [esp + 0x64]
mov edx, eax
mov ecx, esi
call fcn.0044dad0
mov eax, dword [edi + 0x2c]
add esp, 8
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x4c], eax
lea ecx, [eax + 2]
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x2c], ecx
mov dword [esp + 0x44], eax
dec eax
mov dword [edi + 0x38], eax
mov dword [esp + 0x58], ecx
add ecx, dword [edx]
mov dword [esp + 0x20], eax
mov dword [edi + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x70], eax
mov eax, dword [edx]
add eax, ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49b0b7
push 0
push dword [esp + 0x50]
mov edx, 0x46
mov ecx, esi
push 0
call fcn.0044d060
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x49b0ee
mov edi, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edx]
mov edx, dword [esp + 0x58]
mov ecx, dword [esi + 0x6c]
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x49b118
mov eax, dword [esp + 0x58]
mov ecx, esi
push edx
inc eax
mov edx, 0x49
push eax
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x49b150
mov edi, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49b173
push 0
push dword [esp + 0x24]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x60]
call fcn.0044d060
add esp, 0xc
jmp 0x49b1a6
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0xc], 0
mov ecx, 0x240
mov edx, dword [esp + 0x2c]
mov eax, 0x40
cmovne eax, ecx
mov ecx, edi
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x20]
push dword [esp + 0x58]
call fcn.004b01d0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x28], edx
test edx, edx
je 0x49c4b6
mov eax, dword [esp + 0x14]
movsx ecx, byte [edx + 0x2f]
cmp ecx, dword [eax]
jne 0x49b1fb
xor eax, eax
mov dword [esp + 0x48], eax
jmp 0x49b57f
cmp byte [esp + 0x120], 0
je 0x49b214
mov eax, dword [esp + 0x10]
test byte [eax + 8], 1
mov eax, str.DISTINCT
je 0x49b219
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.0044d350
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x48], 1
mov edx, dword [eax]
mov ecx, edx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], eax
test eax, eax
jle 0x49b28e
mov edi, dword [esp + 0xbc]
mov esi, edx
add edi, 0xc
nop dword [eax]
cmp dword [edi], edx
lea eax, [esi + 1]
lea edi, [edi + 0x18]
cmovl eax, esi
mov esi, eax
lea eax, [edx + 1]
cmovl eax, edx
sub dword [esp + 0x5c], 1
mov edx, eax
jne 0x49b260
mov edi, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
cmp ecx, 1
jne 0x49b2bb
mov al, byte [edi + 0x13]
test al, al
jne 0x49b2a6
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x49b2e1
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x2c], eax
jmp 0x49b2e1
mov edx, dword [edi + 0x20]
mov dword [esp + 0x2c], edx
cmp ecx, dword [edi + 0x1c]
jg 0x49b2d2
sub dword [edi + 0x1c], ecx
lea eax, [ecx + edx]
mov dword [edi + 0x20], eax
jmp 0x49b2e1
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x2c], edx
mov dword [edi + 0x2c], eax
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0
push 0
push dword [esp + 0x34]
call fcn.0046a840
add esp, 0xc
cmp dword [esp + 0xc0], 0
jle 0x49b356
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x5c], ecx
nop dword [eax]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x40]
add edx, ecx
cmp dword [edx + 0xc], eax
jl 0x49b341
add eax, dword [esp + 0x2c]
mov ecx, esi
push eax
push dword [edx + 8]
push dword [edx + 4]
mov edx, dword [edx]
call fcn.00468630
mov ecx, dword [esp + 0x68]
add esp, 0xc
inc dword [esp + 0x40]
inc edi
add ecx, 0x18
mov dword [esp + 0x5c], ecx
cmp edi, dword [esp + 0xc0]
jl 0x49b310
mov edi, dword [esp + 0x18]
mov al, byte [edi + 0x13]
test al, al
jne 0x49b365
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x49b374
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x40], eax
cmp dword [esi + 0x70], ecx
jg 0x49b39f
mov edx, dword [esp + 0x3c]
mov ecx, esi
push eax
push edx
push dword [esp + 0x34]
mov edx, 0x5c
call fcn.0044d060
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x49b3d2
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x70], ecx
jg 0x49b3fe
push 0
push edx
push eax
mov edx, 0x83
mov ecx, esi
call fcn.0044d060
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x49b431
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x83
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 0x49b449
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x49b449
movzx eax, al
mov dword [edi + eax*4 + 0x94], edx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x3c]
cmp eax, 1
jne 0x49b470
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x49b47f
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x49b47f
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x49b47f
cmp eax, dword [edi + 0x1c]
jle 0x49b47f
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x28]
call fcn.004b0ed0
mov edx, dword [edi + 0x28]
mov dword [esp + 0x5c], edx
mov dword [esp + 0xa8], edx
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x49b4ab
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x49b4ba
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x40], eax
cmp dword [esi + 0x70], ecx
jg 0x49b4e1
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
push eax
push dword [esp + 0x64]
mov edx, 0x74
call fcn.0044d060
add esp, 0xc
jmp 0x49b514
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0xa4]
cmp dword [esi + 0x70], ecx
jg 0x49b53b
push 0
push dword [esp + 0x34]
mov ecx, esi
push edx
mov edx, 0x22
call fcn.0044d060
add esp, 0xc
jmp 0x49b56e
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x22
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x28]
mov eax, 1
mov byte [esp + 0xa1], 1
cmp dword [esp + 0xc], 0
je 0x49b5dc
mov ecx, dword [esp + 0x38]
test byte [ecx + 0x4c], 4
jne 0x49b5dc
test eax, eax
jne 0x49b599
cmp byte [edx + 0x30], al
je 0x49b5dc
mov dword [esp + 0xd0], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
jne 0x49b5dc
mov eax, dword [esp + 0xe4]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
push dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx edx, byte [edi + 1]
call fcn.0044d880
mov word [edi], 0xaa
add esp, 4
mov dword [edi + 0x10], 0
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x48], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x3c], ecx
je 0x49b643
mov edx, dword [esp + 0xa4]
cmp dword [esi + 0x70], ecx
jg 0x49b610
push dword [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x44]
push edx
mov edx, 0x7e
call fcn.0044d060
add esp, 0xc
jmp 0x49b643
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x40], eax
mov edx, dword [ecx]
test edx, edx
jle 0x49b700
add ecx, 4
mov dword [esp + 0xc], ecx
nop
mov edx, dword [esp + 0x70]
add edx, eax
cmp dword [esp + 0x48], 0
mov dword [esp + 0x34], edx
je 0x49b6c5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49b690
push edx
push eax
push dword [esp + 0x64]
mov edx, 0x5a
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49b6da
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49b6da
mov byte [esp + 0xa0], 1
push edx
mov edx, dword [ecx]
mov ecx, edi
call fcn.0046a760
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
inc eax
add ecx, 0x18
mov dword [esp + 0x40], eax
mov edx, dword [edx]
mov dword [esp + 0xc], ecx
cmp eax, edx
jl 0x49b660
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x49b70c
inc dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x70], ecx
jg 0x49b734
mov eax, dword [esp + 0x58]
mov ecx, esi
push edx
push dword [esp + 0x74]
inc eax
mov edx, 0x57
push eax
call fcn.0044d060
add esp, 0xc
jmp 0x49b770
mov edi, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
push 0xfffffffffffffff7
push dword [esp + 0x64]
mov edx, eax
mov ecx, esi
call fcn.0044dad0
mov eax, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x60], eax
lea edx, [eax + 1]
cmp dword [esi + 0x70], eax
jg 0x49b7a6
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49b7d2
mov edi, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], edx
mov dword [eax + ecx*4], 0x10
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 ecx, dword [edi + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov edx, dword [ecx + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp dword [ecx + 0x70], edx
jg 0x49b805
push eax
mov eax, dword [esp + 0x5c]
mov edx, 0x4d
inc eax
push eax
push dword [esp + 0x78]
call fcn.0044d060
add esp, 0xc
jmp 0x49b841
mov esi, dword [esp + 0x54]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x70]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
inc edx
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49b866
mov eax, dword [esp + 0x4c]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, esi
push eax
call fcn.0044d060
add esp, 0xc
jmp 0x49b89e
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49b8c1
push 0
push dword [esp + 0x34]
mov edx, 0x2f
mov ecx, esi
push dword [esp + 0x54]
call fcn.0044d060
add esp, 0xc
jmp 0x49b8f4
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x2f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49b917
push 0
push dword [esp + 0x24]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x60]
call fcn.0044d060
add esp, 0xc
jmp 0x49b94a
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x49b95c
mov eax, 0x55011c
jmp 0x49b971
mov ecx, dword [esp + 0x60]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, edi
mov edx, dword [esp + 0x50]
lea eax, [esp + 0xa0]
push eax
call fcn.004995d0
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x49b9ab
push 0
push dword [esp + 0x54]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.0044d060
add esp, 0xc
jmp 0x49b9de
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
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 + 0x48], 0
je 0x49ba3d
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0xa4]
cmp dword [esi + 0x70], ecx
jg 0x49ba0c
push 0
push dword [esp + 0x40]
mov ecx, esi
push edx
mov edx, 3
call fcn.0044d060
add esp, 0xc
jmp 0x49ba7b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 3
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49ba77
mov ecx, dword [esp + 0x28]
call fcn.004b0ed0
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
jne 0x49ba7b
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
push dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx edx, byte [edi + 1]
call fcn.0044d880
add esp, 4
mov word [edi], 0xaa
mov dword [edi + 0x10], 0
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49baa0
mov eax, dword [esp + 0x4c]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, esi
push eax
call fcn.0044d060
add esp, 0xc
jmp 0x49bad8
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49baf9
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x49bb2c
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 [esi + 0x6c]
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x70], ecx
jg 0x49bb55
push 0
push dword [esp + 0x50]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.0044d060
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x49bb88
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
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 ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49bba9
push 0
lea eax, [edx + 1]
mov ecx, esi
push 0
push eax
mov edx, 0x42
call fcn.0044d060
add esp, 0xc
jmp 0x49bbe1
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x42
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 ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49bbff
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x49bc08
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x6c]
lea ecx, [eax + 1]
lea edx, [eax + 2]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x70], eax
jg 0x49bc32
push 0
push edx
push dword [esp + 0x58]
mov edx, 0x2f
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49bc62
mov edi, dword [esp + 0x50]
mov dword [esi + 0x6c], ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x2f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49bc85
mov eax, dword [esp + 0x4c]
mov edx, 0x42
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.0044d060
add esp, 0xc
jmp 0x49bcbd
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x42
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 + 0xa0]
mov ecx, edi
call fcn.004994f0
push 0x10
push dword [esp + 0x10]
push dword [esp + 0x70]
push edi
call fcn.0046b160
push dword [esp + 0x44]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x134]
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x7c]
push eax
lea eax, [esp + 0xf0]
push eax
push 0xffffffffffffffff
call fcn.004916c0
mov ecx, dword [esi + 0x6c]
add esp, 0x28
cmp dword [esi + 0x70], ecx
jg 0x49bd2a
mov eax, dword [esp + 0x4c]
mov edx, 0x42
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.0044d060
add esp, 0xc
jmp 0x49bd62
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x42
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 ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49bd80
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x49bd89
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00499380
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49bdb8
push 0
push dword [esp + 0x54]
mov edx, 0x46
mov ecx, esi
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x49bdeb
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
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 [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49be0f
push 0
push 0
push dword [esp + 0x60]
mov edx, 0x42
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49c3ed
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x42
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 0x49c3ed
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x49c1e2
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
cmp dword [ecx], 1
jne 0x49c1e2
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jne 0x49c1e2
cmp dword [ecx + 0x1c], 0
jne 0x49c1e2
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x50], ecx
cmp dword [ecx + 0x38], 0
jne 0x49c1e2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax], 0xa3
jne 0x49c1e2
test edx, edx
je 0x49c1e2
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x49c1e2
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x54]
test byte [eax + 4], 2
jne 0x49c1e2
mov ecx, dword [ecx + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x49befd
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x49befd
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x49bef1
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x28]
xor ecx, ecx
mov dword [esp + 0x44], eax
inc eax
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
mov ecx, edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x74]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 0x54]
mov ecx, edx
shl dword [esp + 0x1c], cl
test dword [esp + 0x1c], eax
jne 0x49bf54
mov ecx, dword [esp + 0x34]
bts eax, edx
mov dword [ecx + 0x54], eax
cmp edx, 1
jne 0x49bf54
call fcn.00479fd0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.00472090
mov eax, dword [esp + 0x5c]
add esp, 0xc
test byte [eax + 0x24], 0x20
je 0x49bf9a
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x49bf9c
nop
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x49bf90
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x49bf80
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
jmp 0x49bf9c
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x49bfd8
mov edi, dword [esp + 0x50]
test byte [eax + 0x38], 4
jne 0x49bfc9
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x2e]
jge 0x49bfc9
cmp dword [eax + 0x24], 0
jne 0x49bfc9
test ecx, ecx
je 0x49bfc7
cmp dx, word [ecx + 0x30]
jge 0x49bfc9
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x49bfa7
mov edi, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x49bff0
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.0047a960
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x70], ecx
jg 0x49c01e
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, 0x6c
call fcn.0044d060
add esp, 0xc
mov ecx, eax
jmp 0x49c055
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x49c070
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov edx, dword [esp + 0xc]
test edx, edx
je 0x49c0bc
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x49c090
push edx
mov edx, 0xfffffff7
call fcn.0044d880
add esp, 4
jmp 0x49c0bc
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x49c0b5
push 0xfffffffffffffff7
push edx
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.0044da00
add esp, 8
jmp 0x49c0bc
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xf7
mov eax, dword [esp + 0xc8]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x70], ecx
jg 0x49c0ee
push 0
push eax
push dword [esp + 0x4c]
mov edx, 0x5d
mov ecx, esi
call fcn.0044d060
mov edx, dword [esp + 0x50]
add esp, 0xc
jmp 0x49c125
mov edi, dword [esp + 0x34]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49c143
push 0
push 0
push edx
mov edx, 0x75
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49c176
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x75
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
cmp byte [edi + 0xc7], 2
jne 0x49c3b4
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
test ecx, ecx
je 0x49c1aa
test byte [edx + 0x24], 0x20
je 0x49c19e
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x49c1aa
mov eax, dword [ecx]
mov dword [esp + 0xc], 1
jmp 0x49c1b7
mov dword [esp + 0xc], 0
mov eax, 0x51274f
cmp dword [esp + 0xc], 0
mov ecx, 0x51274f
push eax
mov eax, str._USING_COVERING_INDEX
cmove eax, ecx
push eax
push dword [edx]
push str.SCAN_TABLE__s_s_s
push 0
push edi
call fcn.0044d350
add esp, 0x18
jmp 0x49c3b4
cmp dword [esp + 0xc4], 0
mov dword [esp + 0x1c], 0
je 0x49c28b
xor ecx, ecx
test edx, edx
jle 0x49c22b
mov edx, dword [esp + 0xc8]
mov edi, dword [esp + 0xcc]
add edx, 4
nop
mov eax, dword [edx]
test byte [eax + 4], 0x20
jne 0x49c220
inc ecx
add edx, 0x10
cmp ecx, edi
jl 0x49c210
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0xcc]
cmp ecx, edx
jne 0x49c28b
mov edx, dword [edi + 0x2c]
inc edx
mov dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x70], ecx
jg 0x49c258
push 0
push edx
push 0
mov edx, 0x46
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49c28b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x46
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
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00499380
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0
push dword [esp + 0x2c]
push 0
push dword [esp + 0x84]
push dword [esp + 0x58]
call fcn.004b01d0
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
je 0x49c4b6
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xa0]
push eax
mov ecx, edi
call fcn.004995d0
mov edx, dword [esp + 0x20]
add esp, 4
test edx, edx
je 0x49c335
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49c302
push 0
push edx
push 1
mov edx, 0x46
mov ecx, esi
call fcn.0044d060
add esp, 0xc
jmp 0x49c335
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
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 edx, dword [esp + 0xc]
cmp byte [edx + 0x2f], 0
jle 0x49c39f
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x70], ecx
jg 0x49c368
push 0
push eax
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0044d060
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x49c39f
mov edi, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edx
call fcn.004b0ed0
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.004994f0
push 0x10
push dword [esp + 0x34]
mov dword [esp + 0xd8], 0
push dword [esp + 0x70]
push edi
call fcn.0046b160
mov eax, dword [esp + 0x40]
mov ecx, edi
mov edx, dword [esp + 0x20]
push eax
push eax
push dword [esp + 0x7c]
push 0
push 0
push 0xffffffffffffffff
call fcn.004916c0
add esp, 0x28
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49c40b
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x49c414
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x121], 3
jne 0x49c433
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.0044d350
add esp, 0x10
cmp dword [esp + 0xd0], 0
je 0x49c483
cmp dword [esp + 0xd4], 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 edi
call fcn.0044d350
mov eax, dword [esp + 0x84]
mov ecx, edi
push dword [esp + 0x74]
mov edx, dword [esp + 0x24]
push dword [eax]
lea eax, [esp + 0xe8]
push eax
call fcn.00492aa0
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x7c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49c4a1
push edx
mov edx, esi
call fcn.0044d4c0
add esp, 4
jmp 0x49c4aa
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
xor eax, eax
cmp dword [edi + 0x24], eax
setg al
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
test eax, eax
je 0x499e47
mov edx, eax
mov ecx, esi
call fcn.00465470
jmp 0x499e47
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x49c4df
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x49c50d
mov eax, dword [esp + 0x7c]
mov ecx, 0x55011c
mov ecx, dword [ecx + 8]
mov dword [edi + 0xd4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x7c]
mov ecx, dword [ecx + 8]
mov dword [edi + 0xd4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
mov esi, eax
jmp 0x499e47
cmp ecx, dword [esi + 0x138]
jb 0x49c55e
cmp ecx, dword [esi + 0x13c]
jae 0x49c55e
mov eax, dword [esi + 0x134]
mov dword [ecx], eax
mov dword [esi + 0x134], ecx
jmp 0x49c567
push ecx
call fcn.0042c680
add esp, 4
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x49c5ba
cmp dword [esi + 0x1e8], 0
je 0x49c584
mov ecx, esi
call fcn.0042c6f0
jmp 0x49c5ba
mov edx, dword [esp + 0xc8]
cmp edx, dword [esi + 0x138]
jb 0x49c5ab
cmp edx, dword [esi + 0x13c]
jae 0x49c5ab
mov eax, dword [esi + 0x134]
mov dword [edx], eax
mov dword [esi + 0x134], edx
jmp 0x49c5ba
push dword [esp + 0xc8]
call fcn.0042c680
add esp, 4
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x49c5e4
xor eax, eax
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 8]
test ecx, ecx
jns 0x49c5ef
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x49c61d
mov eax, 0x55011c
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x68]
lea eax, [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret