Function at 0x4a4080
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
mov esi, ecx
push ebx
add esi, 0x7c0
sub esp, 0x12c
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0x100], esi
sub eax, edx
cmp eax, 0x13
jle 0x4a4307
mov dword [ebp - 0xfc], edi
mov edi, dword [ebp + 8]
jmp 0x4a4117
mov eax, dword [edi]
mov ecx, edi
add dword [ebp - 0xfc], 1
call dword [eax + 0x20]
cmp eax, 0xe
je 0x4a4eb0
mov eax, dword [ebp + 0xc]
add ebx, 1
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edx
sar eax, 2
imul eax, eax, 0xcccccccd
cmp ebx, eax
jge 0x4a4307
lea eax, [ebx + ebx*4]
mov esi, dword [edx + eax*4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
jne 0x4a40e1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
cmp eax, 0xe
je 0x4a42a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [eax]
mov dword [ebp - 0x84], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x80], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x7c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x4c], edx
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x48], eax
movzx eax, byte [ebp - 0x78]
test al, 7
je 0x4a4280
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 8]
test al, 1
je 0x4a41bc
or byte [ebp - 0x7c], 1
test al, 0x20
je 0x4a41c4
or byte [ebp - 0x7c], 0x20
test al, 0x40
je 0x4a41cc
or byte [ebp - 0x7c], 0x40
test al, 0x10
je 0x4a41d4
or byte [ebp - 0x7c], 0x10
test al, 4
je 0x4a41dc
or byte [ebp - 0x7c], 4
test al, al
jns 0x4a41e4
or byte [ebp - 0x7c], 0x80
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 9]
test al, 1
je 0x4a41f3
or byte [ebp - 0x7b], 1
test al, 2
je 0x4a41fb
or byte [ebp - 0x7b], 2
test al, 4
je 0x4a4203
or byte [ebp - 0x7b], 4
test al, 8
je 0x4a420b
or byte [ebp - 0x7b], 8
test al, 0x10
je 0x4a4213
or byte [ebp - 0x7b], 0x10
test al, 0x20
je 0x4a421b
or byte [ebp - 0x7b], 0x20
movzx eax, word [ebp - 0x6c]
mov edx, eax
and dx, 0xfff
cmp dx, 0xfff
je 0x4a42e1
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x10c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004a3700
mov edx, dword [ebp - 0xcc]
sub esp, 0xc
cmp edx, dword [ebp - 0xc8]
mov dword [ebp - 0xc4], eax
je 0x4a52e0
test edx, edx
je 0x4a4271
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0xcc], edx
jmp 0x4a40f8
mov ecx, dword [ebp + 0x14]
and eax, 0xfffffff8
movzx edx, byte [ecx + 0xc]
and edx, 7
or eax, edx
mov byte [ebp - 0x78], al
mov eax, ecx
jmp 0x4a41b0
mov ecx, dword [ebp - 0x100]
lea eax, [ebp + 0xc]
mov dword [esp], eax
call fcn.00644a90
mov edx, ebx
sub edx, dword [ebp - 0xfc]
mov eax, dword [eax]
sub esp, 4
mov dword [eax + ebx*4], edx
mov eax, dword [ebp - 0x10c]
mov edx, esi
mov eax, dword [eax + 0x5f0]
call fcn.0049f020
test al, al
jne 0x4a40f8
jmp 0x4a4138
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx + 0x18]
and dx, 0xfff
cmp dx, 0xfff
je 0x4a4231
and ax, 0xf000
or eax, edx
mov word [ebp - 0x6c], ax
jmp 0x4a4231
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x18]
mov edi, dword [ebp - 0x10c]
add edi, 0x38
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x100], edi
mov dword [esp + 4], eax
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.004b66f0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x14]
sub esp, 8
test byte [eax + 8], 1
jne 0x4a4373
mov eax, dword [ebp + 0x14]
movzx eax, word [eax + 0x18]
and ax, 0xfff
cmp ax, 0xfff
je 0x4a5227
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x20]
cmp eax, 0xe
jne 0x4a5227
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov esi, dword [ebp - 0x10c]
mov dword [ebp - 0xec], edi
mov dword [ebp - 0x124], 0xffffffff
sub eax, edx
lea edi, [esi + 0x7c0]
cmp eax, 0x13
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x11c], edi
jg 0x4a4a75
jmp 0x4a4de0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0xc0], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0xbc], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xb8], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xb4], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0xb0], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0xac], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0xa8], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0xa4], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0xa0], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x9c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x98], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x94], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x90], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x8c], edx
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x88], eax
movzx eax, byte [ebp - 0xb8]
test al, 7
jne 0x4a446e
mov esi, dword [ebp + 0x14]
and eax, 0xfffffff8
movzx edx, byte [esi + 0xc]
and edx, 7
or eax, edx
mov byte [ebp - 0xb8], al
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 8]
test al, 1
je 0x4a4480
or byte [ebp - 0xbc], 1
test al, 0x20
je 0x4a448b
or byte [ebp - 0xbc], 0x20
test al, 0x40
je 0x4a4496
or byte [ebp - 0xbc], 0x40
test al, 0x10
je 0x4a44a1
or byte [ebp - 0xbc], 0x10
test al, 4
je 0x4a44ac
or byte [ebp - 0xbc], 4
test al, al
jns 0x4a44b7
or byte [ebp - 0xbc], 0x80
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 9]
test al, 1
je 0x4a44c9
or byte [ebp - 0xbb], 1
test al, 2
je 0x4a44d4
or byte [ebp - 0xbb], 2
test al, 4
je 0x4a44df
or byte [ebp - 0xbb], 4
test al, 8
je 0x4a44ea
or byte [ebp - 0xbb], 8
test al, 0x10
je 0x4a44f5
or byte [ebp - 0xbb], 0x10
test al, 0x20
je 0x4a4500
or byte [ebp - 0xbb], 0x20
test edi, edi
js 0x4a4a4b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov esi, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.004b5560
movzx edx, byte [ebp - 0xb8]
mov eax, ebx
and edx, 7
sub esp, 0xc
call fcn.0049d6d0
cmp eax, 0x7fffffff
je 0x4a456a
mov ecx, dword [ebp - 0x100]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004b5800
sub esp, 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
movzx eax, word [eax + 6]
shr ax, 6
and eax, 7
sub eax, 1
cmp al, 1
ja 0x4a45ae
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5800
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x30]
movzx eax, byte [eax + 4]
and eax, 0x3f
cmp al, 3
je 0x4a4ad7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x30]
movzx eax, byte [eax + 4]
and eax, 0x3f
cmp al, 4
je 0x4a4ad7
movzx eax, byte [ebp - 0xbc]
test al, 1
je 0x4a4618
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x12
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5800
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x20]
cmp eax, 0xe
je 0x4a4d24
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x6c]
test al, al
jne 0x4a4676
movzx eax, word [ebp - 0xac]
and ax, 0xfff
cmp ax, 0xfff
je 0x4a4676
movzx eax, ax
mov ecx, dword [ebp - 0x100]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x108]
mov dword [esp + 8], 0x1e
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5800
sub esp, 0x10
mov eax, dword [ebp + 0x14]
movzx eax, word [eax + 0x18]
and ax, 0xfff
cmp ax, 0xfff
je 0x4a469e
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x5f0]
mov dword [esp], ebx
call fcn.004cf3a0
sub esp, 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
movzx eax, byte [eax + 0x1c]
and eax, 7
cmp al, 4
je 0x4a46e5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x100]
movzx eax, byte [eax + 0x1c]
mov dword [esp + 8], 0x1f
mov dword [esp + 4], edi
and eax, 7
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call fcn.004b5800
sub esp, 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
movzx eax, word [eax + 0x30]
and ax, 0x1ff8
cmp ax, 0x1ff8
je 0x4a4ba0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x100]
movzx eax, word [eax + 0x30]
mov dword [esp + 8], 0x23
mov dword [esp + 4], edi
shr ax, 3
and eax, 0x3ff
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call fcn.004b5800
mov eax, dword [ebx]
mov ecx, ebx
sub esp, 0x10
call dword [eax + 0x68]
test al, al
je 0x4a49d6
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a49d6
xor eax, eax
cmp dword [ebp + 0x10], 2
sete al
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x110], eax
movzx esi, byte [ebp - 0x7e]
movzx eax, byte [ebp - 0xb8]
movzx edx, byte [ebp - 0x7c]
and byte [ebp - 0x74], 0xc0
and esi, 0xfffffff0
and eax, 7
mov dword [ebp - 0x118], eax
mov eax, esi
and edx, 0xfffffffe
mov byte [ebp - 0x7e], al
movzx eax, byte [ebp - 0x20]
mov byte [ebp - 0x7c], dl
and byte [ebp - 0x24], 0x80
or byte [ebp - 0x1c], 0xf
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x20], al
and word [ebp - 0x72], 0xfe3f
and word [ebp - 0x74], 0xc03f
and byte [ebp - 0x6f], 0x80
and byte [ebp - 0x6c], 0x80
mov dword [ebp - 0x84], 0x6f2308
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x68], 0xffffffff
movzx eax, word [ebp - 0x5a]
movzx ecx, word [ebp - 0x46]
or byte [ebp - 0x50], 0x7f
or dword [ebp - 0x58], 0x7fff8000
and ax, 0xf80f
or ax, 0x3f0
or cx, 0x1fe0
mov word [ebp - 0x5a], ax
movzx eax, byte [ebp - 0x5c]
mov word [ebp - 0x46], cx
shr cx, 8
or word [ebp - 0x60], 0xfff
or ecx, 0xffffffe0
or word [ebp - 0x50], 0x780
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0x54]
or dword [ebp - 0x4c], 0x1ff80
or word [ebp - 0x48], 0x1ff8
and byte [ebp - 0x41], 0x1f
or eax, 0x7f8000
mov dword [ebp - 0x54], eax
shr eax, 0x18
or eax, 0xffffff80
and byte [ebp - 0x40], 0xe0
and dword [ebp - 0x74], 0xffc03fff
mov byte [ebp - 0x45], cl
mov dword [ebp - 0x64], 0xffffffff
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x3c], 0xfffff800
mov byte [ebp - 0x51], al
mov byte [ebp - 0x44], 0xff
movzx eax, byte [ebx + 4]
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx ecx, byte [ebx + 5]
and ecx, 0xf
mov byte [ebp - 0x7f], cl
movzx eax, byte [ebx + 5]
and eax, 0xfffffff0
or eax, ecx
mov byte [ebp - 0x7f], al
movzx eax, byte [ebx + 6]
and eax, 0xf
or eax, esi
mov byte [ebp - 0x7e], al
movzx eax, byte [ebx + 8]
and eax, 1
or eax, edx
mov byte [ebp - 0x7c], al
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp dword [ebp - 0x118], 1
sete al
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x104]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x114]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.004ce560
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 8], 7
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call fcn.004b5800
sub esp, 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x10c]
mov dword [esp + 4], 1
movzx eax, word [eax + 4]
shr ax, 6
movzx eax, al
mov dword [esp], eax
call fcn.0049e800
sub esp, 8
cmp eax, 0x7fffffff
mov esi, eax
je 0x4a4a3a
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 8], 0xb
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5800
sub esp, 0x10
cmp esi, 9
je 0x4a5040
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
cmp byte [eax + 0x3a], 0
jne 0x4a4bb7
mov eax, dword [ebp - 0xec]
add dword [ebp - 0xfc], 1
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edx
sar eax, 2
imul eax, eax, 0xcccccccd
cmp dword [ebp - 0xfc], eax
jge 0x4a4de0
mov edi, dword [ebp - 0xfc]
mov ecx, dword [ebp + 8]
lea eax, [edi + edi*4]
mov ebx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x20]
cmp eax, 0xe
jne 0x4a43b8
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.00644a90
mov edi, dword [ebp - 0xfc]
mov edx, ebx
mov eax, dword [eax]
sub esp, 4
mov edi, dword [eax + edi*4]
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x5f0]
call fcn.0049f020
test al, al
jne 0x4a4a4b
jmp 0x4a43b8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x20]
cmp eax, 0xe
je 0x4a4afd
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x5f0]
cmp dword [eax + 8], 2
jne 0x4a45e2
movzx eax, byte [ebp - 0xbc]
test al, 8
jne 0x4a4b20
test al, 0x20
jne 0x4a53e8
test al, 0x10
jne 0x4a5572
test al, 0x40
jne 0x4a557c
test al, al
js 0x4a5423
test al, 4
jne 0x4a53de
test byte [ebp - 0xbb], 1
je 0x4a45e9
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xdc], 0x23
lea ecx, [eax + 0x8c]
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.0063e260
mov eax, 0x11
sub esp, 4
lea esi, [esi]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5800
sub esp, 0x10
jmp 0x4a45e2
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4a4f20
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
jmp 0x4a49d6
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 4], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp], eax
mov dword [esp + 8], 0x1482
call fcn.004b5800
mov edi, dword [ebp - 0x10c]
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0x1483
lea ecx, [edi + 0x8c]
sub esp, 0x10
mov dword [esp], eax
call fcn.0063e260
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x84]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], str.SPV_NV_geometry_shader_passthrough
call fcn.00600990
mov edx, dword [edi + 0x5c]
mov eax, edi
add eax, 0x58
mov dword [ebp - 0x120], eax
sub esp, 8
test edx, edx
je 0x4a4ed2
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x110], eax
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x118], eax
jmp 0x4a4c63
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x4a4cae
mov edx, eax
mov edi, dword [edx + 0x10]
mov dword [ebp - 0x104], edx
mov ebx, dword [edi - 0xc]
mov dword [esp + 4], edi
cmp esi, ebx
mov eax, ebx
cmovbe eax, esi
mov dword [ebp - 0x114], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov ecx, esi
mov edx, dword [ebp - 0x104]
sub ecx, ebx
test eax, eax
cmove eax, ecx
test eax, eax
js 0x4a4c55
mov eax, dword [edx + 0xc]
xor ecx, ecx
test eax, eax
jne 0x4a4c61
test cl, cl
mov eax, dword [ebp - 0x114]
jne 0x4a4ed4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x110]
sub ebx, esi
mov dword [esp], edi
mov dword [ebp - 0x104], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcmp
mov edx, dword [ebp - 0x104]
test eax, eax
cmove eax, ebx
test eax, eax
js 0x4a5430
mov edi, dword [ebp - 0x118]
mov eax, 0xffffffff
lock xadd dword [edi - 4], eax
test eax, eax
jg 0x4a4a4b
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0xd4]
mov dword [esp], eax
sub ecx, 0xc
call fcn.005ff250
sub esp, 4
jmp 0x4a4a4b
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 4]
and eax, 0x3f
cmp al, 6
jne 0x4a462c
lea edx, [ebp - 0x84]
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
call fcn.004a3540
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x84]
mov eax, ecx
sub eax, edx
sar eax, 2
test eax, eax
je 0x4a4dc9
mov dword [ebp - 0x104], ebx
mov ebx, dword [ebp - 0x108]
xor esi, esi
mov eax, dword [edx + esi*4]
cmp eax, 0x7fffffff
je 0x4a4db5
mov ecx, dword [ebp - 0x100]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.004b5800
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
sub esp, 0x10
mov eax, ecx
add esi, 1
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x4a4d81
mov ebx, dword [ebp - 0x104]
test edx, edx
je 0x4a462c
mov dword [esp], edx
call fcn.00654030
jmp 0x4a462c
mov eax, dword [ebp + 0x14]
movzx edx, byte [eax + 0xc]
mov eax, dword [ebp + 8]
and edx, 7
call fcn.0049d6d0
cmp eax, 0x7fffffff
je 0x4a4e1c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 8], 0xffffffff
mov dword [esp], eax
call fcn.004b56f0
sub esp, 0xc
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x5f0]
movzx ebx, byte [eax + 0x225]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x20]
cmp eax, 0xe
je 0x4a5517
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x30]
movzx edx, byte [eax + 0x27]
movzx eax, byte [eax + 0x28]
shr dl, 7
and eax, 0x7f
movzx edx, dl
add eax, eax
or eax, edx
cmp al, 0xff
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x5f0]
je 0x4a4e80
cmp byte [eax + 0x1f9], 0
jne 0x4a50d5
cmp byte [eax + 0x1f8], 0
jne 0x4a5152
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x4a4e9f
mov dword [esp], eax
call fcn.00654030
mov eax, dword [ebp - 0x108]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x100]
lea eax, [ebp + 0xc]
mov dword [esp], eax
call fcn.00644a90
mov eax, dword [eax]
sub esp, 4
mov dword [eax + ebx*4], 0xffffffff
jmp 0x4a40f8
mov edx, eax
mov eax, dword [ebp - 0x10c]
mov esi, dword [eax + 0x60]
cmp esi, edx
je 0x4a543a
mov dword [esp], edx
mov dword [ebp - 0x104], edx
call fcn.0064b3d0
mov edx, dword [ebp - 0x104]
mov edi, dword [eax + 0x10]
mov eax, dword [ebp - 0x84]
mov ebx, dword [edi - 0xc]
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x118], eax
mov eax, ebx
cmp esi, ebx
cmovbe eax, esi
jmp 0x4a4cbc
movzx eax, byte [ebp - 0xb8]
mov ecx, ebx
mov esi, eax
mov eax, dword [ebx]
and esi, 7
call dword [eax + 0x30]
cmp dword [eax + 0x10], 0xffffffff
je 0x4a4f49
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x124], eax
xor eax, eax
cmp dword [ebp + 0x10], 2
mov dword [esp], ebx
sete al
mov ecx, eax
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x114], eax
mov dword [esp + 8], eax
lea eax, [ebp - 0xd8]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x110], eax
call fcn.004ce560
mov esi, eax
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x5f0]
cmp byte [eax + 0x224], 0
jne 0x4a5300
mov ecx, dword [ebp - 0x124]
xor eax, eax
mov dword [esp], ebx
test ecx, ecx
cmovns eax, ecx
lea ecx, [esi + eax - 1]
mov eax, dword [ebp - 0xd8]
neg esi
and ecx, esi
mov dword [esp + 8], ecx
mov dword [ebp - 0x118], ecx
mov dword [esp + 4], eax
call fcn.004cc4e0
mov ecx, dword [ebp - 0x118]
test al, al
je 0x4a4fee
add ecx, 0xf
and ecx, 0xfffffff0
mov eax, dword [ebp - 0xd8]
add eax, ecx
test ecx, ecx
mov dword [ebp - 0x124], eax
js 0x4a5027
mov eax, dword [ebp - 0x108]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x100]
mov dword [esp + 8], 0x23
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5800
sub esp, 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
test al, al
jne 0x4a477a
jmp 0x4a49d6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
cmp byte [eax + 0x3b], 0
jne 0x4a5360
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
cmp dword [eax + 0x3c], 0xfffff800
je 0x4a4a3a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov esi, dword [ebp - 0x100]
mov ecx, esi
mov eax, dword [eax + 0x3c]
mov dword [esp + 8], 0x1488
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call fcn.004b5800
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xe4], 0x148b
lea ecx, [eax + 0x8c]
lea eax, [ebp - 0xe4]
sub esp, 0x10
mov dword [esp], eax
call fcn.0063e260
mov ecx, esi
sub esp, 4
mov dword [esp], str.SPV_NV_stereo_view_rendering
call fcn.005a27f0
sub esp, 4
jmp 0x4a4a3a
mov edi, dword [ebp - 0x10c]
lea eax, [ebp - 0x84]
mov dword [esp], eax
mov dword [ebp - 0x84], 0x36
lea ecx, [edi + 0x8c]
call fcn.0063e260
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 4
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x100]
movzx edx, byte [eax + 0x27]
movzx eax, byte [eax + 0x28]
mov dword [esp + 4], 0x1d
shr dl, 7
and eax, 0x7f
movzx edx, dl
add eax, eax
or eax, edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call fcn.004b56f0
mov eax, dword [edi + 0x5f0]
sub esp, 0xc
cmp byte [eax + 0x1f8], 0
je 0x4a4e8d
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xc4]
mov dword [esp], eax
mov dword [ebp - 0xc4], 0x35
add ecx, 0x8c
call fcn.0063e260
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 4
call dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
and eax, 0x1ff80
cmp eax, 0x1ff80
je 0x4a51cc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x100]
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], 0x25
shr eax, 7
and eax, 0x3ff
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call fcn.004b56f0
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x30]
movzx eax, word [eax + 0x28]
and ax, 0x780
cmp ax, 0x780
je 0x4a4e8d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x100]
movzx eax, word [eax + 0x28]
mov dword [esp + 4], 0x24
shr ax, 7
and eax, 0xf
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call fcn.004b56f0
sub esp, 0xc
jmp 0x4a4e8d
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
movzx eax, byte [eax + 0xc]
and eax, 7
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*8]
shl eax, 3
lea ecx, [eax + edx*8 + 0x650]
xor edx, edx
add ecx, dword [ebp - 0x10c]
mov esi, dword [ecx + 0xc]
lea eax, [ecx + 8]
mov dword [ebp - 0x104], eax
mov eax, edi
div esi
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xfc], edx
test eax, eax
je 0x4a5293
mov ecx, dword [eax]
mov ebx, dword [ecx + 4]
cmp edi, ebx
je 0x4a5507
mov ecx, dword [ecx]
test ecx, ecx
je 0x4a5293
mov ebx, dword [ecx + 4]
xor edx, edx
mov eax, ebx
div esi
cmp dword [ebp - 0xfc], edx
je 0x4a5274
mov dword [esp], 0xc
call fcn.006540e0
test eax, eax
je 0x4a52b6
mov dword [eax], 0
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x104]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00601700
mov edi, dword [ebp + 0xc]
sub esp, 0xc
lea ecx, [eax + 8]
jmp 0x4a550a
lea eax, [ebp - 0xc4]
mov dword [esp], eax
lea ecx, [ebp - 0xd0]
call fcn.0063d2d0
sub esp, 4
jmp 0x4a40f8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
test al, al
jne 0x4a4fad
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x64]
test al, al
je 0x4a4fad
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [esp], 0x6a7b44
mov ecx, eax
call fcn.005d3a20
sub esp, 4
test eax, eax
je 0x4a4fad
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004cc470
cmp eax, 4
cmovle esi, eax
jmp 0x4a4fad
mov eax, dword [ebp - 0x108]
mov esi, dword [ebp - 0x100]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x1484
mov dword [esp], eax
mov ecx, esi
mov dword [esp + 4], edi
call fcn.004b5800
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xe0], 0x1487
lea ecx, [eax + 0x8c]
lea eax, [ebp - 0xe0]
sub esp, 0x10
mov dword [esp], eax
call fcn.0063e260
mov ecx, esi
sub esp, 4
mov dword [esp], str.SPV_NV_viewport_array2
call fcn.005a27f0
mov eax, dword [ebx]
mov ecx, ebx
sub esp, 4
call dword [eax + 0x2c]
cmp dword [eax + 0x3c], 0xfffff800
jne 0x4a5065
jmp 0x4a4a3a
mov eax, 0x10
jmp 0x4a4b70
mov eax, 0xd
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004b5800
movzx eax, byte [ebp - 0xbc]
sub esp, 0x10
test al, al
jns 0x4a4b28
mov eax, 0xf
jmp 0x4a4b70
test edx, edx
je 0x4a55ac
mov esi, edx
cmp dword [ebp - 0x120], esi
je 0x4a55a2
mov edx, dword [esi + 0x10]
mov eax, dword [ebp - 0x84]
mov ebx, dword [edx - 0xc]
mov edi, dword [eax - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
cmp ebx, edi
mov ecx, edi
cmovbe ecx, ebx
sub edi, ebx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcmp
test eax, eax
cmove eax, edi
mov ebx, eax
shr ebx, 0x1f
mov dword [esp], 0x14
call fcn.006540e0
test eax, eax
mov edi, eax
je 0x4a54d2
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x84]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0xd4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005febb0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x120]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.0064c8a0
mov eax, dword [ebp - 0x10c]
add dword [eax + 0x68], 1
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x118], eax
jmp 0x4a4ced
add ecx, 8
mov eax, dword [ebp - 0x108]
mov dword [ecx], eax
jmp 0x4a4376
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x30]
movzx eax, byte [eax + 4]
and eax, 0x3f
cmp eax, 3
jl 0x4a4e43
cmp eax, 5
jle 0x4a559b
cmp eax, 6
jne 0x4a4e43
cmp bl, 1
sbb eax, eax
not eax
add eax, 3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x100]
mov dword [esp + 8], 0xffffffff
mov dword [esp], eax
call fcn.004b56f0
sub esp, 0xc
jmp 0x4a4e43
mov eax, 0xe
jmp 0x4a53ed
mov ecx, dword [ebp - 0x100]
mov dword [esp], str.SPV_AMD_shader_explicit_vertex_parameter
call fcn.005a27f0
mov eax, 0x1387
sub esp, 4
jmp 0x4a53ed
mov eax, 2
jmp 0x4a554a
mov ebx, 1
jmp 0x4a5478
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
jmp 0x4a4ced