Function at 0x100af130
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ba7cd
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x1024bdac]
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.10046070
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [0x10251b88]
call fcn.100852a0
mov dword [ebp - 0xec], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0
je 0x100af1b6
cmp dword [ebp - 0x70], 0
je 0x100af1b6
cmp dword [ebp - 0x48], 0
jne 0x100af1d7
mov byte [ebp - 0x85], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10085900
mov al, byte [ebp - 0x85]
jmp 0x100afbde
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 0x10207f58
call fcn.10045f80
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov ecx, dword [0x10251b88]
call fcn.100850f0
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 0x100af2b4
mov edx, 1
shl edx, 0
movsx eax, byte [ebp + edx - 0x24]
cmp eax, 0x54
jne 0x100af2b4
mov ecx, 1
shl ecx, 1
movsx edx, byte [ebp + ecx - 0x24]
cmp edx, 0x46
jne 0x100af2b4
mov eax, 1
imul ecx, eax, 3
movsx edx, byte [ebp + ecx - 0x24]
cmp edx, 3
je 0x100af2cd
mov ecx, dword [ebp - 0x74]
add ecx, 0x24
call fcn.10045c30
push eax
push 0x10207f5c
call fcn.100a8090
add esp, 8
mov byte [ebp - 0x75], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x18], 0x31545844
jne 0x100af303
mov ecx, dword [0x102513f8]
and ecx, 1
je 0x100af2f4
mov byte [ebp - 0x75], 1
jmp 0x100af2fe
mov dword [ebp - 0x84], 0x19
jmp 0x100af398
cmp dword [ebp - 0x18], 0x32545844
jne 0x100af329
mov edx, dword [0x102513f8]
and edx, 2
je 0x100af31d
mov byte [ebp - 0x75], 1
jmp 0x100af327
mov dword [ebp - 0x84], 0x1a
jmp 0x100af398
cmp dword [ebp - 0x18], 0x33545844
jne 0x100af34e
mov eax, dword [0x102513f8]
and eax, 4
je 0x100af342
mov byte [ebp - 0x75], 1
jmp 0x100af34c
mov dword [ebp - 0x84], 0x1a
jmp 0x100af398
cmp dword [ebp - 0x18], 0x34545844
jne 0x100af374
mov ecx, dword [0x102513f8]
and ecx, 8
je 0x100af368
mov byte [ebp - 0x75], 1
jmp 0x100af372
mov dword [ebp - 0x84], 0x1a
jmp 0x100af398
cmp dword [ebp - 0x18], 0x35545844
jne 0x100af398
mov edx, dword [0x102513f8]
and edx, 0x10
je 0x100af38e
mov byte [ebp - 0x75], 1
jmp 0x100af398
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 0x100af3d7
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 0x100af444
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x44], 2
jg 0x100af444
cmp dword [ebp - 0x20], 0x10
jl 0x100af444
cmp dword [ebp - 0x1c], 0x10
jl 0x100af444
mov dword [ebp - 0xd0], 0
jmp 0x100af410
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 0x100af442
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 0x100af401
jmp 0x100af44e
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.100aea70
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 0x100af4ca
mov ecx, dword [ebp - 0x74]
add ecx, 0x24
call fcn.10045c30
push eax
push str.N3Texture_error___Cant_create_texture___s__n
call fcn.100a8090
add esp, 8
mov byte [ebp - 0x86], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10085900
mov al, byte [ebp - 0x86]
jmp 0x100afbde
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 0x100af515
cmp dword [ebp - 0x18], 0x32545844
je 0x100af515
cmp dword [ebp - 0x18], 0x33545844
je 0x100af515
cmp dword [ebp - 0x18], 0x34545844
je 0x100af515
cmp dword [ebp - 0x18], 0x35545844
jne 0x100af983
movzx eax, byte [ebp - 0x75]
cmp eax, 1
jne 0x100af873
cmp dword [ebp - 0x9c], 1
jle 0x100af6f3
mov dword [ebp - 0x90], 0
jmp 0x100af54a
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
cmp edx, dword [ebp - 0x9c]
jge 0x100af6ee
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 0x100af5e9
cmp dword [ebp - 0x8c], 0x33545844
je 0x100af63d
cmp dword [ebp - 0x8c], 0x31545844
je 0x100af606
cmp dword [ebp - 0x8c], 0x32545844
je 0x100af61a
jmp 0x100af69f
cmp dword [ebp - 0x8c], 0x34545844
je 0x100af64c
cmp dword [ebp - 0x8c], 0x35545844
je 0x100af66f
jmp 0x100af69f
mov edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x28]
shr edx, 1
mov dword [ebp - 0xb8], edx
jmp 0x100af69f
push 0x10208004
call fcn.100a8090
add esp, 4
push 0x10207fb8
call fcn.1017baa0
add esp, 4
push 0xffffffffffffffff
call fcn.1017a3f0
jmp 0x100af69f
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], eax
jmp 0x100af69f
push 0x10207fc0
call fcn.100a8090
add esp, 4
push 0x10208034
call fcn.1017baa0
add esp, 4
push 0xffffffffffffffff
call fcn.1017a3f0
jmp 0x100af69f
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x28]
shl ecx, 1
mov dword [ebp - 0xb8], ecx
push 0x1020803c
call fcn.100a8090
add esp, 4
push 0x10208018
call fcn.1017baa0
add esp, 4
push 0xffffffffffffffff
call fcn.1017a3f0
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.10157720
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 0x100af53b
jmp 0x100af86e
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 0x100af776
cmp dword [ebp - 0x94], 0x33545844
je 0x100af7ca
cmp dword [ebp - 0x94], 0x31545844
je 0x100af793
cmp dword [ebp - 0x94], 0x32545844
je 0x100af7a7
jmp 0x100af82c
cmp dword [ebp - 0x94], 0x34545844
je 0x100af7d9
cmp dword [ebp - 0x94], 0x35545844
je 0x100af7fc
jmp 0x100af82c
mov edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x28]
shr edx, 1
mov dword [ebp - 0xcc], edx
jmp 0x100af82c
push str.ERROR:_D3DFMT_DXT2_n
call fcn.100a8090
add esp, 4
push 0x1020806c
call fcn.1017baa0
add esp, 4
push 0xffffffffffffffff
call fcn.1017a3f0
jmp 0x100af82c
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0xcc], eax
jmp 0x100af82c
push str.ERROR:_D3DFMT_DXT4_n
call fcn.100a8090
add esp, 4
push 0x10208050
call fcn.1017baa0
add esp, 4
push 0xffffffffffffffff
call fcn.1017a3f0
jmp 0x100af82c
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.100a8090
add esp, 4
push str.pause
call fcn.1017baa0
add esp, 4
push 0xffffffffffffffff
call fcn.1017a3f0
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 0x100af97e
cmp dword [ebp - 0x9c], 1
jle 0x100af97e
mov dword [ebp - 0x98], 0
jmp 0x100af89b
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x9c]
jge 0x100af97e
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 0x100af916
mov eax, dword [ebp - 0xbc]
add eax, 1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [ebp - 0xe4]
jge 0x100af95e
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 0x100af907
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 0x100af88c
jmp 0x100afbc2
mov dword [ebp - 0xb4], 0
cmp dword [ebp - 0x84], 0x19
je 0x100af99f
cmp dword [ebp - 0x84], 0x1a
jne 0x100af9ab
mov dword [ebp - 0xb4], 2
jmp 0x100afa03
cmp dword [ebp - 0x84], 0x14
jne 0x100af9c0
mov dword [ebp - 0xb4], 3
jmp 0x100afa03
cmp dword [ebp - 0x84], 0x15
je 0x100af9d2
cmp dword [ebp - 0x84], 0x16
jne 0x100af9de
mov dword [ebp - 0xb4], 4
jmp 0x100afa03
mov eax, 1
test eax, eax
je 0x100afa03
push 0x194
push 0x102080d8
push 0x10208088
push 0x102080a8
call fcn.100a8090
add esp, 0x10
cmp dword [ebp - 0x9c], 1
jle 0x100afb0c
mov dword [ebp - 0xa0], 0
jmp 0x100afa2b
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0x9c]
jge 0x100afb07
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 0x100afa9d
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
cmp edx, dword [ebp - 0x28]
jge 0x100afae7
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 0x100afa8e
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 0x100afa1c
jmp 0x100afbc2
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 0x100afb62
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [ebp - 0x28]
jge 0x100afbac
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 0x100afb53
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.10085900
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.10154eb0
mov esp, ebp
pop ebp
ret 4