Function at 0x1009fac0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ee003
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [0x10252964]
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 [0x102570f0]
mov eax, ecx
mov edi, dword [ebp + 0xc]
shr eax, 8
mov dword [ebp - 0x594], edi
and al, 1
je 0x1009fb22
cmp dword [0x10257120], 0
je 0x1009fb22
test cl, 1
jne 0x100a07ca
cmp byte [ebp + 0x10], 0
je 0x100a07fc
test cl, 1
jne 0x100a07ca
xorps xmm0, xmm0
mov dword [0x1025711c], 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 [0x10257104]
shr eax, 0x1f
mov dword [ebp - 4], 0
test al, al
je 0x1009fba8
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 [0x10257104]
and eax, 0x3fffffff
push eax
call fcn.100c19d0
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 0x1009fbd7
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 0x1009fc09
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.101c1aad
call fcn.1007b520
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.10089f20
mov ecx, esi
call fcn.10089ef0
push dword [ebp - 0x59c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.1007b410
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
push 0
mov dword [ebp - 0x59c], edi
mov dword [0x102638f4], 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, 0x102570f0
push 0
setae al
mov byte [edi + 0x2de], al
lea eax, [ebp - 0x410]
sub esi, dword [0x10257110]
push eax
call fcn.101d82a0
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.100d5e50
push 0x128
lea eax, [ebp - 0x568]
mov byte [ebp - 0x56c], 0
push 0
push eax
call fcn.101d82a0
xor eax, eax
cmp byte [ebp - 0x56c], al
setne al
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.100e70a0
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.100e7a50
lea eax, [ebp - 0x56c]
xorps xmm0, xmm0
push 0x102570f0
push eax
movups xmmword [ebp - 0x540], xmm0
call fcn.10084c50
mov ecx, dword [0x102570f0]
add esp, 0x30
mov eax, ecx
shr eax, 1
test al, 1
jne 0x1009fdac
xor dword [0x10263281], 0xd6a5e374
or ecx, 2
mov dword [0x102570f0], ecx
lea eax, [ebp - 0x568]
mov byte [ebp - 4], 2
push eax
call fcn.100e75c0
mov dword [ebp - 0x414], 0
mov eax, dword [0x10263250]
push 0x24
mov byte [ebp - 4], 3
lea esi, [eax + 0x102570f0]
call fcn.101c1316
mov ecx, eax
add esp, 8
mov dword [ebp - 0x590], ecx
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1009fe0f
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov eax, dword [0x1026324c]
add eax, esi
push eax
call fcn.100d4ed0
jmp 0x1009fe11
xor eax, eax
mov esi, dword [ebp - 0x414]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 3
cmp eax, esi
je 0x1009fe41
test esi, esi
je 0x1009fe41
mov ecx, esi
call fcn.100769d0
push 0x24
push esi
call fcn.101c1346
mov eax, dword [ebp - 0x58c]
add esp, 8
push eax
mov ecx, edi
mov dword [ebp - 0x414], eax
call fcn.100869b0
test al, al
jne 0x1009fe65
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x102570f0]
shr eax, 0xa
test al, 1
je 0x1009fedc
cmp dword [edi + 0x45c], 0
je 0x1009fedc
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x430]
call fcn.100d7620
lea eax, [ebp - 0x588]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x430]
call fcn.100d7980
add eax, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x1009feb1
mov eax, dword [eax]
mov esi, dword [edi + 0x45c]
mov ecx, esi
push eax
call dword [0x1024a49c]
call esi
lea ecx, [ebp - 0x588]
call fcn.10076960
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 3
call fcn.10076960
call fcn.1007b4a0
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.10097100
mov eax, dword [0x10263204]
add esp, 4
test eax, 0x800000
jne 0x1009ff61
mov eax, dword [0x10263710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x58c], eax
call fcn.10088010
int3
mov ecx, dword [ebp - 0x5a0]
call fcn.10089e50
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
push 0x102570f0
call fcn.10083de0
test dword [0x10263204], 0x800000
jne 0x1009ffb5
mov eax, dword [0x10263710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x58c], eax
call fcn.10088010
invalid
push 0x102570f0
mov ecx, edi
call fcn.100975d0
test al, al
jne 0x100a00b6
mov eax, dword [0x102570f0]
or eax, 1
mov dword [0x102570f0], eax
shr eax, 8
test al, 1
je 0x1009fff0
push dword [ebp - 0x594]
call fcn.100a0b70
add esp, 4
jmp 0x100a008d
mov edi, dword [0x102638d0]
test edi, edi
je 0x100a0016
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1024a49c]
mov ecx, edi
call esi
mov dword [0x102638d0], 0
mov edi, dword [0x102638dc]
test edi, edi
je 0x100a003c
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1024a49c]
mov ecx, edi
call esi
mov dword [0x102638dc], 0
mov edi, dword [0x102638ec]
test edi, edi
je 0x100a0062
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1024a49c]
mov ecx, edi
call esi
mov dword [0x102638ec], 0
mov edi, dword [0x102638c8]
test edi, edi
je 0x100a0088
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1024a49c]
mov ecx, edi
call esi
mov dword [0x102638c8], 0
call fcn.1009db00
mov esi, dword [ebp - 0x414]
mov edi, dword [0x10257114]
test esi, esi
je 0x100a00af
mov ecx, esi
call fcn.100769d0
push 0x24
push esi
call fcn.101c1346
add esp, 8
mov eax, edi
jmp 0x100a07ac
mov eax, dword [edi + 0xe4]
shr eax, 8
test al, 1
jne 0x100a010e
mov eax, dword [edi + 0xe0]
shr eax, 0x17
test al, 1
jne 0x100a010e
mov eax, dword [ebp - 0x59c]
cmp dword [eax + 0x2f4], 0
je 0x100a010e
mov esi, dword [eax + 0x2fc]
mov ecx, esi
push 0
call dword [0x1024a49c]
call esi
mov esi, dword [ebp - 0x59c]
push 0x100a09f0
push 1
mov esi, dword [esi + 0x2f4]
mov ecx, esi
call dword [0x1024a49c]
call esi
test dword [0x10263204], 0x800000
jne 0x100a0144
mov eax, dword [0x10263710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x594], eax
call fcn.10088010
invalid
push 0x102570f0
mov ecx, edi
call fcn.10098d10
call fcn.100c0220
test dword [0x10263204], 0x800000
jne 0x100a0184
mov esi, dword [0x10263710]
lea ecx, [esi + 0xf8]
call fcn.10088010
lea ecx, [esi + 0xf8]
mov byte [5], 5
call fcn.100880a0
mov eax, dword [edi + 0xe0]
mov esi, dword [0x102638c4]
shr eax, 0x11
and eax, 0xffffff01
mov dword [ebp - 0x594], eax
test esi, esi
jne 0x100a0272
push 0x24
call fcn.101c1316
mov esi, eax
add esp, 4
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x100a0266
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
call fcn.1007b5a0
mov dword [esi], 0x100454c8
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.101c1316
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.101c1316
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 0x100a0268
xor esi, esi
mov byte [ebp - 4], 3
mov dword [0x102638c4], esi
push dword [0x10263625]
mov ecx, edi
push dword [0x10263629]
call fcn.10083ac0
push eax
mov eax, dword [ebp - 0x594]
mov ecx, esi
xor al, 1
movzx eax, al
push eax
push dword [0x1026362d]
call fcn.10088eb0
mov ecx, edi
mov dword [0x1026362d], 0
mov dword [0x10263625], 0
call fcn.100821b0
push 0
push 1
mov ecx, edi
call fcn.10083ad0
mov eax, dword [edi + 0xe0]
shr eax, 2
test al, 1
je 0x100a0471
mov esi, dword [0x102638fc]
test esi, esi
jne 0x100a0432
push 0x50
call fcn.101c1316
mov esi, eax
add esp, 4
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x100a0426
push 0x50
push 0
push esi
call fcn.101d82a0
add esp, 0xc
mov dword [esi], 0x100454d8
lea ecx, [esi + 4]
mov word [ecx + 0x18], 0
call fcn.10088040
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.101c1316
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.101c1316
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.101c1316
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.101c1316
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 0x100a0428
xor esi, esi
mov byte [ebp - 4], 3
mov dword [0x102638fc], esi
push dword [0x1026365d]
mov ecx, edi
push dword [0x10263661]
call fcn.10083ac0
push eax
push dword [0x1026322c]
mov ecx, esi
call fcn.100a56a0
mov dword [0x1026322c], 0
mov dword [0x1026365d], 0
mov dword [0x10263661], 0
mov ecx, dword [edi + 0xe0]
mov eax, ecx
shr eax, 3
test al, 1
je 0x100a04dc
mov eax, dword [0x102638f0]
shr ecx, 0x12
and ecx, 0xffffff01
mov dword [ebp - 0x594], ecx
test eax, eax
jne 0x100a04d9
push 0x50
call fcn.101c1316
mov esi, eax
add esp, 4
mov dword [ebp - 0x590], esi
mov byte [ebp - 4], 0xf
test esi, esi
je 0x100a04c8
push 0x50
push 0
push esi
call fcn.101d82a0
add esp, 0xc
mov ecx, esi
call fcn.1009d080
jmp 0x100a04ca
xor eax, eax
mov ecx, dword [ebp - 0x594]
mov byte [ebp - 4], 3
mov dword [0x102638f0], eax
mov byte [eax + 5], cl
test dword [0x10263204], 0x800000
jne 0x100a050d
mov eax, dword [0x10263710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x594], eax
call fcn.10088010
in ax, 0x64
mov ecx, dword [ebp - 0x594]
call fcn.100880a0
mov edi, dword [0x102638e4]
test edi, edi
jne 0x100a0578
push 0x2c
call fcn.101c1316
mov edi, eax
add esp, 4
mov dword [ebp - 0x590], edi
test edi, edi
je 0x100a0570
push 0x2c
push 0
push edi
call fcn.101d82a0
mov dword [edi + 0x14], 0
add esp, 0xc
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], 0x100454d0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
jmp 0x100a0572
xor edi, edi
mov dword [0x102638e4], edi
mov eax, dword [0x1026366d]
mov ecx, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov eax, dword [0x10263669]
mov dword [ebp - 0x58c], eax
mov eax, dword [0x10263665]
mov ecx, dword [ecx + 0x110]
mov dword [ebp - 0x594], eax
movzx eax, word [0x10263281]
push eax
call fcn.100d4ea0
mov ecx, edi
mov esi, eax
call fcn.100d8e10
push esi
lea ecx, [ebp - 0x430]
call fcn.100d7620
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x10
push eax
mov ecx, edi
call fcn.100d7850
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x100a05f3
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x100a05eb
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], 0x10044c38
mov eax, dword [ebp - 0x418]
mov byte [ebp - 4], 0x11
cmp eax, 0x10
jb 0x100a063a
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.1007ea90
mov edx, dword [0x10263671]
mov eax, edx
shr eax, 0x1c
mov byte [ebp - 4], 3
test al, 1
je 0x100a0662
mov ecx, dword [0x10265690]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
inc dword [eax + 0x25808]
test dword [0x10263204], 0x800000
mov dword [0x10263669], 0
mov dword [0x1026366d], 0
jne 0x100a06ab
mov esi, dword [0x10263710]
lea ecx, [esi + 0xf8]
call fcn.10088010
lea ecx, [esi + 0xf8]
mov byte [6], 6
call fcn.100880a0
mov edx, dword [0x10263671]
and dl, 0x30
cmp dl, 0x20
jne 0x100a06fe
mov eax, dword [ebp - 0x598]
mov eax, dword [eax + 0xe0]
shr eax, 0x13
test al, 1
jne 0x100a06fe
mov eax, dword [ebp - 0x5a0]
mov ecx, 0x600
cmp word [eax + 6], cx
jae 0x100a06fe
call fcn.1007b520
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x100a06e7
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x59c]
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x1024a49c]
call esi
call fcn.1007b520
mov eax, dword [eax + 0x24]
add eax, dword [0x10263675]
test dword [0x10263204], 0x800000
mov dword [0x10257114], eax
jne 0x100a0742
mov eax, dword [0x10263710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x590], eax
call fcn.10088010
in ax, 0x64
mov ecx, dword [ebp - 0x590]
call fcn.100880a0
mov eax, dword [0x10257104]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x100a0777
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 [0x102570f0], 1
mov esi, dword [ebp - 0x414]
test esi, esi
je 0x100a07a7
mov ecx, esi
call fcn.100769d0
push 0x24
push esi
call fcn.101c1346
add esp, 8
mov eax, dword [0x10257114]
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.101c1860
mov esp, ebp
pop ebp
ret
test al, al
je 0x100a0876
mov edx, dword [0x102570f4]
mov eax, edx
shr eax, 4
test al, 1
je 0x100a0804
add edx, edx
mov dword [0x10257114], 0x100a0bd0
or ecx, 5
mov dword [0x102570f4], edx
mov dword [0x102570f0], ecx
mov eax, 0x100a0bd0
cdq
jmp 0x100a07ae
cmp dword [ebp + 8], 0
jne 0x100a07a7
shr edx, 5
test dl, 1
jne 0x100a07a7
mov eax, ecx
and eax, 0x804
cmp eax, 0x804
je 0x100a07a7
test byte [0x10263204], 0x80
je 0x100a0837
push edi
call fcn.100a0b70
add esp, 4
jmp 0x100a07a7
push 0x1c
lea eax, [ebp - 0x588]
or ecx, 4
push eax
push 0x102570f0
mov dword [0x102570f0], ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [0x10257114]
mov ecx, esi
push edi
push 0
push dword [ebp - 0x584]
call dword [0x1024a49c]
call esi
push edi
call fcn.100a0b70
add esp, 4
xor eax, eax
jmp 0x100a07ac