Function at 0x49f180
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 0x49f1e2
cmp dword [edi + 0x74], esi
jne 0x49f1cd
test byte [ecx + 0x4c], 8
jne 0x49f1cd
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0045dcb0
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x4a17eb
cmp byte [ecx + 0x51], 0
jne 0x4a17eb
cmp dword [edi + 0x24], 0
jne 0x4a17eb
push 0
push 0
push 0
mov edx, 0x15
mov ecx, edi
call fcn.0047efd0
add esp, 0xc
test eax, eax
jne 0x4a17eb
push 0x30
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.00502470
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
mov eax, dword [esp + 0x10]
ja 0x49f259
mov edx, dword [eax + 0x30]
test edx, edx
je 0x49f24e
mov ecx, dword [esp + 0x3c]
call fcn.004748f0
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.0049e900
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x4a1762
cmp byte [eax + 0x51], 0
jne 0x4a1762
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x49f292
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.00499d70
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004b5d00
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4a175e
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 0x49f441
nop dword [eax]
mov esi, dword [esp + 0x34]
cmp ecx, dword [esi]
mov esi, dword [esp + 0x1c]
jge 0x49f439
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 0x49f378
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
call fcn.0047a0b0
test eax, eax
je 0x49f370
mov eax, dword [esp + 0x3c]
mov ecx, 0x2000
test word [eax + 0x4c], cx
jne 0x49f370
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.00497bc0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49f429
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 0x49f472
mov eax, dword [esp + 0xc]
test byte [eax + 4], 8
jne 0x49f429
cmp dword [eax + 0x30], 0
je 0x49f3d1
test ecx, ecx
jne 0x49f3d1
test dword [edx + 4], 0x40000
je 0x49f3d1
mov eax, dword [esp + 0x34]
cmp dword [eax], 1
je 0x49f429
test byte [eax + 0x74], 0xa
jne 0x49f429
push dword [esp + 0x78]
push ecx
mov ecx, edi
call fcn.0049cfe0
add esp, 8
test eax, eax
je 0x49f3f6
cmp dword [edi + 0x24], 0
jne 0x4a175e
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 0x4a1762
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
cmp byte [eax], 8
jbe 0x49f429
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 0x49f300
test eax, eax
je 0x49f4d3
push dword [ebp + 8]
mov ecx, edi
call fcn.0049aed0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
jne 0x49f4cb
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x49f490
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.004420f0
add esp, 0x14
jmp 0x4a175e
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x49f49b
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x49f4b9
mov ecx, 0x561af8
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 0x49f5d2
mov esi, dword [esp + 0x3c]
cmp word [esi + 0x4c], 0
mov esi, dword [esp + 0x1c]
jl 0x49f5d2
mov dword [esp + 0x88], edi
jmp 0x49f504
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.0049d610
cmp dword [esp + 0x8c], 0
je 0x49f5be
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], 0x49d700
mov dword [esp + 0xac], fcn.004220b0
mov edx, dword [eax + 0x24]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
test edx, edx
je 0x49f5a5
lea ecx, [esp + 0xa4]
call fcn.0046fd40
mov edx, dword [esp + 0x94]
test edx, edx
je 0x49f5be
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx]
call fcn.0043ed00
cmp dword [esp + 0x90], 0
jne 0x49f500
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
xor edx, edx
mov dword [esp + 0x48], edx
test eax, eax
jle 0x49f9c8
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 0x49f621
mov eax, dword [edi + 8]
test eax, eax
je 0x49f621
push dword [edi + 4]
mov ecx, dword [esp + 0x1c]
mov edx, 0x14
push 0x544b04
push eax
call fcn.0047efd0
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 0x49f9b7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.00472f10
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 0x49f687
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.0049d7c0
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 0x49f785
mov eax, dword [esp + 0x34]
cmp dword [eax], 1
je 0x49f6b8
test byte [eax + 0x74], 0xa
je 0x49f785
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.0045df00
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.0045e3f0
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0049f180
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.0045e550
mov edx, edi
mov ecx, esi
call fcn.0045e910
jmp 0x49f967
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.0045e030
add esp, 8
mov dword [esp + 0x5c], eax
test byte [edi + 0x28], 8
lea ecx, [eax + 1]
mov dword [edi + 0x18], ecx
jne 0x49f7c7
mov edx, 0x11
mov ecx, esi
call fcn.0045df70
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x34]
add ecx, 8
mov dword [esp + 0x4c], ecx
cmp ecx, edi
jae 0x49f888
nop word [eax + eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x70], eax
test eax, eax
je 0x49f879
test byte [ecx + 0x28], 0x10
jne 0x49f879
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x49f879
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 0x49f879
mov edx, dword [edi + 8]
test edx, edx
je 0x49f879
mov ecx, dword [esp + 0x38]
call fcn.00442220
test eax, eax
jne 0x49f875
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x68], eax
jne 0x49f83f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x49f875
mov edx, dword [edi + 0x14]
push 0xffffffffffffffff
push dword [ecx + 0x24]
xor ecx, ecx
mov edx, dword [edx + 0x24]
call fcn.00479890
add esp, 8
test eax, eax
jne 0x49f875
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.00479890
add esp, 8
test eax, eax
je 0x49f8be
mov ecx, dword [esp + 0x4c]
add ecx, 0x48
mov dword [esp + 0x4c], ecx
cmp ecx, edi
jb 0x49f7e0
xor eax, eax
mov dword [esp + 0x4c], eax
test eax, eax
je 0x49f8c4
push dword [eax + 0x2c]
mov edx, 0x62
mov ecx, esi
push dword [edi + 0x2c]
call fcn.0045e030
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 0x49f92e
mov eax, dword [esp + 0x4c]
jmp 0x49f88e
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.0045e3f0
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0049f180
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 0x49f946
mov edx, eax
mov ecx, esi
call fcn.0045e910
push dword [edi + 0x1c]
mov edx, 0x41
mov ecx, esi
call fcn.0045dfd0
mov edx, dword [esp + 0x60]
add esp, 4
mov ecx, esi
push eax
call fcn.0045e890
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 0x4a1762
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.00472f10
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 0x49f9bb
mov edi, dword [esp + 0x18]
inc edx
mov dword [esp + 0x48], edx
cmp edx, dword [ecx]
jl 0x49f5e0
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 0x49fa46
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.00479c20
add esp, 4
test eax, eax
jne 0x49fa42
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
cmp dword [ecx + 0x44], eax
jne 0x49fa46
and dword [ecx + 4], 0xfffffffe
mov ecx, dword [esp + 0x3c]
push eax
call fcn.00473d00
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 0x49fa99
push dword [edx]
mov edx, eax
mov ecx, edi
push 0
call fcn.004992e0
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.0045e2c0
add esp, 0x1c
mov dword [esp + 0x104], eax
jmp 0x49faa4
mov dword [esp + 0x104], 0xffffffff
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0xc
jne 0x49fac4
mov eax, dword [esp + 0x54]
mov edx, 0x64
push dword [eax]
push dword [ecx + 4]
mov ecx, esi
call fcn.0045e030
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 0x49fae7
mov edx, 0x140
mov word [eax + 2], dx
push ecx
mov edx, eax
mov ecx, edi
call fcn.0049a660
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [edx + 8], 0
jne 0x49fb23
mov eax, dword [esp + 0x104]
test eax, eax
js 0x49fb23
push 0x6f
mov edx, eax
mov ecx, esi
call fcn.0045e850
mov edx, dword [esp + 0x14]
add esp, 4
or byte [esp + 0x110], 1
test byte [edx + 4], 1
je 0x49fb8c
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.004992e0
add esp, 0xc
mov edx, 0x64
push eax
push 0
push 0
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.0045e2c0
mov dword [esp + 0xa4], eax
add esp, 0x14
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x49fb84
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 0x49fb8e
xor al, al
cmp dword [esp + 0x78], 0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x89], al
mov dword [esp + 0x80], eax
jne 0x49fdd6
test ecx, ecx
jne 0x49fdd6
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 0x49fbf0
mov ecx, edi
call fcn.004b6700
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.004b34d0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x4a175e
mov edx, dword [esp + 0x10]
movzx eax, word [ecx + 0x34]
cmp ax, word [edx + 2]
jge 0x49fc32
mov word [edx + 2], ax
cmp byte [esp + 0x63], 0
je 0x49fc6e
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 0x49fcbe
test byte [ecx + 0x30], 4
movsx eax, byte [ecx + 0x2d]
mov dword [esp + 0xf4], eax
jne 0x49fc8b
mov eax, dword [ecx + 0x1c]
jmp 0x49fc99
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 0x49fcc2
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x104]
test eax, eax
js 0x49fcde
test ecx, ecx
jne 0x49fcde
mov edx, eax
mov ecx, esi
call fcn.0045eb90
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
je 0x49fd9f
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.004b94b0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, 0xb
push dword [esp + 0x14]
push 0
call fcn.0045e030
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.0045e640
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.004985e0
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.0045e640
mov ecx, dword [esp + 0x3c]
mov edx, 0x41
push edi
call fcn.0045dfd0
add esp, 0x24
lea edx, [esi - 1]
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0045e640
mov edi, dword [esp + 0x18]
jmp 0x4a16a4
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.004985e0
mov ecx, dword [esp + 0x60]
add esp, 0x18
call fcn.004b4020
jmp 0x4a16a4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x49fea4
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x49fe14
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x49fe02
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
test eax, eax
jle 0x49fe37
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x49fe21
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
cmp word [edx + 2], 0x42
jle 0x49fe47
mov eax, 0x42
mov word [edx + 2], ax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x49feaa
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x49feaa
xor edx, edx
test eax, eax
jle 0x49fe84
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 0x49fe68
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.00479c20
mov ecx, dword [esp + 0x44]
add esp, 4
test eax, eax
jne 0x49feaa
mov dword [esp + 0x68], 1
jmp 0x49feaa
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 0x49ff0e
mov eax, dword [ecx]
mov dword [esp + 0xcc], eax
jmp 0x49ff19
mov dword [esp + 0xcc], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0x130]
call fcn.0047a500
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x130]
call fcn.0047a500
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x49fffa
cmp dword [esp + 0x40], 0
je 0x49ffa7
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], 0x49f010
mov dword [esp + 0xbc], eax
test edx, edx
je 0x49ffa0
lea ecx, [esp + 0xa4]
call fcn.0046fd40
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], 0x47a250
mov edx, ecx
mov dword [esp + 0xac], 0x47a4e0
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb0], 0x47a4f0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], 0
call fcn.0046fd40
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 0x4a00f1
cmp dword [eax + 0x2c], 0
jne 0x4a00f1
cmp ecx, 1
jne 0x4a00f1
mov eax, dword [esp + 0xe8]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x38], edx
test edx, edx
je 0x4a00e6
cmp dword [edx], ecx
jne 0x4a00e6
test dword [eax + 4], 0x1000000
jne 0x4a00e6
mov eax, dword [eax + 8]
mov edx, 0x54a828
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.00442220
test eax, eax
jne 0x4a0083
mov byte [esp + 0x77], 2
mov dword [esp + 0xc], 1
jmp 0x4a00a2
mov ecx, dword [esp + 0xc]
mov edx, 0x54a83c
call fcn.00442220
test eax, eax
jne 0x4a00df
mov byte [esp + 0x77], 1
mov dword [esp + 0xc], 2
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0
call fcn.00473d00
mov ecx, eax
add esp, 4
mov dword [esp + 0xa0], ecx
test ecx, ecx
je 0x4a00c8
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 0x4a00f9
mov ecx, dword [esp + 0xec]
xor eax, eax
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x4a00f9
mov dword [esp + 0x38], 0
test ecx, ecx
jle 0x4a01d6
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.0047a500
mov eax, dword [esp + 0xc]
test dword [eax + 4], 0x1000000
je 0x4a01a2
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xa8], 0x47a250
mov dword [esp + 0xac], 0x47a4e0
mov dword [esp + 0xb0], 0x47a4f0
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 0x4a01a2
lea ecx, [esp + 0xa4]
call fcn.0046fd40
mov ecx, dword [esp + 0x148]
inc edi
and ecx, 0xfffdffff
add esi, 0x10
mov dword [esp + 0x148], ecx
cmp edi, dword [esp + 0xec]
jl 0x4a0110
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 0x4a174a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4a10bc
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.004992e0
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 0x4a0256
push 0
push edx
push eax
mov edx, 0x6f
mov ecx, esi
call fcn.0045dec0
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4a028d
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.0045ecb0
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 0x4a0305
push 0
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, esi
push 0
call fcn.0045dec0
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4a033c
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 0x4a0366
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
inc eax
mov edx, 0x48
push eax
push 0
call fcn.0045dec0
add esp, 0xc
jmp 0x4a039e
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 0x4a03c1
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.0045dec0
add esp, 0xc
jmp 0x4a03f4
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.004b34d0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x38], edx
test edx, edx
je 0x4a1746
mov eax, dword [esp + 0x40]
movsx ecx, byte [edx + 0x2d]
cmp ecx, dword [eax]
jne 0x4a0449
xor eax, eax
mov dword [esp + 0x5c], eax
jmp 0x4a07d7
cmp byte [esp + 0x63], 0
je 0x4a045f
mov eax, dword [esp + 0x10]
test byte [eax + 4], 1
mov eax, str.DISTINCT
je 0x4a0464
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.0045e3f0
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 0x4a04d6
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 0x4a04a8
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 0x4a0503
mov al, byte [edi + 0x13]
test al, al
jne 0x4a04ee
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x34], eax
jmp 0x4a052e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x34], eax
jmp 0x4a052e
mov edx, dword [edi + 0x20]
mov dword [esp + 0x34], edx
cmp ecx, dword [edi + 0x1c]
jg 0x4a051f
lea eax, [ecx + edx]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
sub eax, ecx
mov dword [edi + 0x1c], eax
jmp 0x4a052e
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.00478d30
add esp, 0xc
cmp dword [esp + 0xe0], 0
jle 0x4a05ab
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 0x4a0596
add eax, dword [esp + 0x34]
mov ecx, esi
push eax
push dword [edx + 8]
push dword [edx + 4]
mov edx, dword [edx]
call fcn.00477600
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 0x4a0560
mov edi, dword [esp + 0x18]
mov al, byte [edi + 0x13]
test al, al
jne 0x4a05ba
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4a05c9
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 0x4a05f4
mov edx, dword [esp + 0x44]
mov ecx, esi
push eax
push edx
push dword [esp + 0x3c]
mov edx, 0x5b
call fcn.0045dec0
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x4a0627
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 0x4a0653
push 0
push edx
push eax
mov edx, 0x82
mov ecx, esi
call fcn.0045dec0
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x4a0686
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 0x4a069e
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a069e
movzx eax, al
mov dword [edi + eax*4 + 0x94], edx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x4a06c5
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4a06d4
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a06d4
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x4a06d4
cmp eax, dword [edi + 0x1c]
jle 0x4a06d4
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x38]
call fcn.004b4020
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 0x4a0700
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4a070f
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 0x4a0739
mov edx, dword [esp + 0x44]
mov ecx, esi
push edx
push eax
push dword [esp + 0x84]
mov edx, 0x72
call fcn.0045dec0
add esp, 0xc
jmp 0x4a076c
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 0x4a0793
push 0
push dword [esp + 0x50]
mov ecx, esi
push edx
mov edx, 0x23
call fcn.0045dec0
add esp, 0xc
jmp 0x4a07c6
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 0x4a0835
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x4c], 4
jne 0x4a0835
test eax, eax
jne 0x4a07f2
test byte [edx + 0x30], 8
je 0x4a0835
mov ecx, dword [esi]
mov dword [esp + 0xf0], 0
cmp byte [ecx + 0x51], 0
jne 0x4a0835
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.0045ea40
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 0x4a089c
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x4a0869
push dword [esp + 0x7c]
mov ecx, esi
push dword [esp + 0x5c]
push edx
mov edx, 0x7d
call fcn.0045dec0
add esp, 0xc
jmp 0x4a089c
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 0x4a0966
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 0x4a092b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a08f6
push edx
push eax
push dword [esp + 0x84]
mov edx, 0x59
mov ecx, esi
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0940
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 0x4a0940
mov byte [esp + 0xc0], 1
push edx
mov edx, dword [ecx]
mov ecx, edi
call fcn.00478ce0
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 0x4a08c0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a0972
inc dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], ecx
jg 0x4a099d
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
push dword [esp + 0x88]
inc eax
mov edx, 0x56
push eax
call fcn.0045dec0
add esp, 0xc
jmp 0x4a09dc
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.0045ecb0
mov eax, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x68], eax
lea edx, [eax + 1]
cmp dword [esi + 0x70], eax
jg 0x4a0a12
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0a3e
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 0x4a0a74
push eax
mov eax, dword [esp + 0x24]
mov edx, 0x4c
inc eax
push eax
push dword [esp + 0x8c]
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0ab3
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 0x4a0ad8
mov eax, dword [esp + 0x50]
mov edx, 0xc
push 0
push dword [esp + 0x70]
inc eax
mov ecx, esi
push eax
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0b10
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 0x4a0b33
push 0
push dword [esp + 0x50]
mov edx, 0x30
mov ecx, esi
push dword [esp + 0x58]
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0b66
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 0x4a0b89
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0bbc
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 0x4a0bce
mov eax, 0x561af8
jmp 0x4a0be3
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.0049eb90
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4a0c1d
push 0
push dword [esp + 0x68]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0c50
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 0x4a0cb3
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x4a0c7e
push 0
push dword [esp + 0x48]
mov ecx, esi
push edx
mov edx, 3
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0cf1
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 0x4a0cf1
mov ecx, dword [esp + 0x38]
call fcn.004b4020
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
jne 0x4a0cf1
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.0045ea40
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 0x4a0d16
mov eax, dword [esp + 0x50]
mov edx, 0xc
push 0
push dword [esp + 0x70]
inc eax
mov ecx, esi
push eax
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0d4e
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 0x4a0d6f
push 0
push dword [esp + 0x50]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0da2
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 0x4a0dcb
push 0
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.0045dec0
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x4a0dfe
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 0x4a0e1f
push 0
lea eax, [edx + 1]
mov ecx, esi
push 0
push eax
mov edx, 0x41
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0e57
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 0x4a0e75
push edx
mov edx, esi
call fcn.0045e5c0
add esp, 4
jmp 0x4a0e7e
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 0x4a0ea8
push 0
push edx
push dword [esp + 0x6c]
mov edx, 0x30
mov ecx, esi
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0ed8
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 0x4a0efb
mov eax, dword [esp + 0x50]
mov edx, 0x41
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0f33
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.0049eac0
push 0x10
push dword [esp + 0x18]
push dword [esp + 0x78]
push edi
call fcn.00479450
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.004985e0
mov ecx, dword [esi + 0x6c]
add esp, 0x28
cmp dword [esi + 0x70], ecx
jg 0x4a0f9f
mov eax, dword [esp + 0x50]
mov edx, 0x41
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.0045dec0
add esp, 0xc
jmp 0x4a0fd7
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 0x4a0ff5
push edx
mov edx, esi
call fcn.0045e5c0
add esp, 4
jmp 0x4a0ffe
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.0049e9d0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a102d
push 0
push dword [esp + 0x68]
mov edx, 0x45
mov ecx, esi
push 0
call fcn.0045dec0
add esp, 0xc
jmp 0x4a1060
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 0x4a1084
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x41
mov ecx, esi
call fcn.0045dec0
add esp, 0xc
jmp 0x4a167d
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 0x4a167d
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x4a146b
mov edx, dword [eax + 0x1c]
mov dword [esp + 0xc], edx
cmp dword [edx], 1
jne 0x4a146b
mov edx, dword [eax + 0x20]
cmp dword [edx], 1
jne 0x4a146b
cmp dword [edx + 0x1c], 0
jne 0x4a146b
mov edx, dword [edx + 0x18]
mov dword [esp + 0x64], edx
cmp dword [edx + 0x38], 0
jne 0x4a146b
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax], 0xa5
jne 0x4a146b
test ecx, ecx
je 0x4a146b
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x4a146b
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x1c]
test dword [eax + 4], 0x1000002
jne 0x4a146b
mov ecx, dword [edx + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x4a117c
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 0x4a117c
nop word [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a1170
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 0x4a11de
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
bts eax, edx
mov dword [ecx + 0x54], eax
cmp edx, 1
jne 0x4a11de
call fcn.00485450
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.0047f060
mov eax, dword [esp + 0x70]
add esp, 0xc
test byte [eax + 0x24], 0x80
je 0x4a1222
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x4a1224
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4a1218
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4a1208
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
jmp 0x4a1224
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x4a1261
mov esi, dword [esp + 0x64]
nop
test byte [eax + 0x38], 4
jne 0x4a1252
movzx edx, word [eax + 0x30]
cmp dx, word [esi + 0x30]
jge 0x4a1252
cmp dword [eax + 0x24], 0
jne 0x4a1252
test ecx, ecx
je 0x4a1250
cmp dx, word [ecx + 0x30]
jge 0x4a1252
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4a1230
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x4a1279
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.00485c00
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], ecx
jg 0x4a12a7
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.0045dec0
add esp, 0xc
mov ecx, eax
jmp 0x4a12de
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 0x4a12f9
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 0x4a1345
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4a1319
push edx
mov edx, 0xfffffff7
call fcn.0045ea40
add esp, 4
jmp 0x4a1345
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 0x4a133e
push 0xfffffffffffffff7
push edx
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.0045ebe0
add esp, 8
jmp 0x4a1345
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 0x4a1377
push 0
push eax
push dword [esp + 0x74]
mov edx, 0x5c
mov ecx, esi
call fcn.0045dec0
mov edx, dword [esp + 0x78]
add esp, 0xc
jmp 0x4a13ae
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 0x4a13cc
push 0
push 0
push edx
mov edx, 0x74
mov ecx, esi
call fcn.0045dec0
add esp, 0xc
jmp 0x4a13ff
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 0x4a1645
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
test ecx, ecx
je 0x4a1433
test byte [edx + 0x24], 0x80
je 0x4a1427
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4a1433
mov eax, dword [ecx]
mov dword [esp + 0x14], 1
jmp 0x4a1440
mov dword [esp + 0x14], 0
mov eax, 0x544b04
cmp dword [esp + 0x14], 0
mov ecx, 0x544b04
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.0045e3f0
add esp, 0x18
jmp 0x4a1645
cmp dword [esp + 0xe4], 0
mov dword [esp + 0xc], 0
je 0x4a151c
xor edx, edx
test ecx, ecx
jle 0x4a14bc
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov eax, dword [ecx]
test dword [eax + 4], 0x1000000
jne 0x4a14a9
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
jne 0x4a14b1
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x4a1495
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xec]
cmp edx, ecx
jne 0x4a151c
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 0x4a14e9
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.0045dec0
add esp, 0xc
jmp 0x4a151c
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.0049e9d0
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.004b34d0
add esp, 0x14
mov dword [esp + 0x38], eax
test eax, eax
je 0x4a1746
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc0]
push eax
mov ecx, edi
call fcn.0049eb90
mov edx, dword [esp + 0x10]
add esp, 4
test edx, edx
je 0x4a15c6
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1593
push 0
push edx
push 1
mov edx, 0x45
mov ecx, esi
call fcn.0045dec0
add esp, 0xc
jmp 0x4a15c6
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 0x4a1630
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x4a15f9
push 0
push eax
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0045dec0
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x4a1630
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.004b4020
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.0049eac0
push 0x10
push dword [esp + 0x50]
mov dword [esp + 0xf8], 0
push dword [esp + 0x78]
push edi
call fcn.00479450
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.004985e0
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 0x4a169b
push edx
mov edx, esi
call fcn.0045e5c0
add esp, 4
jmp 0x4a16a4
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 0x4a16c4
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.0045e3f0
add esp, 0x10
cmp dword [esp + 0xf0], 0
je 0x4a1710
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.0045e3f0
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.004993a0
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 0x4a1731
push edx
mov edx, esi
call fcn.0045e5c0
add esp, 4
jmp 0x4a173a
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 0x4a1762
mov edx, ecx
mov ecx, eax
call fcn.004748f0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xdc]
test edx, edx
je 0x4a1774
mov ecx, eax
call fcn.0043ed00
mov edx, dword [esp + 0xe8]
test edx, edx
je 0x4a1788
mov ecx, dword [esp + 0x3c]
call fcn.0043ed00
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x4a17a4
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 0x4a17af
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4a17cf
mov eax, 0x561af8
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