Function at 0x100873e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d6e8
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.10047840
lea eax, [ebp - 0x5c]
push eax
call fcn.10065ea0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0
je 0x100877dc
cmp dword [ebp - 0x5c], 0
je 0x100877dc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x100877dc
lea eax, [ebp - 0xa5]
mov dword [ebp - 0x6c], 0
push 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], eax
call fcn.10048e10
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.10048200
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 0x10087552
xor esi, esi
mov dword [ebp - 0x60], esi
test ecx, ecx
je 0x10087552
nop
xor esi, esi
mov ch, 1
test eax, eax
je 0x10087642
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 0x10087510
mov edi, dword [ebp - 0x68]
test ch, ch
jne 0x10087642
mov eax, dword [ebp - 0x60]
inc eax
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
jb 0x10087500
lea ecx, [ebp - 0xa0]
call fcn.100447b0
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x10087578
inc eax
push eax
push dword [ebp - 0x9c]
call fcn.10048ea0
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.10048ea0
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 0x100875fa
mov eax, ecx
shr eax, 8
cmp al, 0x54
jne 0x100875fa
mov eax, ecx
shr eax, 0x10
cmp al, 0x46
jne 0x100875fa
shr ecx, 0x18
cmp cl, 3
je 0x10087613
cmp dword [edi + 0x3c], 0x10
lea eax, [edi + 0x28]
jb 0x10087605
mov eax, dword [eax]
push eax
push str.N3Texture_Warning___Old_format_DXT_file___s__n
call fcn.10082cd0
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 0x10087670
mov eax, dword [0x102628f0]
and eax, 1
mov dword [ebp - 0x60], eax
mov eax, 0x19
cmove ecx, eax
jmp 0x100876fb
lea ecx, [ebp - 0xa0]
call fcn.100447b0
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x10087668
inc eax
push eax
push dword [ebp - 0x9c]
call fcn.10048ea0
add esp, 8
mov esi, dword [ebp - 0x60]
jmp 0x1008757a
cmp ecx, 0x32545844
jne 0x10087695
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 2
cmove ecx, edx
test eax, 2
setne al
mov byte [ebp - 0x60], al
jmp 0x100876fb
cmp ecx, 0x33545844
jne 0x100876ba
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 4
cmove ecx, edx
test eax, 4
setne al
mov byte [ebp - 0x60], al
jmp 0x100876fb
cmp ecx, 0x34545844
jne 0x100876df
mov eax, dword [0x102628f0]
mov edx, 0x1a
and eax, 8
cmove ecx, edx
test eax, 8
setne al
mov byte [ebp - 0x60], al
jmp 0x100876fb
cmp ecx, 0x35545844
jne 0x100876fe
test byte [0x102628f0], 0x10
je 0x100876f6
mov byte [ebp - 0x60], 1
jmp 0x100876fe
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 0x10087735
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 0x10087793
cmp dword [ebp - 0xb4], 0x10
jl 0x10087793
cmp dword [ebp - 0x7c], 0x10
jl 0x10087793
mov eax, dword [ebp - 0x70]
test eax, eax
jle 0x100877a1
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 0x10087762
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 0x100877a1
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.10086d80
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x44], ecx
mov ecx, dword [eax + 0x5c]
test ecx, ecx
jne 0x1008783f
cmp dword [eax + 0x3c], 0x10
lea ecx, [eax + 0x28]
jb 0x100877ce
mov ecx, dword [ecx]
push ecx
push str.N3Texture_error___Cant_create_texture___s__n
call fcn.10082cd0
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.100447b0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x100877f9
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10048ea0
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.10048ea0
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.10120250
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 0x100879e5
cmp edi, 0x32545844
je 0x100879e5
cmp edi, 0x33545844
je 0x100879e5
cmp edi, 0x34545844
je 0x100879e5
cmp edi, 0x35545844
je 0x100879e5
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], 0
cmp eax, 0x19
je 0x100878d7
cmp eax, 0x1a
je 0x100878d7
cmp eax, 0x14
jne 0x100878a6
mov dword [ebp - 0x60], 3
jmp 0x100878de
cmp eax, 0x15
je 0x100878ce
cmp eax, 0x16
je 0x100878ce
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.10082cd0
add esp, 0x10
jmp 0x100878de
mov dword [ebp - 0x60], 4
jmp 0x100878de
mov dword [ebp - 0x60], 2
cmp dword [ebp - 0x70], 1
mov edi, dword [ebp - 0x68]
jle 0x1008796f
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 0x1008794f
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 0x10087920
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 0x100878f0
jmp 0x10087bef
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 0x100879d5
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 0x100879a4
mov edi, dword [ebp - 0x68]
mov eax, dword [edi + 0x5c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
jmp 0x10087bef
cmp byte [ebp - 0x60], 1
jne 0x10087b53
cmp eax, 1
jle 0x10087ab2
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 0x10087a61
je 0x10087a58
cmp eax, 0x31545844
je 0x10087a4d
cmp eax, 0x32545844
je 0x10087c3a
jmp 0x10087a77
mov edi, dword [ebp - 0x14]
imul edi, dword [ebp - 0x18]
shr edi, 1
jmp 0x10087a77
mov edi, dword [ebp - 0x14]
imul edi, dword [ebp - 0x18]
jmp 0x10087a77
cmp eax, 0x34545844
je 0x10087c76
cmp eax, 0x35545844
je 0x10087c58
push edi
push esi
push dword [ebp - 0x80]
call fcn.10122ae0
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 0x10087a00
jmp 0x10087bef
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 0x10087b13
je 0x10087b0a
cmp edi, 0x31545844
je 0x10087aff
cmp edi, 0x32545844
je 0x10087c3a
jmp 0x10087b2b
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
shr eax, 1
jmp 0x10087b2b
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
jmp 0x10087b2b
cmp edi, 0x34545844
je 0x10087c76
cmp edi, 0x35545844
je 0x10087c58
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 0x10087bef
cmp eax, 1
jle 0x10087bef
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 0x10087bd0
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 0x10087ba0
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 0x10087b64
lea ecx, [ebp - 0x58]
call fcn.100447b0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10087c0c
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov al, 1
jmp 0x10087822
push str.ERROR:_D3DFMT_DXT2_n
call fcn.10082cd0
push str.pause
call fcn.10141291
add esp, 8
push 0xffffffffffffffff
call fcn.1013fe30
push str.ERROR:_D3DFMT_DXT5_n
call fcn.10082cd0
push str.pause
call fcn.10141291
add esp, 8
push 0xffffffffffffffff
call fcn.1013fe30
push str.ERROR:_D3DFMT_DXT4_n
call fcn.10082cd0
push str.pause
call fcn.10141291
add esp, 8
push 0xffffffffffffffff
call fcn.1013fe30
int3