Function at 0x100aa5d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101af6fd
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10245db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xc8], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe8], esp
mov eax, dword [ebp - 0x74]
add eax, 0x24
push eax
call fcn.10045280
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [0x1024ca1c]
call fcn.10083210
mov dword [ebp - 0xec], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0
je 0x100aa656
cmp dword [ebp - 0x70], 0
je 0x100aa656
cmp dword [ebp - 0x48], 0
jne 0x100aa677
mov byte [ebp - 0x85], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10083870
mov al, byte [ebp - 0x85]
jmp 0x100ab07e
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0x80], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x101fd324
call fcn.100450b0
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov ecx, dword [0x1024ca1c]
call fcn.10083060
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], edx
mov eax, 1
imul ecx, eax, 0
add ecx, dword [ebp - 0xd4]
add ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x80]
add eax, 0x14
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], ecx
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x24]
cmp ecx, 0x4e
jne 0x100aa754
mov edx, 1
shl edx, 0
movsx eax, byte [ebp + edx - 0x24]
cmp eax, 0x54
jne 0x100aa754
mov ecx, 1
shl ecx, 1
movsx edx, byte [ebp + ecx - 0x24]
cmp edx, 0x46
jne 0x100aa754
mov eax, 1
imul ecx, eax, 3
movsx edx, byte [ebp + ecx - 0x24]
cmp edx, 3
je 0x100aa76d
mov ecx, dword [ebp - 0x74]
add ecx, 0x24
call fcn.10044d80
push eax
push 0x101fd328
call fcn.100a3500
add esp, 8
mov byte [ebp - 0x75], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x18], 0x31545844
jne 0x100aa7a3
mov ecx, dword [0x1024c288]
and ecx, 1
je 0x100aa794
mov byte [ebp - 0x75], 1
jmp 0x100aa79e
mov dword [ebp - 0x84], 0x19
jmp 0x100aa838
cmp dword [ebp - 0x18], 0x32545844
jne 0x100aa7c9
mov edx, dword [0x1024c288]
and edx, 2
je 0x100aa7bd
mov byte [ebp - 0x75], 1
jmp 0x100aa7c7
mov dword [ebp - 0x84], 0x1a
jmp 0x100aa838
cmp dword [ebp - 0x18], 0x33545844
jne 0x100aa7ee
mov eax, dword [0x1024c288]
and eax, 4
je 0x100aa7e2
mov byte [ebp - 0x75], 1
jmp 0x100aa7ec
mov dword [ebp - 0x84], 0x1a
jmp 0x100aa838
cmp dword [ebp - 0x18], 0x34545844
jne 0x100aa814
mov ecx, dword [0x1024c288]
and ecx, 8
je 0x100aa808
mov byte [ebp - 0x75], 1
jmp 0x100aa812
mov dword [ebp - 0x84], 0x1a
jmp 0x100aa838
cmp dword [ebp - 0x18], 0x35545844
jne 0x100aa838
mov edx, dword [0x1024c288]
and edx, 0x10
je 0x100aa82e
mov byte [ebp - 0x75], 1
jmp 0x100aa838
mov dword [ebp - 0x84], 0x1a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x84]
cmp edx, dword [ebp - 0x18]
je 0x100aa877
mov eax, dword [ebp - 0xb0]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x44], 0
jle 0x100aa8e4
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x44], 2
jg 0x100aa8e4
cmp dword [ebp - 0x20], 0x10
jl 0x100aa8e4
cmp dword [ebp - 0x1c], 0x10
jl 0x100aa8e4
mov dword [ebp - 0xd0], 0
jmp 0x100aa8b0
mov edx, dword [ebp - 0xd0]
add edx, 1
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [eax + 0x44]
jge 0x100aa8e2
mov eax, dword [ebp - 0xb0]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xac], eax
jmp 0x100aa8a1
jmp 0x100aa8ee
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.100a9f10
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xe0]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x5c], 0
jne 0x100aa96a
mov ecx, dword [ebp - 0x74]
add ecx, 0x24
call fcn.10044d80
push eax
push str.N3Texture_error___Cant_create_texture___s__n
call fcn.100a3500
add esp, 8
mov byte [ebp - 0x86], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10083870
mov al, byte [ebp - 0x86]
jmp 0x100ab07e
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x34]
call edx
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x18], 0x31545844
je 0x100aa9b5
cmp dword [ebp - 0x18], 0x32545844
je 0x100aa9b5
cmp dword [ebp - 0x18], 0x33545844
je 0x100aa9b5
cmp dword [ebp - 0x18], 0x34545844
je 0x100aa9b5
cmp dword [ebp - 0x18], 0x35545844
jne 0x100aae23
movzx eax, byte [ebp - 0x75]
cmp eax, 1
jne 0x100aad13
cmp dword [ebp - 0x9c], 1
jle 0x100aab93
mov dword [ebp - 0x90], 0
jmp 0x100aa9ea
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
cmp edx, dword [ebp - 0x9c]
jge 0x100aab8e
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x44]
call ecx
push 0
push 0
lea edx, [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x4c]
call eax
mov dword [ebp - 0xb8], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x33545844
jg 0x100aaa89
cmp dword [ebp - 0x8c], 0x33545844
je 0x100aaadd
cmp dword [ebp - 0x8c], 0x31545844
je 0x100aaaa6
cmp dword [ebp - 0x8c], 0x32545844
je 0x100aaaba
jmp 0x100aab3f
cmp dword [ebp - 0x8c], 0x34545844
je 0x100aaaec
cmp dword [ebp - 0x8c], 0x35545844
je 0x100aab0f
jmp 0x100aab3f
mov edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x28]
shr edx, 1
mov dword [ebp - 0xb8], edx
jmp 0x100aab3f
push 0x101fd3d0
call fcn.100a3500
add esp, 4
push 0x101fd384
call fcn.10173b51
add esp, 4
push 0xffffffffffffffff
call fcn.101726f0
jmp 0x100aab3f
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], eax
jmp 0x100aab3f
push 0x101fd38c
call fcn.100a3500
add esp, 4
push 0x101fd400
call fcn.10173b51
add esp, 4
push 0xffffffffffffffff
call fcn.101726f0
jmp 0x100aab3f
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x28]
shl ecx, 1
mov dword [ebp - 0xb8], ecx
push 0x101fd408
call fcn.100a3500
add esp, 4
push 0x101fd3e4
call fcn.10173b51
add esp, 4
push 0xffffffffffffffff
call fcn.101726f0
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.10156a70
add esp, 0xc
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0xb8]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
jmp 0x100aa9db
jmp 0x100aad0e
lea edx, [ebp - 0x44]
push edx
push 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x44]
call edx
push 0
push 0
lea eax, [ebp - 0xa8]
push eax
push 0
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x4c]
call eax
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0x33545844
jg 0x100aac16
cmp dword [ebp - 0x94], 0x33545844
je 0x100aac6a
cmp dword [ebp - 0x94], 0x31545844
je 0x100aac33
cmp dword [ebp - 0x94], 0x32545844
je 0x100aac47
jmp 0x100aaccc
cmp dword [ebp - 0x94], 0x34545844
je 0x100aac79
cmp dword [ebp - 0x94], 0x35545844
je 0x100aac9c
jmp 0x100aaccc
mov edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x28]
shr edx, 1
mov dword [ebp - 0xcc], edx
jmp 0x100aaccc
push str.ERROR:_D3DFMT_DXT2_n
call fcn.100a3500
add esp, 4
push 0x101fd438
call fcn.10173b51
add esp, 4
push 0xffffffffffffffff
call fcn.101726f0
jmp 0x100aaccc
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0xcc], eax
jmp 0x100aaccc
push str.ERROR:_D3DFMT_DXT4_n
call fcn.100a3500
add esp, 4
push 0x101fd41c
call fcn.10173b51
add esp, 4
push 0xffffffffffffffff
call fcn.101726f0
jmp 0x100aaccc
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x28]
shl ecx, 1
mov dword [ebp - 0xcc], ecx
push str.ERROR:_D3DFMT_DXT5_n
call fcn.100a3500
add esp, 4
push 0x101fd488
call fcn.10173b51
add esp, 4
push 0xffffffffffffffff
call fcn.101726f0
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], ecx
push 0
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
jmp 0x100aae1e
cmp dword [ebp - 0x9c], 1
jle 0x100aae1e
mov dword [ebp - 0x98], 0
jmp 0x100aad3b
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x9c]
jge 0x100aae1e
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x44]
call edx
push 0
push 0
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x4c]
call ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xbc], 0
jmp 0x100aadb6
mov eax, dword [ebp - 0xbc]
add eax, 1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [ebp - 0xe4]
jge 0x100aadfe
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x2c]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xbc]
imul ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], ecx
jmp 0x100aada7
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x50]
call edx
jmp 0x100aad2c
jmp 0x100ab062
mov dword [ebp - 0xb4], 0
cmp dword [ebp - 0x84], 0x19
je 0x100aae3f
cmp dword [ebp - 0x84], 0x1a
jne 0x100aae4b
mov dword [ebp - 0xb4], 2
jmp 0x100aaea3
cmp dword [ebp - 0x84], 0x14
jne 0x100aae60
mov dword [ebp - 0xb4], 3
jmp 0x100aaea3
cmp dword [ebp - 0x84], 0x15
je 0x100aae72
cmp dword [ebp - 0x84], 0x16
jne 0x100aae7e
mov dword [ebp - 0xb4], 4
jmp 0x100aaea3
mov eax, 1
test eax, eax
je 0x100aaea3
push 0x194
push 0x101fd490
push 0x101fd454
push 0x101fd474
call fcn.100a3500
add esp, 0x10
cmp dword [ebp - 0x9c], 1
jle 0x100aafac
mov dword [ebp - 0xa0], 0
jmp 0x100aaecb
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0x9c]
jge 0x100aafa7
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x44]
call ecx
push 0
push 0
lea edx, [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x4c]
call eax
mov dword [ebp - 0xc0], 0
jmp 0x100aaf3d
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
cmp edx, dword [ebp - 0x28]
jge 0x100aaf87
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0xb4]
imul ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xc0]
imul edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x7c]
add edx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], edx
jmp 0x100aaf2e
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x50]
call eax
jmp 0x100aaebc
jmp 0x100ab062
lea ecx, [ebp - 0x44]
push ecx
push 0
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x44]
call ecx
push 0
push 0
lea edx, [ebp - 0xa8]
push edx
push 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x4c]
call edx
mov dword [ebp - 0xc4], 0
jmp 0x100ab002
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [ebp - 0x28]
jge 0x100ab04c
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xc4]
imul ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], ecx
jmp 0x100aaff3
push 0
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x5c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
mov byte [ebp - 0x87], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10083870
mov al, byte [ebp - 0x87]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10154220
mov esp, ebp
pop ebp
ret 4