Function at 0x10086a90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ccf8
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub esp, 0x1c
mov dword [ebp - 0xa4], eax
mov edx, esp
lea ecx, [edi + 0x24]
push ecx
mov ecx, edx
call fcn.10046ed0
lea eax, [ebp - 0x5c]
push eax
call fcn.10065530
mov dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0
je 0x10086e8c
cmp dword [ebp - 0x5c], 0
je 0x10086e8c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x10086e8c
lea eax, [ebp - 0xa5]
mov dword [ebp - 0x6c], 0
push 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], eax
call fcn.100484a0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 1
push 3
push 0x101bd5f8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
call fcn.10047890
mov byte [ebp - 4], 0
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 0x10
mov ecx, dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
cmp eax, ecx
ja 0x10086c02
xor esi, esi
mov dword [ebp - 0x60], esi
test ecx, ecx
je 0x10086c02
nop
xor esi, esi
mov ch, 1
test eax, eax
je 0x10086cf2
mov edi, dword [ebp - 0x60]
nop
mov edx, dword [ebp - 0x70]
lea eax, [esi + edi]
mov edi, dword [ebp - 0x7c]
mov cl, byte [eax + edx]
xor edx, edx
cmp cl, byte [edi + esi]
mov edi, dword [ebp - 0x60]
movzx eax, ch
cmove edx, eax
inc esi
mov ch, dl
cmp esi, dword [ebp - 0x8c]
jb 0x10086bc0
mov edi, dword [ebp - 0x68]
test ch, ch
jne 0x10086cf2
mov eax, dword [ebp - 0x60]
inc eax
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
jb 0x10086bb0
lea ecx, [ebp - 0xa0]
call fcn.10043e40
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x10086c28
inc eax
push eax
push dword [ebp - 0x9c]
call fcn.10048530
add esp, 8
xor esi, esi
mov eax, dword [ebp - 0xa0]
push 8
push eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
call fcn.10048530
add esi, dword [ebp - 0x70]
add esp, 8
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x6c]
add eax, 0x14
movd ecx, xmm0
add esi, eax
mov dword [ebp - 0x6c], eax
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0xb8], esi
cmp cl, 0x4e
jne 0x10086caa
mov eax, ecx
shr eax, 8
cmp al, 0x54
jne 0x10086caa
mov eax, ecx
shr eax, 0x10
cmp al, 0x46
jne 0x10086caa
shr ecx, 0x18
cmp cl, 3
je 0x10086cc3
cmp dword [edi + 0x3c], 0x10
lea eax, [edi + 0x28]
jb 0x10086cb5
mov eax, dword [eax]
push eax
push str.N3Texture_Warning___Old_format_DXT_file___s__n
call fcn.10082390
add esp, 8
mov edi, dword [ebp - 0x8c]
mov ecx, edi
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x78], ecx
cmp ecx, 0x31545844
jne 0x10086d20
mov eax, dword [0x102628f0]
and eax, 1
mov dword [ebp - 0x60], eax
mov eax, 0x19
cmove ecx, eax
jmp 0x10086dab
lea ecx, [ebp - 0xa0]
call fcn.10043e40
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x10086d18
inc eax
push eax
push dword [ebp - 0x9c]
call fcn.10048530
add esp, 8
mov esi, dword [ebp - 0x60]
jmp 0x10086c2a
cmp ecx, 0x32545844
jne 0x10086d45
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 2
cmove ecx, edx
test eax, 2
setne al
mov byte [ebp - 0x60], al
jmp 0x10086dab
cmp ecx, 0x33545844
jne 0x10086d6a
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 4
cmove ecx, edx
test eax, 4
setne al
mov byte [ebp - 0x60], al
jmp 0x10086dab
cmp ecx, 0x34545844
jne 0x10086d8f
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 8
cmove ecx, edx
test eax, 8
setne al
mov byte [ebp - 0x60], al
jmp 0x10086dab
cmp ecx, 0x35545844
jne 0x10086dae
test byte [0x102628f0], 0x10
je 0x10086da6
mov byte [ebp - 0x60], 1
jmp 0x10086dae
mov ecx, 0x1a
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], eax
cmp ecx, edi
je 0x10086de5
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
cdq
sub eax, edx
mov edx, dword [ebp - 0x64]
sar eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x70], eax
dec eax
cmp eax, 1
ja 0x10086e43
cmp dword [ebp - 0xb4], 0x10
jl 0x10086e43
cmp dword [ebp - 0x7c], 0x10
jl 0x10086e43
mov eax, dword [ebp - 0x70]
test eax, eax
jle 0x10086e51
mov edi, dword [ebp - 0x64]
mov esi, eax
mov ecx, dword [ebp - 0x74]
mov eax, edi
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
sar edi, 1
mov ecx, eax
sar ecx, 1
sub esi, 1
jne 0x10086e12
mov esi, dword [ebp - 0xb8]
mov dword [ebp - 0x64], edi
mov edi, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x68]
jmp 0x10086e51
mov dword [ecx + 0x44], 0
mov dword [ebp - 0x70], 0
push dword [ebp - 0xac]
push dword [ebp - 0x78]
push dword [ebp - 0x74]
push edx
call fcn.10086430
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x44], ecx
mov ecx, dword [eax + 0x5c]
test ecx, ecx
jne 0x10086eef
cmp dword [eax + 0x3c], 0x10
lea ecx, [eax + 0x28]
jb 0x10086e7e
mov ecx, dword [ecx]
push ecx
push str.N3Texture_error___Cant_create_texture___s__n
call fcn.10082390
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.10043e40
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10086ea9
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x58]
push 8
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.10048530
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx]
push ecx
call dword [eax + 0x34]
mov dword [ebp - 0x70], eax
cmp edi, 0x31545844
je 0x10087095
cmp edi, 0x32545844
je 0x10087095
cmp edi, 0x33545844
je 0x10087095
cmp edi, 0x34545844
je 0x10087095
cmp edi, 0x35545844
je 0x10087095
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], 0
cmp eax, 0x19
je 0x10086f87
cmp eax, 0x1a
je 0x10086f87
cmp eax, 0x14
jne 0x10086f56
mov dword [ebp - 0x60], 3
jmp 0x10086f8e
cmp eax, 0x15
je 0x10086f7e
cmp eax, 0x16
je 0x10086f7e
push 0x194
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3Texture.cpp
push str.Not_supported_texture_format
push str.ERROR____s_n_s:__d_n_n
call fcn.10082390
add esp, 0x10
jmp 0x10086f8e
mov dword [ebp - 0x60], 4
jmp 0x10086f8e
mov dword [ebp - 0x60], 2
cmp dword [ebp - 0x70], 1
mov edi, dword [ebp - 0x68]
jle 0x1008701f
xor edx, edx
mov dword [ebp - 0x64], edx
mov eax, dword [edi + 0x5c]
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [edi + 0x5c]
lea edx, [ebp - 0x84]
push 0
push 0
push edx
push dword [ebp - 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
xor edi, edi
cmp dword [ebp - 0x14], edi
jle 0x10086fff
nop
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x18]
push eax
mov eax, edi
imul eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x80]
push eax
push esi
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esi, dword [ebp - 0x6c]
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x10086fd0
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x64]
mov eax, dword [edi + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x64]
inc edx
mov dword [ebp - 0x64], edx
cmp edx, dword [ebp - 0x70]
jl 0x10086fa0
jmp 0x1008729f
mov eax, dword [edi + 0x5c]
lea edx, [ebp - 0x30]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [edi + 0x5c]
lea edx, [ebp - 0x84]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x4c]
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x14], ecx
jle 0x10087085
mov edi, dword [ebp - 0xa4]
imul ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x18]
add ecx, dword [ebp - 0x80]
push eax
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x7c]
add esi, dword [ebp - 0x6c]
inc ecx
mov dword [ebp - 0x7c], ecx
cmp ecx, dword [ebp - 0x14]
jl 0x10087054
mov edi, dword [ebp - 0x68]
mov eax, dword [edi + 0x5c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
jmp 0x1008729f
cmp byte [ebp - 0x60], 1
jne 0x10087203
cmp eax, 1
jle 0x10087162
mov edi, dword [ebp - 0x68]
xor edx, edx
mov dword [ebp - 0x74], edx
mov eax, dword [edi + 0x5c]
lea edi, [ebp - 0x30]
push edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edi, dword [ebp - 0x68]
lea edx, [ebp - 0x84]
push 0
push 0
push edx
mov eax, dword [edi + 0x5c]
push dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x8c]
xor edi, edi
cmp eax, 0x33545844
jg 0x10087111
je 0x10087108
cmp eax, 0x31545844
je 0x100870fd
cmp eax, 0x32545844
je 0x100872ea
jmp 0x10087127
mov edi, dword [ebp - 0x14]
imul edi, dword [ebp - 0x18]
shr edi, 1
jmp 0x10087127
mov edi, dword [ebp - 0x14]
imul edi, dword [ebp - 0x18]
jmp 0x10087127
cmp eax, 0x34545844
je 0x10087326
cmp eax, 0x35545844
je 0x10087308
push edi
push esi
push dword [ebp - 0x80]
call fcn.10122110
mov eax, dword [ebp - 0x6c]
add esp, 0xc
add eax, edi
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
add esi, eax
push dword [ebp - 0x74]
mov eax, dword [edi + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x74]
inc edx
mov dword [ebp - 0x74], edx
cmp edx, dword [ebp - 0x70]
jl 0x100870b0
jmp 0x1008729f
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x30]
push edx
push 0
mov eax, dword [eax + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0x84]
push 0
push 0
push edx
mov eax, dword [ecx + 0x5c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor eax, eax
cmp edi, 0x33545844
jg 0x100871c3
je 0x100871ba
cmp edi, 0x31545844
je 0x100871af
cmp edi, 0x32545844
je 0x100872ea
jmp 0x100871db
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
shr eax, 1
jmp 0x100871db
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
jmp 0x100871db
cmp edi, 0x34545844
je 0x10087326
cmp edi, 0x35545844
je 0x10087308
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp - 0x80]
push esi
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x68]
push 0
mov eax, dword [ecx + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
jmp 0x1008729f
cmp eax, 1
jle 0x1008729f
mov edi, dword [ebp - 0x68]
xor edx, edx
mov dword [ebp - 0x64], edx
mov eax, dword [edi + 0x5c]
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [edi + 0x5c]
lea edx, [ebp - 0x84]
push 0
push 0
push edx
push dword [ebp - 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0xac], eax
test eax, eax
jle 0x10087280
nop dword [eax + eax]
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
mov eax, dword [ebp - 0x84]
imul eax, edi
add eax, dword [ebp - 0x80]
push eax
push esi
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esi, dword [ebp - 0x6c]
inc edi
cmp edi, dword [ebp - 0xac]
jl 0x10087250
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x64]
mov eax, dword [edi + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x64]
inc edx
mov dword [ebp - 0x64], edx
cmp edx, dword [ebp - 0x70]
jl 0x10087214
lea ecx, [ebp - 0x58]
call fcn.10043e40
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x100872bc
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x58]
push 8
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.10048530
add esp, 8
mov al, 1
jmp 0x10086ed2
push str.ERROR:_D3DFMT_DXT2_n
call fcn.10082390
push str.pause
call fcn.101408b1
add esp, 8
push 0xffffffffffffffff
call fcn.1013f450
push str.ERROR:_D3DFMT_DXT5_n
call fcn.10082390
push str.pause
call fcn.101408b1
add esp, 8
push 0xffffffffffffffff
call fcn.1013f450
push str.ERROR:_D3DFMT_DXT4_n
call fcn.10082390
push str.pause
call fcn.101408b1
add esp, 8
push 0xffffffffffffffff
call fcn.1013f450
int3