Function at 0x10087550
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d988
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.10047950
lea eax, [ebp - 0x5c]
push eax
call fcn.10066000
mov dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0
je 0x1008794c
cmp dword [ebp - 0x5c], 0
je 0x1008794c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x1008794c
lea eax, [ebp - 0xa5]
mov dword [ebp - 0x6c], 0
push 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], eax
call fcn.10048f80
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.10048350
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 0x100876c2
xor esi, esi
mov dword [ebp - 0x60], esi
test ecx, ecx
je 0x100876c2
nop
xor esi, esi
mov ch, 1
test eax, eax
je 0x100877b2
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 0x10087680
mov edi, dword [ebp - 0x68]
test ch, ch
jne 0x100877b2
mov eax, dword [ebp - 0x60]
inc eax
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
jb 0x10087670
lea ecx, [ebp - 0xa0]
call fcn.100448c0
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x100876e8
inc eax
push eax
push dword [ebp - 0x9c]
call fcn.10049010
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.10049010
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 0x1008776a
mov eax, ecx
shr eax, 8
cmp al, 0x54
jne 0x1008776a
mov eax, ecx
shr eax, 0x10
cmp al, 0x46
jne 0x1008776a
shr ecx, 0x18
cmp cl, 3
je 0x10087783
cmp dword [edi + 0x3c], 0x10
lea eax, [edi + 0x28]
jb 0x10087775
mov eax, dword [eax]
push eax
push str.N3Texture_Warning___Old_format_DXT_file___s__n
call fcn.10082e50
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 0x100877e0
mov eax, dword [0x102628f0]
and eax, 1
mov dword [ebp - 0x60], eax
mov eax, 0x19
cmove ecx, eax
jmp 0x1008786b
lea ecx, [ebp - 0xa0]
call fcn.100448c0
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x100877d8
inc eax
push eax
push dword [ebp - 0x9c]
call fcn.10049010
add esp, 8
mov esi, dword [ebp - 0x60]
jmp 0x100876ea
cmp ecx, 0x32545844
jne 0x10087805
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 2
cmove ecx, edx
test eax, 2
setne al
mov byte [ebp - 0x60], al
jmp 0x1008786b
cmp ecx, 0x33545844
jne 0x1008782a
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 4
cmove ecx, edx
test eax, 4
setne al
mov byte [ebp - 0x60], al
jmp 0x1008786b
cmp ecx, 0x34545844
jne 0x1008784f
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 8
cmove ecx, edx
test eax, 8
setne al
mov byte [ebp - 0x60], al
jmp 0x1008786b
cmp ecx, 0x35545844
jne 0x1008786e
test byte [0x102628f0], 0x10
je 0x10087866
mov byte [ebp - 0x60], 1
jmp 0x1008786e
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 0x100878a5
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 0x10087903
cmp dword [ebp - 0xb4], 0x10
jl 0x10087903
cmp dword [ebp - 0x7c], 0x10
jl 0x10087903
mov eax, dword [ebp - 0x70]
test eax, eax
jle 0x10087911
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 0x100878d2
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 0x10087911
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.10086ef0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x44], ecx
mov ecx, dword [eax + 0x5c]
test ecx, ecx
jne 0x100879af
cmp dword [eax + 0x3c], 0x10
lea ecx, [eax + 0x28]
jb 0x1008793e
mov ecx, dword [ecx]
push ecx
push str.N3Texture_error___Cant_create_texture___s__n
call fcn.10082e50
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.100448c0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10087969
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10049010
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.10049010
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.101204c0
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 0x10087b55
cmp edi, 0x32545844
je 0x10087b55
cmp edi, 0x33545844
je 0x10087b55
cmp edi, 0x34545844
je 0x10087b55
cmp edi, 0x35545844
je 0x10087b55
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], 0
cmp eax, 0x19
je 0x10087a47
cmp eax, 0x1a
je 0x10087a47
cmp eax, 0x14
jne 0x10087a16
mov dword [ebp - 0x60], 3
jmp 0x10087a4e
cmp eax, 0x15
je 0x10087a3e
cmp eax, 0x16
je 0x10087a3e
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.10082e50
add esp, 0x10
jmp 0x10087a4e
mov dword [ebp - 0x60], 4
jmp 0x10087a4e
mov dword [ebp - 0x60], 2
cmp dword [ebp - 0x70], 1
mov edi, dword [ebp - 0x68]
jle 0x10087adf
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 0x10087abf
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 0x10087a90
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 0x10087a60
jmp 0x10087d5f
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 0x10087b45
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 0x10087b14
mov edi, dword [ebp - 0x68]
mov eax, dword [edi + 0x5c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
jmp 0x10087d5f
cmp byte [ebp - 0x60], 1
jne 0x10087cc3
cmp eax, 1
jle 0x10087c22
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 0x10087bd1
je 0x10087bc8
cmp eax, 0x31545844
je 0x10087bbd
cmp eax, 0x32545844
je 0x10087daa
jmp 0x10087be7
mov edi, dword [ebp - 0x14]
imul edi, dword [ebp - 0x18]
shr edi, 1
jmp 0x10087be7
mov edi, dword [ebp - 0x14]
imul edi, dword [ebp - 0x18]
jmp 0x10087be7
cmp eax, 0x34545844
je 0x10087de6
cmp eax, 0x35545844
je 0x10087dc8
push edi
push esi
push dword [ebp - 0x80]
call fcn.10122d50
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 0x10087b70
jmp 0x10087d5f
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 0x10087c83
je 0x10087c7a
cmp edi, 0x31545844
je 0x10087c6f
cmp edi, 0x32545844
je 0x10087daa
jmp 0x10087c9b
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
shr eax, 1
jmp 0x10087c9b
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
jmp 0x10087c9b
cmp edi, 0x34545844
je 0x10087de6
cmp edi, 0x35545844
je 0x10087dc8
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 0x10087d5f
cmp eax, 1
jle 0x10087d5f
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 0x10087d40
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 0x10087d10
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 0x10087cd4
lea ecx, [ebp - 0x58]
call fcn.100448c0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10087d7c
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10049010
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.10049010
add esp, 8
mov al, 1
jmp 0x10087992
push str.ERROR:_D3DFMT_DXT2_n
call fcn.10082e50
push str.pause
call fcn.10141501
add esp, 8
push 0xffffffffffffffff
call fcn.101400a0
push str.ERROR:_D3DFMT_DXT5_n
call fcn.10082e50
push str.pause
call fcn.10141501
add esp, 8
push 0xffffffffffffffff
call fcn.101400a0
push str.ERROR:_D3DFMT_DXT4_n
call fcn.10082e50
push str.pause
call fcn.10141501
add esp, 8
push 0xffffffffffffffff
call fcn.101400a0
int3