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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 1
mov eax, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xa0], 0
mov esi, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x497b02
cmp dword [edi + 0x74], esi
jne 0x497aed
test byte [ecx + 0x4c], 8
jne 0x497aed
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.004569e0
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x49a10b
cmp byte [ecx + 0x51], 0
jne 0x49a10b
cmp dword [edi + 0x24], 0
jne 0x49a10b
push 0
push 0
push 0
mov edx, 0x15
mov ecx, edi
call fcn.00477a30
add esp, 0xc
test eax, eax
jne 0x49a10b
push 0x30
push eax
lea eax, [esp + 0xc8]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
mov eax, dword [esp + 0x10]
ja 0x497b79
mov edx, dword [eax + 0x30]
test edx, edx
je 0x497b6e
mov ecx, dword [esp + 0x3c]
call fcn.0046d5a0
mov eax, dword [esp + 0x10]
and dword [eax + 4], 0xfffffffe
mov dword [eax + 0x30], 0
push 0
mov edx, eax
mov ecx, edi
call fcn.00497220
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x49a082
cmp byte [eax + 0x51], 0
jne 0x49a082
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x497bb2
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.00492690
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004ae630
mov dword [esp + 0x14], eax
test eax, eax
jne 0x49a07e
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
xor ecx, ecx
movaps xmmword [esp + 0x100], xmm0
movq qword [esp + 0x110], xmm0
mov eax, dword [edx + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 4]
shr eax, 3
and eax, 1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0xf0], eax
mov eax, dword [edx + 0x34]
test eax, eax
jne 0x497d61
nop dword [eax]
mov esi, dword [esp + 0x34]
cmp ecx, dword [esi]
mov esi, dword [esp + 0x1c]
jge 0x497d59
mov esi, dword [esp + 0x34]
lea eax, [ecx + ecx*8]
test byte [esi + eax*8 + 0x2c], 8
lea eax, [esi + eax*8]
mov esi, dword [eax + 0x1c]
mov dword [esp + 0xc], esi
mov esi, dword [eax + 0x18]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
je 0x497c98
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
call fcn.00472d60
test eax, eax
je 0x497c90
mov eax, dword [esp + 0x3c]
mov ecx, 0x2000
test word [eax + 0x4c], cx
jne 0x497c90
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
and byte [edx + 0x2c], 0xd7
mov edx, dword [edx + 0x34]
mov ecx, dword [eax + 0x24]
call fcn.004904e0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x497d49
mov eax, dword [eax + 0x1c]
mov esi, dword [esp + 0x38]
mov edi, dword [eax]
movsx eax, word [esi + 0x2a]
mov esi, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x18]
jne 0x497d92
mov eax, dword [esp + 0xc]
test byte [eax + 4], 8
jne 0x497d49
cmp dword [eax + 0x30], 0
je 0x497cf1
test ecx, ecx
jne 0x497cf1
test dword [edx + 4], 0x40000
je 0x497cf1
mov eax, dword [esp + 0x34]
cmp dword [eax], 1
je 0x497d49
test byte [eax + 0x74], 0xa
jne 0x497d49
push dword [esp + 0x78]
push ecx
mov ecx, edi
call fcn.00495900
add esp, 8
test eax, eax
je 0x497d16
cmp dword [edi + 0x24], 0
jne 0x49a07e
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x51], 0
jne 0x49a082
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
cmp byte [eax], 8
jbe 0x497d49
mov eax, dword [edx + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0xf0], eax
mov eax, dword [edx + 0x34]
inc ecx
mov dword [esp + 0x54], ecx
test eax, eax
je 0x497c20
test eax, eax
je 0x497df3
push dword [ebp + 8]
mov ecx, edi
call fcn.004937f0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
jne 0x497deb
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x497db0
mov dword [edi + 0xd4], ecx
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push edi
call fcn.0043ae00
add esp, 0x14
jmp 0x49a07e
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x497dbb
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x497dd9
mov ecx, 0x503c44
mov eax, esi
mov ecx, dword [ecx + 8]
mov dword [edi + 0xd4], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov ecx, dword [ecx + 8]
mov dword [edi + 0xd4], ecx
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
cmp eax, 1
jle 0x497ef2
mov esi, dword [esp + 0x3c]
cmp word [esi + 0x4c], 0
mov esi, dword [esp + 0x1c]
jl 0x497ef2
mov dword [esp + 0x88], edi
jmp 0x497e24
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x88]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.00495f30
cmp dword [esp + 0x8c], 0
je 0x497ede
lea eax, [esp + 0x88]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], 0x496020
mov dword [esp + 0xac], fcn.00437170
mov edx, dword [eax + 0x24]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
test edx, edx
je 0x497ec5
lea ecx, [esp + 0xa4]
call fcn.004689f0
mov edx, dword [esp + 0x94]
test edx, edx
je 0x497ede
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx]
call fcn.00437a00
cmp dword [esp + 0x90], 0
jne 0x497e20
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
xor edx, edx
mov dword [esp + 0x48], edx
test eax, eax
jle 0x4982e8
lea eax, [edx*8 + 1]
add eax, edx
lea edi, [ecx + eax*8]
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
mov dword [esp + 0x70], edi
jne 0x497f41
mov eax, dword [edi + 8]
test eax, eax
je 0x497f41
push dword [edi + 4]
mov ecx, dword [esp + 0x1c]
mov edx, 0x14
push 0x4eb896
push eax
call fcn.00477a30
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x48]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x44], eax
test eax, eax
je 0x4982d7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.0046bbc0
mov ecx, dword [esp + 0x18]
mov edx, 0x1000
mov eax, dword [esp + 0xc]
add dword [ecx + 0xd0], eax
mov eax, dword [esp + 0x3c]
test word [eax + 0x4c], dx
jne 0x497fa7
movzx eax, byte [edi + 0x24]
mov edx, dword [esp + 0x44]
shr eax, 5
and eax, 1
push eax
mov eax, dword [esp + 0x14]
push dword [edi + 0x2c]
push dword [eax + 0x24]
call fcn.004960e0
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x48], 0
mov eax, dword [ecx + 0xf0]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 8]
mov dword [ecx + 0xf0], eax
jne 0x4980a5
mov eax, dword [esp + 0x34]
cmp dword [eax], 1
je 0x497fd8
test byte [eax + 0x74], 0xa
je 0x4980a5
mov eax, dword [ecx + 0x2c]
mov edx, 0xd
mov edi, dword [esi + 0x6c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0x70]
lea esi, [edi + 1]
push esi
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x20]
push 0
push eax
call fcn.00456c30
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov byte [esp + 0x88], 0xd
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [eax + 0x18], esi
mov esi, eax
mov dword [esp + 0x94], 0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x44]
push dword [eax + 0x10]
push str.CO_ROUTINE__u
push 1
push dword [esp + 0x24]
call fcn.00457120
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x28]
push eax
call fcn.00497aa0
mov ecx, dword [esi + 0x10]
add esp, 0x14
mov eax, dword [esp + 0x44]
mov ax, word [eax + 2]
mov word [ecx + 0x2e], ax
mov eax, dword [esp + 0x90]
or dword [esi + 0x28], 0x10
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00457280
mov edx, edi
mov ecx, esi
call fcn.00457640
jmp 0x498287
xor eax, eax
mov edx, 0x45
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push eax
push 0
mov dword [edi + 0x1c], eax
call fcn.00456d60
add esp, 8
mov dword [esp + 0x5c], eax
test byte [edi + 0x28], 8
lea ecx, [eax + 1]
mov dword [edi + 0x18], ecx
jne 0x4980e7
mov edx, 0x11
mov ecx, esi
call fcn.00456ca0
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x34]
add ecx, 8
mov dword [esp + 0x4c], ecx
cmp ecx, edi
jae 0x4981a8
nop word [eax + eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x70], eax
test eax, eax
je 0x498199
test byte [ecx + 0x28], 0x10
jne 0x498199
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x498199
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 0x48]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x68], edx
cmp edx, dword [eax + 0x48]
jne 0x498199
mov edx, dword [edi + 8]
test edx, edx
je 0x498199
mov ecx, dword [esp + 0x38]
call fcn.0043af30
test eax, eax
jne 0x498195
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x68], eax
jne 0x49815f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x498195
mov edx, dword [edi + 0x14]
push 0xffffffffffffffff
push dword [ecx + 0x24]
xor ecx, ecx
mov edx, dword [edx + 0x24]
call fcn.00472540
add esp, 8
test eax, eax
jne 0x498195
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov edx, dword [edi + 0x14]
push 0xffffffffffffffff
push dword [eax + 0x2c]
mov edx, dword [edx + 0x2c]
call fcn.00472540
add esp, 8
test eax, eax
je 0x4981de
mov ecx, dword [esp + 0x4c]
add ecx, 0x48
mov dword [esp + 0x4c], ecx
cmp ecx, edi
jb 0x498100
xor eax, eax
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4981e4
push dword [eax + 0x2c]
mov edx, 0x62
mov ecx, esi
push dword [edi + 0x2c]
call fcn.00456d60
mov eax, dword [esp + 0x54]
add esp, 8
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + 2]
mov word [ecx + 2], ax
mov ecx, eax
jmp 0x49824e
mov eax, dword [esp + 0x4c]
jmp 0x4981ae
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x88], 0xc
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
push dword [eax + 0x10]
push str.MATERIALIZE__u
push 1
push dword [esp + 0x24]
call fcn.00457120
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x28]
push eax
call fcn.00497aa0
mov eax, dword [esp + 0x58]
add esp, 0x14
movzx ecx, word [eax + 2]
mov eax, dword [edi + 0x10]
mov word [eax + 0x2e], cx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x498266
mov edx, eax
mov ecx, esi
call fcn.00457640
push dword [edi + 0x1c]
mov edx, 0x41
mov ecx, esi
call fcn.00456d00
mov edx, dword [esp + 0x60]
add esp, 4
mov ecx, esi
push eax
call fcn.004575c0
add esp, 4
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov byte [edi + 0x13], 0
mov dword [edi + 0x1c], 0
cmp byte [eax + 0x51], 0
jne 0x49a082
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.0046bbc0
mov eax, dword [esp + 0xc]
sub dword [edi + 0xd0], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov dword [edi + 0xf0], eax
jmp 0x4982db
mov edi, dword [esp + 0x18]
inc edx
mov dword [esp + 0x48], edx
cmp edx, dword [ecx]
jl 0x497f00
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x70], eax
mov al, byte [ecx + 4]
and al, 1
mov dword [esp + 0x54], edx
mov byte [esp + 0x63], al
mov byte [esp + 0x88], al
mov eax, dword [ecx + 4]
and al, 9
cmp al, 1
jne 0x498366
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004728d0
add esp, 4
test eax, eax
jne 0x498362
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
cmp dword [ecx + 0x44], eax
jne 0x498366
and dword [ecx + 4], 0xfffffffe
mov ecx, dword [esp + 0x3c]
push eax
call fcn.0046c9b0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], edx
or dword [eax + 4], 8
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4983b9
push dword [edx]
mov edx, eax
mov ecx, edi
push 0
call fcn.00491c00
mov edx, dword [edi + 0x28]
push 0xfffffffffffffff7
push eax
mov eax, dword [esp + 0x64]
lea ecx, [edx + 1]
mov dword [esp + 0x108], edx
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [eax]
push 0
mov ecx, dword [ecx]
inc ecx
add eax, ecx
mov ecx, esi
push eax
push edx
mov edx, 0x64
call fcn.00456ff0
add esp, 0x1c
mov dword [esp + 0x104], eax
jmp 0x4983c4
mov dword [esp + 0x104], 0xffffffff
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0xc
jne 0x4983e4
mov eax, dword [esp + 0x54]
mov edx, 0x64
push dword [eax]
push dword [ecx + 4]
mov ecx, esi
call fcn.00456d60
add esp, 8
mov eax, dword [esp + 0x10]
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x12c], ecx
test dword [eax + 4], 0x4000
jne 0x498407
mov edx, 0x140
mov word [eax + 2], dx
push ecx
mov edx, eax
mov ecx, edi
call fcn.00492f80
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [edx + 8], 0
jne 0x498443
mov eax, dword [esp + 0x104]
test eax, eax
js 0x498443
push 0x6f
mov edx, eax
mov ecx, esi
call fcn.00457580
mov edx, dword [esp + 0x14]
add esp, 4
or byte [esp + 0x110], 1
test byte [edx + 4], 1
je 0x4984ac
mov esi, dword [edi + 0x28]
push 0xfffffffffffffff7
push ecx
push 0
lea eax, [esi + 1]
mov dword [esp + 0x98], esi
mov dword [edi + 0x28], eax
mov ecx, edi
mov edx, dword [edx + 0x1c]
push 0
call fcn.00491c00
add esp, 0xc
mov edx, 0x64
push eax
push 0
push 0
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.00456ff0
mov dword [esp + 0xa4], eax
add esp, 0x14
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4984a4
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 al, 3
jmp 0x4984ae
xor al, al
cmp dword [esp + 0x78], 0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x89], al
mov dword [esp + 0x80], eax
jne 0x4986f6
test ecx, ecx
jne 0x4986f6
cmp byte [esp + 0x63], cl
mov eax, 0x100
mov dword [esp + 0xc], 0x4000
cmovne ecx, eax
mov ax, word [edx + 4]
and ax, word [esp + 0xc]
or cx, ax
movzx eax, cx
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x38], eax
test eax, eax
je 0x498510
mov ecx, edi
call fcn.004af030
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 2]
mov ecx, edi
push eax
push dword [esp + 0x10]
push dword [edx + 0x1c]
mov edx, dword [esp + 0x40]
push dword [esp + 0x2c]
push dword [esp + 0x6c]
call fcn.004abe00
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x49a07e
mov edx, dword [esp + 0x10]
movzx eax, word [ecx + 0x34]
cmp ax, word [edx + 2]
jge 0x498552
mov word [edx + 2], ax
cmp byte [esp + 0x63], 0
je 0x49858e
mov eax, dword [esp + 0x80]
mov cl, byte [ecx + 0x2f]
movzx eax, al
test cl, cl
mov dword [esp + 0x80], eax
movzx eax, cl
mov ecx, dword [esp + 0x80]
cmovne ecx, eax
mov dword [esp + 0x80], ecx
mov byte [esp + 0x89], cl
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x20], 0
je 0x4985de
test byte [ecx + 0x30], 4
movsx eax, byte [ecx + 0x2d]
mov dword [esp + 0xf4], eax
jne 0x4985ab
mov eax, dword [ecx + 0x1c]
jmp 0x4985b9
movzx eax, byte [ecx + 0x2c]
imul eax, eax, 0x58
mov eax, dword [eax + ecx + 0x2a8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xf4]
cmp eax, dword [ecx]
mov eax, 0
cmove ecx, eax
mov dword [esp + 0xf0], ecx
jmp 0x4985e2
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x104]
test eax, eax
js 0x4985fe
test ecx, ecx
jne 0x4985fe
mov edx, eax
mov ecx, esi
call fcn.004578c0
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
je 0x4986bf
mov eax, dword [edi + 0x38]
inc dword [edi + 0x2c]
mov ecx, dword [esp + 0x18]
lea esi, [eax - 1]
sub eax, 2
mov dword [esp + 0xc], eax
dec eax
mov dword [edi + 0x38], eax
mov edi, dword [edi + 0x2c]
push esi
push edi
push dword [esp + 0x50]
mov dword [esp + 0x20], eax
call fcn.004b1d90
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, 0xb
push dword [esp + 0x14]
push 0
call fcn.00456d60
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.00457370
push dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x94]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push esi
push dword [ebp + 8]
mov dword [esp + 0x120], 0
push eax
lea eax, [esp + 0x108]
push eax
push 0xffffffffffffffff
call fcn.00490f00
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.00457370
mov ecx, dword [esp + 0x3c]
mov edx, 0x41
push edi
call fcn.00456d00
add esp, 0x24
lea edx, [esi - 1]
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00457370
mov edi, dword [esp + 0x18]
jmp 0x499fc4
mov eax, dword [esp + 0x48]
mov ecx, edi
push dword [eax + 0x20]
push dword [eax + 0x1c]
lea eax, [esp + 0x90]
push dword [ebp + 8]
push eax
lea eax, [esp + 0x100]
push eax
push 0xffffffffffffffff
call fcn.00490f00
mov ecx, dword [esp + 0x60]
add esp, 0x18
call fcn.004ac950
jmp 0x499fc4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x4987c4
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x498734
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x498722
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
test eax, eax
jle 0x498757
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x498741
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
cmp word [edx + 2], 0x42
jle 0x498767
mov eax, 0x42
mov word [edx + 2], ax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4987ca
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4987ca
xor edx, edx
test eax, eax
jle 0x4987a4
mov esi, dword [esp + 0x20]
add ecx, 0xc
mov edi, dword [esp + 0x40]
sub esi, edi
mov al, byte [esi + ecx]
lea ecx, [ecx + 0x14]
and al, 1
inc edx
mov byte [ecx - 0x14], al
cmp edx, dword [edi]
jl 0x498788
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004728d0
mov ecx, dword [esp + 0x44]
add esp, 4
test eax, eax
jne 0x4987ca
mov dword [esp + 0x68], 1
jmp 0x4987ca
xor eax, eax
mov word [edx + 2], ax
dec dword [edi + 0x38]
xorps xmm0, xmm0
mov eax, dword [edi + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x134], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x138], eax
mov eax, dword [edi + 0x2c]
inc eax
movlpd qword [esp + 0x13c], xmm0
movlpd qword [esp + 0x144], xmm0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x130], edi
mov dword [esp + 0xd0], eax
test ecx, ecx
je 0x49882e
mov eax, dword [ecx]
mov dword [esp + 0xcc], eax
jmp 0x498839
mov dword [esp + 0xcc], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0x130]
call fcn.004731b0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x130]
call fcn.004731b0
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x49891a
cmp dword [esp + 0x40], 0
je 0x4988c7
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0xa4], edi
mov edx, dword [eax + 0x2c]
mov dword [esp + 0xa8], 0x497930
mov dword [esp + 0xbc], eax
test edx, edx
je 0x4988c0
lea ecx, [esp + 0xa4]
call fcn.004689f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x130]
mov dword [esp + 0xa8], 0x472f00
mov edx, ecx
mov dword [esp + 0xac], 0x473190
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb0], 0x4731a0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], 0
call fcn.004689f0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x28], 0
jne 0x498a11
cmp dword [eax + 0x2c], 0
jne 0x498a11
cmp ecx, 1
jne 0x498a11
mov eax, dword [esp + 0xe8]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x38], edx
test edx, edx
je 0x498a06
cmp dword [edx], ecx
jne 0x498a06
test dword [eax + 4], 0x1000000
jne 0x498a06
mov eax, dword [eax + 8]
mov edx, 0x4f06b8
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.0043af30
test eax, eax
jne 0x4989a3
mov byte [esp + 0x77], 2
mov dword [esp + 0xc], 1
jmp 0x4989c2
mov ecx, dword [esp + 0xc]
mov edx, 0x4f06ec
call fcn.0043af30
test eax, eax
jne 0x4989ff
mov byte [esp + 0x77], 1
mov dword [esp + 0xc], 2
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0
call fcn.0046c9b0
mov ecx, eax
add esp, 4
mov dword [esp + 0xa0], ecx
test ecx, ecx
je 0x4989e8
mov al, byte [esp + 0x77]
mov byte [ecx + 0xc], al
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xec]
movzx eax, ax
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x498a19
mov ecx, dword [esp + 0xec]
xor eax, eax
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x498a19
mov dword [esp + 0x38], 0
test ecx, ecx
jle 0x498af6
mov ecx, dword [esp + 0x148]
xor esi, esi
xor edi, edi
nop dword [eax]
mov eax, dword [esp + 0xe8]
or ecx, 0x20000
mov eax, dword [eax + esi]
mov dword [esp + 0x148], ecx
lea ecx, [esp + 0x130]
mov dword [esp + 0xc], eax
mov edx, dword [eax + 0x14]
call fcn.004731b0
mov eax, dword [esp + 0xc]
test dword [eax + 4], 0x1000000
je 0x498ac2
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xa8], 0x472f00
mov dword [esp + 0xac], 0x473190
mov dword [esp + 0xb0], 0x4731a0
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x130]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], 0
test edx, edx
je 0x498ac2
lea ecx, [esp + 0xa4]
call fcn.004689f0
mov ecx, dword [esp + 0x148]
inc edi
and ecx, 0xfffdffff
add esi, 0x10
mov dword [esp + 0x148], ecx
cmp edi, dword [esp + 0xec]
jl 0x498a30
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xec]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x51], 0
jne 0x49a06a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4999dc
mov eax, dword [edi + 0x28]
mov ecx, edi
push dword [esp + 0xe0]
mov dword [esp + 0xc8], eax
inc eax
push 0
mov dword [edi + 0x28], eax
call fcn.00491c00
mov ecx, dword [esi + 0x6c]
add esp, 8
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x70], ecx
jg 0x498b76
push 0
push edx
push eax
mov edx, 0x6f
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x498bad
mov edi, dword [esp + 0x38]
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 + 0xc]
push 0xfffffffffffffff7
push dword [esp + 0x7c]
mov edx, eax
mov ecx, esi
call fcn.004579e0
mov eax, dword [edi + 0x2c]
add esp, 8
mov edx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x64], eax
inc eax
mov dword [esp + 0x50], eax
lea ecx, [eax + 2]
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x2c], ecx
mov dword [esp + 0x6c], eax
dec eax
mov dword [edi + 0x38], eax
mov dword [esp + 0x20], ecx
add ecx, dword [edx]
mov dword [esp + 0x48], eax
mov dword [edi + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x84], eax
mov eax, dword [edx]
add eax, ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x498c25
push 0
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, esi
push 0
call fcn.00456bf0
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x498c5c
mov edi, 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 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x45
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 + 0x20]
mov ecx, dword [esi + 0x6c]
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x498c86
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
inc eax
mov edx, 0x48
push eax
push 0
call fcn.00456bf0
add esp, 0xc
jmp 0x498cbe
mov edi, dword [esp + 0x20]
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 + 0x1c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x48
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 0x498ce1
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.00456bf0
add esp, 0xc
jmp 0x498d14
mov edx, dword [esp + 0x20]
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 + 0x48]
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 + 0x68], 0
mov ecx, 0x240
mov edx, dword [esp + 0x34]
mov eax, 0x40
cmovne eax, ecx
mov ecx, edi
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x4c]
push dword [esp + 0x6c]
call fcn.004abe00
mov edx, eax
add esp, 0x14
mov dword [esp + 0x38], edx
test edx, edx
je 0x49a066
mov eax, dword [esp + 0x40]
movsx ecx, byte [edx + 0x2d]
cmp ecx, dword [eax]
jne 0x498d69
xor eax, eax
mov dword [esp + 0x5c], eax
jmp 0x4990f7
cmp byte [esp + 0x63], 0
je 0x498d7f
mov eax, dword [esp + 0x10]
test byte [eax + 4], 1
mov eax, str.DISTINCT
je 0x498d84
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.00457120
mov eax, dword [esp + 0x50]
add esp, 0x10
mov dword [esp + 0x5c], 1
mov edx, dword [eax]
mov ecx, edx
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], eax
test eax, eax
jle 0x498df6
mov edi, dword [esp + 0xdc]
mov esi, edx
add edi, 0xc
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 + 0x14], 1
mov edx, eax
jne 0x498dc8
mov edi, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
cmp ecx, 1
jne 0x498e23
mov al, byte [edi + 0x13]
test al, al
jne 0x498e0e
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x34], eax
jmp 0x498e4e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x34], eax
jmp 0x498e4e
mov edx, dword [edi + 0x20]
mov dword [esp + 0x34], edx
cmp ecx, dword [edi + 0x1c]
jg 0x498e3f
lea eax, [ecx + edx]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
sub eax, ecx
mov dword [edi + 0x1c], eax
jmp 0x498e4e
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x34], edx
mov dword [edi + 0x2c], eax
mov edx, dword [esp + 0x40]
mov ecx, edi
push 0
push 0
push dword [esp + 0x3c]
call fcn.004719e0
add esp, 0xc
cmp dword [esp + 0xe0], 0
jle 0x498ecb
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x58]
add edx, ecx
cmp dword [edx + 0xc], eax
jl 0x498eb6
add eax, dword [esp + 0x34]
mov ecx, esi
push eax
push dword [edx + 8]
push dword [edx + 4]
mov edx, dword [edx]
call fcn.004702b0
mov eax, dword [esp + 0x64]
add esp, 0xc
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x58], eax
inc edi
add ecx, 0x18
mov dword [esp + 0x14], ecx
cmp edi, dword [esp + 0xe0]
jl 0x498e80
mov edi, dword [esp + 0x18]
mov al, byte [edi + 0x13]
test al, al
jne 0x498eda
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x498ee9
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 + 0x58], eax
cmp dword [esi + 0x70], ecx
jg 0x498f14
mov edx, dword [esp + 0x44]
mov ecx, esi
push eax
push edx
push dword [esp + 0x3c]
mov edx, 0x5b
call fcn.00456bf0
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x498f47
mov edx, 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 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x498f73
push 0
push edx
push eax
mov edx, 0x82
mov ecx, esi
call fcn.00456bf0
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x498fa6
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x82
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 0x498fbe
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x498fbe
movzx eax, al
mov dword [edi + eax*4 + 0x94], edx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x498fe5
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x498ff4
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x498ff4
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x498ff4
cmp eax, dword [edi + 0x1c]
jle 0x498ff4
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x38]
call fcn.004ac950
mov edx, dword [edi + 0x28]
mov dword [esp + 0x7c], edx
mov dword [esp + 0xc8], edx
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x499020
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x49902f
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 + 0x58], eax
cmp dword [esi + 0x70], ecx
jg 0x499059
mov edx, dword [esp + 0x44]
mov ecx, esi
push edx
push eax
push dword [esp + 0x84]
mov edx, 0x72
call fcn.00456bf0
add esp, 0xc
jmp 0x49908c
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 + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x72
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x4990b3
push 0
push dword [esp + 0x50]
mov ecx, esi
push edx
mov edx, 0x23
call fcn.00456bf0
add esp, 0xc
jmp 0x4990e6
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 + 0x4c]
mov dword [eax + ecx*4], 0x23
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 + 0x38]
mov eax, 1
mov byte [esp + 0xc1], 1
cmp dword [esp + 0x68], 0
je 0x499155
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x4c], 4
jne 0x499155
test eax, eax
jne 0x499112
test byte [edx + 0x30], 8
je 0x499155
mov ecx, dword [esi]
mov dword [esp + 0xf0], 0
cmp byte [ecx + 0x51], 0
jne 0x499155
mov eax, dword [esp + 0x104]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00457770
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x5c], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x44], ecx
je 0x4991bc
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x499189
push dword [esp + 0x7c]
mov ecx, esi
push dword [esp + 0x5c]
push edx
mov edx, 0x7d
call fcn.00456bf0
add esp, 0xc
jmp 0x4991bc
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 + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0x7d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x68], eax
mov edx, dword [ecx]
test edx, edx
jle 0x499286
add ecx, 4
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov edx, dword [esp + 0x84]
add edx, eax
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x58], edx
je 0x49924b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x499216
push edx
push eax
push dword [esp + 0x84]
mov edx, 0x59
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x499260
mov edx, dword [esp + 0x7c]
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 + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x499260
mov byte [esp + 0xc0], 1
push edx
mov edx, dword [ecx]
mov ecx, edi
call fcn.00471990
add esp, 4
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 0x14
mov dword [esp + 0x68], eax
mov edx, dword [edx]
mov dword [esp + 0x14], ecx
cmp eax, edx
jl 0x4991e0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x499292
inc dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], ecx
jg 0x4992bd
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
push dword [esp + 0x88]
inc eax
mov edx, 0x56
push eax
call fcn.00456bf0
add esp, 0xc
jmp 0x4992fc
mov edi, dword [esp + 0x20]
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 + 0x1c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
push 0xfffffffffffffff7
push dword [esp + 0x7c]
mov edx, eax
mov ecx, esi
call fcn.004579e0
mov eax, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x68], eax
lea edx, [eax + 1]
cmp dword [esi + 0x70], eax
jg 0x499332
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x49935e
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 + 0x40]
mov dword [esp + 0x14], ecx
mov edx, dword [ecx + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
cmp dword [ecx + 0x70], edx
jg 0x499394
push eax
mov eax, dword [esp + 0x24]
mov edx, 0x4c
inc eax
push eax
push dword [esp + 0x8c]
call fcn.00456bf0
add esp, 0xc
jmp 0x4993d3
mov esi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
inc edx
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x78]
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 0x4993f8
mov eax, dword [esp + 0x50]
mov edx, 0xc
push 0
push dword [esp + 0x70]
inc eax
mov ecx, esi
push eax
call fcn.00456bf0
add esp, 0xc
jmp 0x499430
mov edx, dword [esp + 0x50]
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 + 0x6c]
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 0x499453
push 0
push dword [esp + 0x50]
mov edx, 0x30
mov ecx, esi
push dword [esp + 0x58]
call fcn.00456bf0
add esp, 0xc
jmp 0x499486
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 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x30
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 0x4994a9
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.00456bf0
add esp, 0xc
jmp 0x4994dc
mov edx, dword [esp + 0x20]
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 + 0x48]
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 0x4994ee
mov eax, 0x503c44
jmp 0x499503
mov ecx, dword [esp + 0x68]
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 + 0x64]
lea eax, [esp + 0xc0]
push eax
call fcn.004974b0
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x49953d
push 0
push dword [esp + 0x68]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.00456bf0
add esp, 0xc
jmp 0x499570
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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 + 0x5c], 0
je 0x4995d3
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x49959e
push 0
push dword [esp + 0x48]
mov ecx, esi
push edx
mov edx, 3
call fcn.00456bf0
add esp, 0xc
jmp 0x499611
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 + 0x44]
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 0x499611
mov ecx, dword [esp + 0x38]
call fcn.004ac950
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
jne 0x499611
mov eax, dword [esp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00457770
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x499636
mov eax, dword [esp + 0x50]
mov edx, 0xc
push 0
push dword [esp + 0x70]
inc eax
mov ecx, esi
push eax
call fcn.00456bf0
add esp, 0xc
jmp 0x49966e
mov edx, dword [esp + 0x50]
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 + 0x6c]
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 0x49968f
push 0
push dword [esp + 0x50]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00456bf0
add esp, 0xc
jmp 0x4996c2
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], 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 + 0xc], ecx
cmp dword [esi + 0x70], ecx
jg 0x4996eb
push 0
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.00456bf0
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x49971e
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], 0x45
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 0x49973f
push 0
lea eax, [edx + 1]
mov ecx, esi
push 0
push eax
mov edx, 0x41
call fcn.00456bf0
add esp, 0xc
jmp 0x499777
mov edx, dword [esp + 0x50]
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], 0x41
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 + 0x6c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x499795
push edx
mov edx, esi
call fcn.004572f0
add esp, 4
jmp 0x49979e
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 + 0x14], ecx
cmp dword [esi + 0x70], eax
jg 0x4997c8
push 0
push edx
push dword [esp + 0x6c]
mov edx, 0x30
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x4997f8
mov edi, dword [esp + 0x64]
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], 0x30
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 0x49981b
mov eax, dword [esp + 0x50]
mov edx, 0x41
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.00456bf0
add esp, 0xc
jmp 0x499853
mov edx, dword [esp + 0x50]
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], 0x41
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 + 0xc0]
mov ecx, edi
call fcn.004973e0
push 0x10
push dword [esp + 0x18]
push dword [esp + 0x78]
push edi
call fcn.00472100
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x9c]
push dword [esp + 0x28]
mov ecx, edi
push dword [ebp + 8]
push eax
lea eax, [esp + 0x110]
push eax
push 0xffffffffffffffff
call fcn.00490f00
mov ecx, dword [esi + 0x6c]
add esp, 0x28
cmp dword [esi + 0x70], ecx
jg 0x4998bf
mov eax, dword [esp + 0x50]
mov edx, 0x41
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.00456bf0
add esp, 0xc
jmp 0x4998f7
mov edx, dword [esp + 0x50]
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], 0x41
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 + 0x48]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x499915
push edx
mov edx, esi
call fcn.004572f0
add esp, 4
jmp 0x49991e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.004972f0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49994d
push 0
push dword [esp + 0x68]
mov edx, 0x45
mov ecx, esi
push 0
call fcn.00456bf0
add esp, 0xc
jmp 0x499980
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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 0x4999a4
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x41
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x499f9d
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x41
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 0x499f9d
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x499d8b
mov edx, dword [eax + 0x1c]
mov dword [esp + 0xc], edx
cmp dword [edx], 1
jne 0x499d8b
mov edx, dword [eax + 0x20]
cmp dword [edx], 1
jne 0x499d8b
cmp dword [edx + 0x1c], 0
jne 0x499d8b
mov edx, dword [edx + 0x18]
mov dword [esp + 0x64], edx
cmp dword [edx + 0x38], 0
jne 0x499d8b
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax], 0xa5
jne 0x499d8b
test ecx, ecx
je 0x499d8b
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x499d8b
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x1c]
test dword [eax + 4], 0x1000002
jne 0x499d8b
mov ecx, dword [edx + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x499a9c
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x499a9c
nop word [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x499a90
mov dword [esp + 0x48], edx
mov eax, dword [edi + 0x28]
xor ecx, ecx
mov dword [esp + 0x6c], eax
inc eax
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
mov ecx, edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x74]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [ecx + 0x54]
mov ecx, edx
mov dword [esp + 0x14], eax
mov eax, 1
shl eax, cl
test dword [esp + 0x14], eax
jne 0x499afe
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
bts eax, edx
mov dword [ecx + 0x54], eax
cmp edx, 1
jne 0x499afe
call fcn.0047deb0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.00477ac0
mov eax, dword [esp + 0x70]
add esp, 0xc
test byte [eax + 0x24], 0x80
je 0x499b42
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x499b44
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x499b38
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x499b28
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
jmp 0x499b44
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x499b81
mov esi, dword [esp + 0x64]
nop
test byte [eax + 0x38], 4
jne 0x499b72
movzx edx, word [eax + 0x30]
cmp dx, word [esi + 0x30]
jge 0x499b72
cmp dword [eax + 0x24], 0
jne 0x499b72
test ecx, ecx
je 0x499b70
cmp dx, word [ecx + 0x30]
jge 0x499b72
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x499b50
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x499b99
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.0047e660
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], ecx
jg 0x499bc7
mov edx, dword [esp + 0x48]
mov ecx, esi
push edx
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x74]
push edx
mov edx, 0x60
call fcn.00456bf0
add esp, 0xc
mov ecx, eax
jmp 0x499bfe
mov edx, dword [esp + 0x6c]
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 + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x499c19
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 + 0x38]
test edx, edx
je 0x499c65
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x499c39
push edx
mov edx, 0xfffffff7
call fcn.00457770
add esp, 4
jmp 0x499c65
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 0x499c5e
push 0xfffffffffffffff7
push edx
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.00457910
add esp, 8
jmp 0x499c65
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xf7
mov eax, dword [esp + 0xe8]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x499c97
push 0
push eax
push dword [esp + 0x74]
mov edx, 0x5c
mov ecx, esi
call fcn.00456bf0
mov edx, dword [esp + 0x78]
add esp, 0xc
jmp 0x499cce
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x6c]
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], 0x5c
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 0x499cec
push 0
push 0
push edx
mov edx, 0x74
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x499d1f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x74
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 0x499f65
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
test ecx, ecx
je 0x499d53
test byte [edx + 0x24], 0x80
je 0x499d47
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x499d53
mov eax, dword [ecx]
mov dword [esp + 0x14], 1
jmp 0x499d60
mov dword [esp + 0x14], 0
mov eax, 0x4eb896
cmp dword [esp + 0x14], 0
mov ecx, 0x4eb896
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.00457120
add esp, 0x18
jmp 0x499f65
cmp dword [esp + 0xe4], 0
mov dword [esp + 0xc], 0
je 0x499e3c
xor edx, edx
test ecx, ecx
jle 0x499ddc
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov eax, dword [ecx]
test dword [eax + 4], 0x1000000
jne 0x499dc9
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
jne 0x499dd1
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x499db5
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xec]
cmp edx, ecx
jne 0x499e3c
mov edx, dword [edi + 0x2c]
inc edx
mov dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xc], edx
cmp dword [esi + 0x70], ecx
jg 0x499e09
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x499e3c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x45
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 + 0xc0]
mov ecx, edi
call fcn.004972f0
mov edx, dword [esp + 0x34]
mov ecx, edi
push 0
push dword [esp + 0x3c]
push 0
push dword [esp + 0xac]
push dword [esp + 0x6c]
call fcn.004abe00
add esp, 0x14
mov dword [esp + 0x38], eax
test eax, eax
je 0x49a066
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc0]
push eax
mov ecx, edi
call fcn.004974b0
mov edx, dword [esp + 0x10]
add esp, 4
test edx, edx
je 0x499ee6
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x499eb3
push 0
push edx
push 1
mov edx, 0x45
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x499ee6
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], 0x45
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 + 0x38]
cmp byte [edx + 0x2d], 0
jle 0x499f50
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x499f19
push 0
push eax
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00456bf0
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x499f50
mov edi, dword [esp + 0x14]
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.004ac950
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.004973e0
push 0x10
push dword [esp + 0x50]
mov dword [esp + 0xf8], 0
push dword [esp + 0x78]
push edi
call fcn.00472100
mov eax, dword [esp + 0x5c]
mov ecx, edi
mov edx, dword [esp + 0x20]
push eax
push eax
push dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
call fcn.00490f00
add esp, 0x28
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x499fbb
push edx
mov edx, esi
call fcn.004572f0
add esp, 4
jmp 0x499fc4
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x80]
cmp al, 3
jne 0x499fe4
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.00457120
add esp, 0x10
cmp dword [esp + 0xf0], 0
je 0x49a030
cmp dword [esp + 0xf4], 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.00457120
mov eax, dword [esp + 0x64]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [esp + 0x24]
push dword [eax]
lea eax, [esp + 0x108]
push eax
call fcn.00491cc0
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x12c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49a051
push edx
mov edx, esi
call fcn.004572f0
add esp, 4
jmp 0x49a05a
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 + 0x14], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x49a082
mov edx, ecx
mov ecx, eax
call fcn.0046d5a0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xdc]
test edx, edx
je 0x49a094
mov ecx, eax
call fcn.00437a00
mov edx, dword [esp + 0xe8]
test edx, edx
je 0x49a0a8
mov ecx, dword [esp + 0x3c]
call fcn.00437a00
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x49a0c4
xor eax, eax
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x49a0cf
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x49a0ef
mov eax, 0x503c44
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret