Function at 0x4f0ca0
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 0x4f0d02
cmp dword [edi + 0x74], esi
jne 0x4f0ced
test byte [ecx + 0x4c], 8
jne 0x4f0ced
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.004af7c0
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x4f330b
cmp byte [ecx + 0x51], 0
jne 0x4f330b
cmp dword [edi + 0x24], 0
jne 0x4f330b
push 0
push 0
push 0
mov edx, 0x15
mov ecx, edi
call fcn.004d0ae0
add esp, 0xc
test eax, eax
jne 0x4f330b
push 0x30
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.0054d380
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
mov eax, dword [esp + 0x10]
ja 0x4f0d79
mov edx, dword [eax + 0x30]
test edx, edx
je 0x4f0d6e
mov ecx, dword [esp + 0x3c]
call fcn.004c6400
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.004f0420
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x4f3282
cmp byte [eax + 0x51], 0
jne 0x4f3282
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x4f0db2
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004eb880
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.00507830
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4f327e
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 0x4f0f61
nop dword [eax]
mov esi, dword [esp + 0x34]
cmp ecx, dword [esi]
mov esi, dword [esp + 0x1c]
jge 0x4f0f59
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 0x4f0e98
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
call fcn.004cbbc0
test eax, eax
je 0x4f0e90
mov eax, dword [esp + 0x3c]
mov ecx, 0x2000
test word [eax + 0x4c], cx
jne 0x4f0e90
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.004e96d0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4f0f49
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 0x4f0f92
mov eax, dword [esp + 0xc]
test byte [eax + 4], 8
jne 0x4f0f49
cmp dword [eax + 0x30], 0
je 0x4f0ef1
test ecx, ecx
jne 0x4f0ef1
test dword [edx + 4], 0x40000
je 0x4f0ef1
mov eax, dword [esp + 0x34]
cmp dword [eax], 1
je 0x4f0f49
test byte [eax + 0x74], 0xa
jne 0x4f0f49
push dword [esp + 0x78]
push ecx
mov ecx, edi
call fcn.004eeb00
add esp, 8
test eax, eax
je 0x4f0f16
cmp dword [edi + 0x24], 0
jne 0x4f327e
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 0x4f3282
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
cmp byte [eax], 8
jbe 0x4f0f49
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 0x4f0e20
test eax, eax
je 0x4f0ff3
push dword [ebp + 8]
mov ecx, edi
call fcn.004ec9e0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
jne 0x4f0feb
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x4f0fb0
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.00493be0
add esp, 0x14
jmp 0x4f327e
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x4f0fbb
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4f0fd9
mov ecx, 0x5c66d4
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 0x4f10f2
mov esi, dword [esp + 0x3c]
cmp word [esi + 0x4c], 0
mov esi, dword [esp + 0x1c]
jl 0x4f10f2
mov dword [esp + 0x88], edi
jmp 0x4f1024
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.004ef130
cmp dword [esp + 0x8c], 0
je 0x4f10de
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], 0x4ef220
mov dword [esp + 0xac], fcn.00463890
mov edx, dword [eax + 0x24]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
test edx, edx
je 0x4f10c5
lea ecx, [esp + 0xa4]
call fcn.004c1850
mov edx, dword [esp + 0x94]
test edx, edx
je 0x4f10de
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx]
call fcn.004907f0
cmp dword [esp + 0x90], 0
jne 0x4f1020
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
xor edx, edx
mov dword [esp + 0x48], edx
test eax, eax
jle 0x4f14e8
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 0x4f1141
mov eax, dword [edi + 8]
test eax, eax
je 0x4f1141
push dword [edi + 4]
mov ecx, dword [esp + 0x1c]
mov edx, 0x14
push 0x59f156
push eax
call fcn.004d0ae0
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 0x4f14d7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004c4a20
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 0x4f11a7
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.004ef2e0
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 0x4f12a5
mov eax, dword [esp + 0x34]
cmp dword [eax], 1
je 0x4f11d8
test byte [eax + 0x74], 0xa
je 0x4f12a5
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.004afa10
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.004aff00
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x28]
push eax
call fcn.004f0ca0
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.004b0060
mov edx, edi
mov ecx, esi
call fcn.004b0420
jmp 0x4f1487
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.004afb40
add esp, 8
mov dword [esp + 0x5c], eax
test byte [edi + 0x28], 8
lea ecx, [eax + 1]
mov dword [edi + 0x18], ecx
jne 0x4f12e7
mov edx, 0x11
mov ecx, esi
call fcn.004afa80
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x34]
add ecx, 8
mov dword [esp + 0x4c], ecx
cmp ecx, edi
jae 0x4f13a8
nop word [eax + eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x70], eax
test eax, eax
je 0x4f1399
test byte [ecx + 0x28], 0x10
jne 0x4f1399
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4f1399
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 0x4f1399
mov edx, dword [edi + 8]
test edx, edx
je 0x4f1399
mov ecx, dword [esp + 0x38]
call fcn.00493d10
test eax, eax
jne 0x4f1395
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x68], eax
jne 0x4f135f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x4f1395
mov edx, dword [edi + 0x14]
push 0xffffffffffffffff
push dword [ecx + 0x24]
xor ecx, ecx
mov edx, dword [edx + 0x24]
call fcn.004cb3a0
add esp, 8
test eax, eax
jne 0x4f1395
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.004cb3a0
add esp, 8
test eax, eax
je 0x4f13de
mov ecx, dword [esp + 0x4c]
add ecx, 0x48
mov dword [esp + 0x4c], ecx
cmp ecx, edi
jb 0x4f1300
xor eax, eax
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4f13e4
push dword [eax + 0x2c]
mov edx, 0x62
mov ecx, esi
push dword [edi + 0x2c]
call fcn.004afb40
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 0x4f144e
mov eax, dword [esp + 0x4c]
jmp 0x4f13ae
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.004aff00
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x28]
push eax
call fcn.004f0ca0
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 0x4f1466
mov edx, eax
mov ecx, esi
call fcn.004b0420
push dword [edi + 0x1c]
mov edx, 0x41
mov ecx, esi
call fcn.004afae0
mov edx, dword [esp + 0x60]
add esp, 4
mov ecx, esi
push eax
call fcn.004b03a0
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 0x4f3282
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004c4a20
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 0x4f14db
mov edi, dword [esp + 0x18]
inc edx
mov dword [esp + 0x48], edx
cmp edx, dword [ecx]
jl 0x4f1100
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 0x4f1566
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004cb730
add esp, 4
test eax, eax
jne 0x4f1562
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
cmp dword [ecx + 0x44], eax
jne 0x4f1566
and dword [ecx + 4], 0xfffffffe
mov ecx, dword [esp + 0x3c]
push eax
call fcn.004c5810
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 0x4f15b9
push dword [edx]
mov edx, eax
mov ecx, edi
push 0
call fcn.004eadf0
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.004afdd0
add esp, 0x1c
mov dword [esp + 0x104], eax
jmp 0x4f15c4
mov dword [esp + 0x104], 0xffffffff
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0xc
jne 0x4f15e4
mov eax, dword [esp + 0x54]
mov edx, 0x64
push dword [eax]
push dword [ecx + 4]
mov ecx, esi
call fcn.004afb40
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 0x4f1607
mov edx, 0x140
mov word [eax + 2], dx
push ecx
mov edx, eax
mov ecx, edi
call fcn.004ec170
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [edx + 8], 0
jne 0x4f1643
mov eax, dword [esp + 0x104]
test eax, eax
js 0x4f1643
push 0x6f
mov edx, eax
mov ecx, esi
call fcn.004b0360
mov edx, dword [esp + 0x14]
add esp, 4
or byte [esp + 0x110], 1
test byte [edx + 4], 1
je 0x4f16ac
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.004eadf0
add esp, 0xc
mov edx, 0x64
push eax
push 0
push 0
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.004afdd0
mov dword [esp + 0xa4], eax
add esp, 0x14
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4f16a4
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 0x4f16ae
xor al, al
cmp dword [esp + 0x78], 0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x89], al
mov dword [esp + 0x80], eax
jne 0x4f18f6
test ecx, ecx
jne 0x4f18f6
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 0x4f1710
mov ecx, edi
call fcn.00508230
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.00505000
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x4f327e
mov edx, dword [esp + 0x10]
movzx eax, word [ecx + 0x34]
cmp ax, word [edx + 2]
jge 0x4f1752
mov word [edx + 2], ax
cmp byte [esp + 0x63], 0
je 0x4f178e
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 0x4f17de
test byte [ecx + 0x30], 4
movsx eax, byte [ecx + 0x2d]
mov dword [esp + 0xf4], eax
jne 0x4f17ab
mov eax, dword [ecx + 0x1c]
jmp 0x4f17b9
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 0x4f17e2
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x104]
test eax, eax
js 0x4f17fe
test ecx, ecx
jne 0x4f17fe
mov edx, eax
mov ecx, esi
call fcn.004b06a0
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
je 0x4f18bf
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.0050afe0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, 0xb
push dword [esp + 0x14]
push 0
call fcn.004afb40
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.004b0150
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.004ea0f0
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.004b0150
mov ecx, dword [esp + 0x3c]
mov edx, 0x41
push edi
call fcn.004afae0
add esp, 0x24
lea edx, [esi - 1]
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.004b0150
mov edi, dword [esp + 0x18]
jmp 0x4f31c4
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.004ea0f0
mov ecx, dword [esp + 0x60]
add esp, 0x18
call fcn.00505b50
jmp 0x4f31c4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x4f19c4
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x4f1934
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x4f1922
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
test eax, eax
jle 0x4f1957
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x4f1941
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
cmp word [edx + 2], 0x42
jle 0x4f1967
mov eax, 0x42
mov word [edx + 2], ax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4f19ca
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4f19ca
xor edx, edx
test eax, eax
jle 0x4f19a4
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 0x4f1988
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004cb730
mov ecx, dword [esp + 0x44]
add esp, 4
test eax, eax
jne 0x4f19ca
mov dword [esp + 0x68], 1
jmp 0x4f19ca
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 0x4f1a2e
mov eax, dword [ecx]
mov dword [esp + 0xcc], eax
jmp 0x4f1a39
mov dword [esp + 0xcc], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0x130]
call fcn.004cc010
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x130]
call fcn.004cc010
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4f1b1a
cmp dword [esp + 0x40], 0
je 0x4f1ac7
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], 0x4f0b30
mov dword [esp + 0xbc], eax
test edx, edx
je 0x4f1ac0
lea ecx, [esp + 0xa4]
call fcn.004c1850
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], 0x4cbd60
mov edx, ecx
mov dword [esp + 0xac], 0x4cbff0
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb0], 0x4cc000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], 0
call fcn.004c1850
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 0x4f1c11
cmp dword [eax + 0x2c], 0
jne 0x4f1c11
cmp ecx, 1
jne 0x4f1c11
mov eax, dword [esp + 0xe8]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x38], edx
test edx, edx
je 0x4f1c06
cmp dword [edx], ecx
jne 0x4f1c06
test dword [eax + 4], 0x1000000
jne 0x4f1c06
mov eax, dword [eax + 8]
mov edx, 0x5a52b0
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.00493d10
test eax, eax
jne 0x4f1ba3
mov byte [esp + 0x77], 2
mov dword [esp + 0xc], 1
jmp 0x4f1bc2
mov ecx, dword [esp + 0xc]
mov edx, 0x5a52b4
call fcn.00493d10
test eax, eax
jne 0x4f1bff
mov byte [esp + 0x77], 1
mov dword [esp + 0xc], 2
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0
call fcn.004c5810
mov ecx, eax
add esp, 4
mov dword [esp + 0xa0], ecx
test ecx, ecx
je 0x4f1be8
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 0x4f1c19
mov ecx, dword [esp + 0xec]
xor eax, eax
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x4f1c19
mov dword [esp + 0x38], 0
test ecx, ecx
jle 0x4f1cf6
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.004cc010
mov eax, dword [esp + 0xc]
test dword [eax + 4], 0x1000000
je 0x4f1cc2
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xa8], 0x4cbd60
mov dword [esp + 0xac], 0x4cbff0
mov dword [esp + 0xb0], 0x4cc000
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 0x4f1cc2
lea ecx, [esp + 0xa4]
call fcn.004c1850
mov ecx, dword [esp + 0x148]
inc edi
and ecx, 0xfffdffff
add esi, 0x10
mov dword [esp + 0x148], ecx
cmp edi, dword [esp + 0xec]
jl 0x4f1c30
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 0x4f326a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4f2bdc
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.004eadf0
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 0x4f1d76
push 0
push edx
push eax
mov edx, 0x6f
mov ecx, esi
call fcn.004af9d0
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4f1dad
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.004b07c0
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 0x4f1e25
push 0
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, esi
push 0
call fcn.004af9d0
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4f1e5c
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 0x4f1e86
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
inc eax
mov edx, 0x48
push eax
push 0
call fcn.004af9d0
add esp, 0xc
jmp 0x4f1ebe
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 0x4f1ee1
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.004af9d0
add esp, 0xc
jmp 0x4f1f14
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.00505000
mov edx, eax
add esp, 0x14
mov dword [esp + 0x38], edx
test edx, edx
je 0x4f3266
mov eax, dword [esp + 0x40]
movsx ecx, byte [edx + 0x2d]
cmp ecx, dword [eax]
jne 0x4f1f69
xor eax, eax
mov dword [esp + 0x5c], eax
jmp 0x4f22f7
cmp byte [esp + 0x63], 0
je 0x4f1f7f
mov eax, dword [esp + 0x10]
test byte [eax + 4], 1
mov eax, str.DISTINCT
je 0x4f1f84
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.004aff00
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 0x4f1ff6
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 0x4f1fc8
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 0x4f2023
mov al, byte [edi + 0x13]
test al, al
jne 0x4f200e
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x34], eax
jmp 0x4f204e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x34], eax
jmp 0x4f204e
mov edx, dword [edi + 0x20]
mov dword [esp + 0x34], edx
cmp ecx, dword [edi + 0x1c]
jg 0x4f203f
lea eax, [ecx + edx]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
sub eax, ecx
mov dword [edi + 0x1c], eax
jmp 0x4f204e
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.004ca840
add esp, 0xc
cmp dword [esp + 0xe0], 0
jle 0x4f20cb
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 0x4f20b6
add eax, dword [esp + 0x34]
mov ecx, esi
push eax
push dword [edx + 8]
push dword [edx + 4]
mov edx, dword [edx]
call fcn.004c9110
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 0x4f2080
mov edi, dword [esp + 0x18]
mov al, byte [edi + 0x13]
test al, al
jne 0x4f20da
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4f20e9
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 0x4f2114
mov edx, dword [esp + 0x44]
mov ecx, esi
push eax
push edx
push dword [esp + 0x3c]
mov edx, 0x5b
call fcn.004af9d0
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x4f2147
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 0x4f2173
push 0
push edx
push eax
mov edx, 0x82
mov ecx, esi
call fcn.004af9d0
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x4f21a6
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 0x4f21be
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4f21be
movzx eax, al
mov dword [edi + eax*4 + 0x94], edx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x4f21e5
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4f21f4
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4f21f4
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x4f21f4
cmp eax, dword [edi + 0x1c]
jle 0x4f21f4
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x38]
call fcn.00505b50
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 0x4f2220
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4f222f
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 0x4f2259
mov edx, dword [esp + 0x44]
mov ecx, esi
push edx
push eax
push dword [esp + 0x84]
mov edx, 0x72
call fcn.004af9d0
add esp, 0xc
jmp 0x4f228c
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 0x4f22b3
push 0
push dword [esp + 0x50]
mov ecx, esi
push edx
mov edx, 0x23
call fcn.004af9d0
add esp, 0xc
jmp 0x4f22e6
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 0x4f2355
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x4c], 4
jne 0x4f2355
test eax, eax
jne 0x4f2312
test byte [edx + 0x30], 8
je 0x4f2355
mov ecx, dword [esi]
mov dword [esp + 0xf0], 0
cmp byte [ecx + 0x51], 0
jne 0x4f2355
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.004b0550
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 0x4f23bc
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x4f2389
push dword [esp + 0x7c]
mov ecx, esi
push dword [esp + 0x5c]
push edx
mov edx, 0x7d
call fcn.004af9d0
add esp, 0xc
jmp 0x4f23bc
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 0x4f2486
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 0x4f244b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f2416
push edx
push eax
push dword [esp + 0x84]
mov edx, 0x59
mov ecx, esi
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2460
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 0x4f2460
mov byte [esp + 0xc0], 1
push edx
mov edx, dword [ecx]
mov ecx, edi
call fcn.004ca7f0
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 0x4f23e0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f2492
inc dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], ecx
jg 0x4f24bd
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
push dword [esp + 0x88]
inc eax
mov edx, 0x56
push eax
call fcn.004af9d0
add esp, 0xc
jmp 0x4f24fc
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.004b07c0
mov eax, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x68], eax
lea edx, [eax + 1]
cmp dword [esi + 0x70], eax
jg 0x4f2532
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.004af9d0
add esp, 0xc
jmp 0x4f255e
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 0x4f2594
push eax
mov eax, dword [esp + 0x24]
mov edx, 0x4c
inc eax
push eax
push dword [esp + 0x8c]
call fcn.004af9d0
add esp, 0xc
jmp 0x4f25d3
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 0x4f25f8
mov eax, dword [esp + 0x50]
mov edx, 0xc
push 0
push dword [esp + 0x70]
inc eax
mov ecx, esi
push eax
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2630
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 0x4f2653
push 0
push dword [esp + 0x50]
mov edx, 0x30
mov ecx, esi
push dword [esp + 0x58]
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2686
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 0x4f26a9
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.004af9d0
add esp, 0xc
jmp 0x4f26dc
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 0x4f26ee
mov eax, 0x5c66d4
jmp 0x4f2703
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.004f06b0
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4f273d
push 0
push dword [esp + 0x68]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2770
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 0x4f27d3
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x4f279e
push 0
push dword [esp + 0x48]
mov ecx, esi
push edx
mov edx, 3
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2811
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 0x4f2811
mov ecx, dword [esp + 0x38]
call fcn.00505b50
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
jne 0x4f2811
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.004b0550
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 0x4f2836
mov eax, dword [esp + 0x50]
mov edx, 0xc
push 0
push dword [esp + 0x70]
inc eax
mov ecx, esi
push eax
call fcn.004af9d0
add esp, 0xc
jmp 0x4f286e
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 0x4f288f
push 0
push dword [esp + 0x50]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.004af9d0
add esp, 0xc
jmp 0x4f28c2
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 0x4f28eb
push 0
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.004af9d0
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x4f291e
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 0x4f293f
push 0
lea eax, [edx + 1]
mov ecx, esi
push 0
push eax
mov edx, 0x41
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2977
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 0x4f2995
push edx
mov edx, esi
call fcn.004b00d0
add esp, 4
jmp 0x4f299e
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 0x4f29c8
push 0
push edx
push dword [esp + 0x6c]
mov edx, 0x30
mov ecx, esi
call fcn.004af9d0
add esp, 0xc
jmp 0x4f29f8
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 0x4f2a1b
mov eax, dword [esp + 0x50]
mov edx, 0x41
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2a53
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.004f05e0
push 0x10
push dword [esp + 0x18]
push dword [esp + 0x78]
push edi
call fcn.004caf60
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.004ea0f0
mov ecx, dword [esi + 0x6c]
add esp, 0x28
cmp dword [esi + 0x70], ecx
jg 0x4f2abf
mov eax, dword [esp + 0x50]
mov edx, 0x41
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2af7
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 0x4f2b15
push edx
mov edx, esi
call fcn.004b00d0
add esp, 4
jmp 0x4f2b1e
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.004f04f0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f2b4d
push 0
push dword [esp + 0x68]
mov edx, 0x45
mov ecx, esi
push 0
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2b80
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 0x4f2ba4
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x41
mov ecx, esi
call fcn.004af9d0
add esp, 0xc
jmp 0x4f319d
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 0x4f319d
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x4f2f8b
mov edx, dword [eax + 0x1c]
mov dword [esp + 0xc], edx
cmp dword [edx], 1
jne 0x4f2f8b
mov edx, dword [eax + 0x20]
cmp dword [edx], 1
jne 0x4f2f8b
cmp dword [edx + 0x1c], 0
jne 0x4f2f8b
mov edx, dword [edx + 0x18]
mov dword [esp + 0x64], edx
cmp dword [edx + 0x38], 0
jne 0x4f2f8b
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax], 0xa5
jne 0x4f2f8b
test ecx, ecx
je 0x4f2f8b
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x4f2f8b
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x1c]
test dword [eax + 4], 0x1000002
jne 0x4f2f8b
mov ecx, dword [edx + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x4f2c9c
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 0x4f2c9c
nop word [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4f2c90
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 0x4f2cfe
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
bts eax, edx
mov dword [ecx + 0x54], eax
cmp edx, 1
jne 0x4f2cfe
call fcn.004d6f60
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.004d0b70
mov eax, dword [esp + 0x70]
add esp, 0xc
test byte [eax + 0x24], 0x80
je 0x4f2d42
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x4f2d44
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4f2d38
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4f2d28
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
jmp 0x4f2d44
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x4f2d81
mov esi, dword [esp + 0x64]
nop
test byte [eax + 0x38], 4
jne 0x4f2d72
movzx edx, word [eax + 0x30]
cmp dx, word [esi + 0x30]
jge 0x4f2d72
cmp dword [eax + 0x24], 0
jne 0x4f2d72
test ecx, ecx
je 0x4f2d70
cmp dx, word [ecx + 0x30]
jge 0x4f2d72
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f2d50
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x4f2d99
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.004d7710
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], ecx
jg 0x4f2dc7
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.004af9d0
add esp, 0xc
mov ecx, eax
jmp 0x4f2dfe
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 0x4f2e19
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 0x4f2e65
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4f2e39
push edx
mov edx, 0xfffffff7
call fcn.004b0550
add esp, 4
jmp 0x4f2e65
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 0x4f2e5e
push 0xfffffffffffffff7
push edx
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.004b06f0
add esp, 8
jmp 0x4f2e65
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 0x4f2e97
push 0
push eax
push dword [esp + 0x74]
mov edx, 0x5c
mov ecx, esi
call fcn.004af9d0
mov edx, dword [esp + 0x78]
add esp, 0xc
jmp 0x4f2ece
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 0x4f2eec
push 0
push 0
push edx
mov edx, 0x74
mov ecx, esi
call fcn.004af9d0
add esp, 0xc
jmp 0x4f2f1f
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 0x4f3165
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
test ecx, ecx
je 0x4f2f53
test byte [edx + 0x24], 0x80
je 0x4f2f47
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4f2f53
mov eax, dword [ecx]
mov dword [esp + 0x14], 1
jmp 0x4f2f60
mov dword [esp + 0x14], 0
mov eax, 0x59f156
cmp dword [esp + 0x14], 0
mov ecx, 0x59f156
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.004aff00
add esp, 0x18
jmp 0x4f3165
cmp dword [esp + 0xe4], 0
mov dword [esp + 0xc], 0
je 0x4f303c
xor edx, edx
test ecx, ecx
jle 0x4f2fdc
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov eax, dword [ecx]
test dword [eax + 4], 0x1000000
jne 0x4f2fc9
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
jne 0x4f2fd1
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x4f2fb5
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xec]
cmp edx, ecx
jne 0x4f303c
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 0x4f3009
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.004af9d0
add esp, 0xc
jmp 0x4f303c
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.004f04f0
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.00505000
add esp, 0x14
mov dword [esp + 0x38], eax
test eax, eax
je 0x4f3266
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc0]
push eax
mov ecx, edi
call fcn.004f06b0
mov edx, dword [esp + 0x10]
add esp, 4
test edx, edx
je 0x4f30e6
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f30b3
push 0
push edx
push 1
mov edx, 0x45
mov ecx, esi
call fcn.004af9d0
add esp, 0xc
jmp 0x4f30e6
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 0x4f3150
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x4f3119
push 0
push eax
push 0
mov edx, 0xb
mov ecx, esi
call fcn.004af9d0
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x4f3150
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.00505b50
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.004f05e0
push 0x10
push dword [esp + 0x50]
mov dword [esp + 0xf8], 0
push dword [esp + 0x78]
push edi
call fcn.004caf60
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.004ea0f0
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 0x4f31bb
push edx
mov edx, esi
call fcn.004b00d0
add esp, 4
jmp 0x4f31c4
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 0x4f31e4
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.004aff00
add esp, 0x10
cmp dword [esp + 0xf0], 0
je 0x4f3230
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.004aff00
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.004eaeb0
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 0x4f3251
push edx
mov edx, esi
call fcn.004b00d0
add esp, 4
jmp 0x4f325a
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 0x4f3282
mov edx, ecx
mov ecx, eax
call fcn.004c6400
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xdc]
test edx, edx
je 0x4f3294
mov ecx, eax
call fcn.004907f0
mov edx, dword [esp + 0xe8]
test edx, edx
je 0x4f32a8
mov ecx, dword [esp + 0x3c]
call fcn.004907f0
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x4f32c4
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 0x4f32cf
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4f32ef
mov eax, 0x5c66d4
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