Function at 0x1006b9a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b9ec3
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [0x1021e964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x102230f0]
mov eax, ecx
mov edi, dword [ebp + 0xc]
shr eax, 8
mov dword [ebp - 0x594], edi
and al, 1
je 0x1006ba02
cmp dword [0x10223120], 0
je 0x1006ba02
test cl, 1
jne 0x1006c6aa
cmp byte [ebp + 0x10], 0
je 0x1006c6dc
test cl, 1
jne 0x1006c6aa
xorps xmm0, xmm0
mov dword [0x1022311c], 0
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov eax, dword [0x10223104]
shr eax, 0x1f
mov dword [ebp - 4], 0
test al, al
je 0x1006ba88
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x438], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x440]
mov eax, dword [0x10223104]
and eax, 0x3fffffff
push eax
call fcn.1008d8c0
push 0x9c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x59c], esi
test esi, esi
jne 0x1006bab7
push 0x12
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov dword [esi], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1006bae9
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push 1
push 0
call fcn.1018d9ad
call fcn.10047520
mov ecx, 0x27
mov dword [ebp - 0x5a0], eax
lea edi, [eax + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, eax
mov ecx, esi
call fcn.10055f20
mov ecx, esi
call fcn.10055ef0
push dword [ebp - 0x59c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.10047410
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
push 0
mov dword [ebp - 0x59c], edi
mov dword [0x1022f8f4], ecx
mov dword [edi + 0x1c0], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esi + 0x28], eax
mov eax, 0x601
cmp word [esi + 6], ax
push 0x400
setae al
mov byte [edi + 0x2dd], al
mov eax, 0x602
cmp word [esi + 6], ax
mov esi, 0x102230f0
push 0
setae al
mov byte [edi + 0x2de], al
lea eax, [ebp - 0x410]
sub esi, dword [0x10223110]
push eax
call fcn.101a4190
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 0x5a0]
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [eax + 8]
mov dword [eax + 0x24], esi
call fcn.100a1d40
push 0x128
lea eax, [ebp - 0x568]
mov byte [ebp - 0x56c], 0
push 0
push eax
call fcn.101a4190
xor eax, eax
cmp byte [ebp - 0x56c], al
setne al
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.100b2f90
lea eax, [ebp - 0x540]
mov byte [ebp - 4], 1
push eax
xor eax, eax
mov dword [ebp - 0x424], 0x74e3a5d6
cmp byte [ebp - 0x56c], al
mov dword [ebp - 0x420], 0x18e3f236
setne al
mov dword [ebp - 0x41c], 0xa4ccaba6
push eax
mov dword [ebp - 0x418], 0x73699576
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.100b3940
lea eax, [ebp - 0x56c]
xorps xmm0, xmm0
push 0x102230f0
push eax
movups xmmword [ebp - 0x540], xmm0
call fcn.10050c50
mov ecx, dword [0x102230f0]
add esp, 0x30
mov eax, ecx
shr eax, 1
test al, 1
jne 0x1006bc8c
xor dword [0x1022f281], 0xd6a5e374
or ecx, 2
mov dword [0x102230f0], ecx
lea eax, [ebp - 0x568]
mov byte [ebp - 4], 2
push eax
call fcn.100b34b0
mov dword [ebp - 0x414], 0
mov eax, dword [0x1022f250]
push 0x24
mov byte [ebp - 4], 3
lea esi, [eax + 0x102230f0]
call fcn.1018d216
mov ecx, eax
add esp, 8
mov dword [ebp - 0x590], ecx
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1006bcef
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov eax, dword [0x1022f24c]
add eax, esi
push eax
call fcn.100a0dc0
jmp 0x1006bcf1
xor eax, eax
mov esi, dword [ebp - 0x414]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 3
cmp eax, esi
je 0x1006bd21
test esi, esi
je 0x1006bd21
mov ecx, esi
call fcn.100429d0
push 0x24
push esi
call fcn.1018d246
mov eax, dword [ebp - 0x58c]
add esp, 8
push eax
mov ecx, edi
mov dword [ebp - 0x414], eax
call fcn.100529b0
test al, al
jne 0x1006bd45
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x102230f0]
shr eax, 0xa
test al, 1
je 0x1006bdbc
cmp dword [edi + 0x45c], 0
je 0x1006bdbc
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x430]
call fcn.100a3510
lea eax, [ebp - 0x588]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x430]
call fcn.100a3870
add eax, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x1006bd91
mov eax, dword [eax]
mov esi, dword [edi + 0x45c]
mov ecx, esi
push eax
call dword [0x1021649c]
call esi
lea ecx, [ebp - 0x588]
call fcn.10042960
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 3
call fcn.10042960
call fcn.100474a0
mov edi, eax
mov al, byte [ebp + 0x10]
xor al, 1
mov dword [ebp - 0x598], edi
push edi
mov byte [edi + 0x508], al
call fcn.10062ff0
mov eax, dword [0x1022f204]
add esp, 4
test eax, 0x800000
jne 0x1006be41
mov eax, dword [0x1022f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x58c], eax
call fcn.10054010
int3
mov ecx, dword [ebp - 0x5a0]
call fcn.10055e50
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
push 0x102230f0
call fcn.1004fde0
test dword [0x1022f204], 0x800000
jne 0x1006be95
mov eax, dword [0x1022f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x58c], eax
call fcn.10054010
invalid
push 0x102230f0
mov ecx, edi
call fcn.100634c0
test al, al
jne 0x1006bf96
mov eax, dword [0x102230f0]
or eax, 1
mov dword [0x102230f0], eax
shr eax, 8
test al, 1
je 0x1006bed0
push dword [ebp - 0x594]
call fcn.1006ca50
add esp, 4
jmp 0x1006bf6d
mov edi, dword [0x1022f8d0]
test edi, edi
je 0x1006bef6
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1021649c]
mov ecx, edi
call esi
mov dword [0x1022f8d0], 0
mov edi, dword [0x1022f8dc]
test edi, edi
je 0x1006bf1c
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1021649c]
mov ecx, edi
call esi
mov dword [0x1022f8dc], 0
mov edi, dword [0x1022f8ec]
test edi, edi
je 0x1006bf42
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1021649c]
mov ecx, edi
call esi
mov dword [0x1022f8ec], 0
mov edi, dword [0x1022f8c8]
test edi, edi
je 0x1006bf68
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1021649c]
mov ecx, edi
call esi
mov dword [0x1022f8c8], 0
call fcn.100699f0
mov esi, dword [ebp - 0x414]
mov edi, dword [0x10223114]
test esi, esi
je 0x1006bf8f
mov ecx, esi
call fcn.100429d0
push 0x24
push esi
call fcn.1018d246
add esp, 8
mov eax, edi
jmp 0x1006c68c
mov eax, dword [edi + 0xe4]
shr eax, 8
test al, 1
jne 0x1006bfee
mov eax, dword [edi + 0xe0]
shr eax, 0x17
test al, 1
jne 0x1006bfee
mov eax, dword [ebp - 0x59c]
cmp dword [eax + 0x2f4], 0
je 0x1006bfee
mov esi, dword [eax + 0x2fc]
mov ecx, esi
push 0
call dword [0x1021649c]
call esi
mov esi, dword [ebp - 0x59c]
push 0x1006c8d0
push 1
mov esi, dword [esi + 0x2f4]
mov ecx, esi
call dword [0x1021649c]
call esi
test dword [0x1022f204], 0x800000
jne 0x1006c024
mov eax, dword [0x1022f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x594], eax
call fcn.10054010
invalid
push 0x102230f0
mov ecx, edi
call fcn.10064c00
call fcn.1008c110
test dword [0x1022f204], 0x800000
jne 0x1006c064
mov esi, dword [0x1022f710]
lea ecx, [esi + 0xf8]
call fcn.10054010
lea ecx, [esi + 0xf8]
mov byte [5], 5
call fcn.100540a0
mov eax, dword [edi + 0xe0]
mov esi, dword [0x1022f8c4]
shr eax, 0x11
and eax, 0xffffff01
mov dword [ebp - 0x594], eax
test esi, esi
jne 0x1006c152
push 0x24
call fcn.1018d216
mov esi, eax
add esp, 4
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x1006c146
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
call fcn.100475a0
mov dword [esi], 0x100114c8
mov dword [esi + 0x10], eax
add esi, 0x14
mov dword [ebp - 0x590], esi
push 0x7c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x1c
mov byte [ebp - 4], 8
mov dword [ebp - 0x590], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov word [esi + 0xc], 1
jmp 0x1006c148
xor esi, esi
mov byte [ebp - 4], 3
mov dword [0x1022f8c4], esi
push dword [0x1022f625]
mov ecx, edi
push dword [0x1022f629]
call fcn.1004fac0
push eax
mov eax, dword [ebp - 0x594]
mov ecx, esi
xor al, 1
movzx eax, al
push eax
push dword [0x1022f62d]
call fcn.10054eb0
mov ecx, edi
mov dword [0x1022f62d], 0
mov dword [0x1022f625], 0
call fcn.1004e1b0
push 0
push 1
mov ecx, edi
call fcn.1004fad0
mov eax, dword [edi + 0xe0]
shr eax, 2
test al, 1
je 0x1006c351
mov esi, dword [0x1022f8fc]
test esi, esi
jne 0x1006c312
push 0x50
call fcn.1018d216
mov esi, eax
add esp, 4
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x1006c306
push 0x50
push 0
push esi
call fcn.101a4190
add esp, 0xc
mov dword [esi], 0x100114d8
lea ecx, [esi + 4]
mov word [ecx + 0x18], 0
call fcn.10054040
add esi, 0x20
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x590], esi
push 0x278
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x28
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x590], esi
push 0x278
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x58c]
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
lea esi, [eax + 0x40]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x590], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x48
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x590], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1018d216
add esp, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
mov dword [esi + 0x30], 0
jmp 0x1006c308
xor esi, esi
mov byte [ebp - 4], 3
mov dword [0x1022f8fc], esi
push dword [0x1022f65d]
mov ecx, edi
push dword [0x1022f661]
call fcn.1004fac0
push eax
push dword [0x1022f22c]
mov ecx, esi
call fcn.10071590
mov dword [0x1022f22c], 0
mov dword [0x1022f65d], 0
mov dword [0x1022f661], 0
mov ecx, dword [edi + 0xe0]
mov eax, ecx
shr eax, 3
test al, 1
je 0x1006c3bc
mov eax, dword [0x1022f8f0]
shr ecx, 0x12
and ecx, 0xffffff01
mov dword [ebp - 0x594], ecx
test eax, eax
jne 0x1006c3b9
push 0x50
call fcn.1018d216
mov esi, eax
add esp, 4
mov dword [ebp - 0x590], esi
mov byte [ebp - 4], 0xf
test esi, esi
je 0x1006c3a8
push 0x50
push 0
push esi
call fcn.101a4190
add esp, 0xc
mov ecx, esi
call fcn.10068f70
jmp 0x1006c3aa
xor eax, eax
mov ecx, dword [ebp - 0x594]
mov byte [ebp - 4], 3
mov dword [0x1022f8f0], eax
mov byte [eax + 5], cl
test dword [0x1022f204], 0x800000
jne 0x1006c3ed
mov eax, dword [0x1022f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x594], eax
call fcn.10054010
in ax, 0x64
mov ecx, dword [ebp - 0x594]
call fcn.100540a0
mov edi, dword [0x1022f8e4]
test edi, edi
jne 0x1006c458
push 0x2c
call fcn.1018d216
mov edi, eax
add esp, 4
mov dword [ebp - 0x590], edi
test edi, edi
je 0x1006c450
push 0x2c
push 0
push edi
call fcn.101a4190
mov dword [edi + 0x14], 0
add esp, 0xc
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], 0x100114d0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
jmp 0x1006c452
xor edi, edi
mov dword [0x1022f8e4], edi
mov eax, dword [0x1022f66d]
mov ecx, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov eax, dword [0x1022f669]
mov dword [ebp - 0x58c], eax
mov eax, dword [0x1022f665]
mov ecx, dword [ecx + 0x110]
mov dword [ebp - 0x594], eax
movzx eax, word [0x1022f281]
push eax
call fcn.100a0d90
mov ecx, edi
mov esi, eax
call fcn.100a4cf0
push esi
lea ecx, [ebp - 0x430]
call fcn.100a3510
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x10
push eax
mov ecx, edi
call fcn.100a3740
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x1006c4d3
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x1006c4cb
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov eax, dword [ebp - 0x594]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x58c]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x590]
mov dword [edi + 0x28], eax
mov dword [ebp - 0x430], 0x10010c38
mov eax, dword [ebp - 0x418]
mov byte [ebp - 4], 0x11
cmp eax, 0x10
jb 0x1006c51a
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.1004aa90
mov edx, dword [0x1022f671]
mov eax, edx
shr eax, 0x1c
mov byte [ebp - 4], 3
test al, 1
je 0x1006c542
mov ecx, dword [0x10231690]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
inc dword [eax + 0x25808]
test dword [0x1022f204], 0x800000
mov dword [0x1022f669], 0
mov dword [0x1022f66d], 0
jne 0x1006c58b
mov esi, dword [0x1022f710]
lea ecx, [esi + 0xf8]
call fcn.10054010
lea ecx, [esi + 0xf8]
mov byte [6], 6
call fcn.100540a0
mov edx, dword [0x1022f671]
and dl, 0x30
cmp dl, 0x20
jne 0x1006c5de
mov eax, dword [ebp - 0x598]
mov eax, dword [eax + 0xe0]
shr eax, 0x13
test al, 1
jne 0x1006c5de
mov eax, dword [ebp - 0x5a0]
mov ecx, 0x600
cmp word [eax + 6], cx
jae 0x1006c5de
call fcn.10047520
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x1006c5c7
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x59c]
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x1021649c]
call esi
call fcn.10047520
mov eax, dword [eax + 0x24]
add eax, dword [0x1022f675]
test dword [0x1022f204], 0x800000
mov dword [0x10223114], eax
jne 0x1006c622
mov eax, dword [0x1022f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x590], eax
call fcn.10054010
in ax, 0x64
mov ecx, dword [ebp - 0x590]
call fcn.100540a0
mov eax, dword [0x10223104]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x1006c657
push dword [ebp - 0x43c]
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x440]
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov eax, dword [ebp - 0x598]
mov byte [eax + 0x508], 0
or dword [0x102230f0], 1
mov esi, dword [ebp - 0x414]
test esi, esi
je 0x1006c687
mov ecx, esi
call fcn.100429d0
push 0x24
push esi
call fcn.1018d246
add esp, 8
mov eax, dword [0x10223114]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018d760
mov esp, ebp
pop ebp
ret
test al, al
je 0x1006c756
mov edx, dword [0x102230f4]
mov eax, edx
shr eax, 4
test al, 1
je 0x1006c6e4
add edx, edx
mov dword [0x10223114], 0x1006cab0
or ecx, 5
mov dword [0x102230f4], edx
mov dword [0x102230f0], ecx
mov eax, 0x1006cab0
cdq
jmp 0x1006c68e
cmp dword [ebp + 8], 0
jne 0x1006c687
shr edx, 5
test dl, 1
jne 0x1006c687
mov eax, ecx
and eax, 0x804
cmp eax, 0x804
je 0x1006c687
test byte [0x1022f204], 0x80
je 0x1006c717
push edi
call fcn.1006ca50
add esp, 4
jmp 0x1006c687
push 0x1c
lea eax, [ebp - 0x588]
or ecx, 4
push eax
push 0x102230f0
mov dword [0x102230f0], ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [0x10223114]
mov ecx, esi
push edi
push 0
push dword [ebp - 0x584]
call dword [0x1021649c]
call esi
push edi
call fcn.1006ca50
add esp, 4
xor eax, eax
jmp 0x1006c68c