Function at 0x1007808b
Capabilities:
Terminate process

Disassembly:
push 0xb0
mov eax, 0x100b2a28
call fcn.100a56bc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x100786f1
mov eax, dword [eax]
test eax, eax
je 0x100786f1
cmp dword [eax], 0x80000003
jne 0x100780c1
xor eax, eax
jmp 0x100786f6
push fcn.1002e190
push fcn.1008eab0
push 0xa
push 4
lea eax, [ebp - 0x38]
push eax
call fcn.1009174e
xor eax, eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], eax
mov eax, dword [0x100cfe78]
sub eax, 0xffffff80
push eax
call fcn.1008e536
mov eax, dword [0x100cfe78]
lea ecx, [ebp - 0x34]
add eax, 0xf0
push eax
call fcn.1008e536
lea ecx, [ebp - 0x3c]
call fcn.10032306
xor ebx, ebx
lea ecx, [ebp - 0x30]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.1006f350
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x4c]
call fcn.1008e796
mov byte [ebp - 4], 2
mov eax, dword [0x100cfe78]
push dword [eax + 0x990]
lea eax, [ebp - 0x4c]
push 0x10008610
push eax
call fcn.1008e3f3
add esp, 0xc
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.1006f350
mov eax, dword [0x100cfe78]
lea ecx, [ebp - 0x28]
add eax, 0x9e4
push eax
call fcn.1008e536
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x48]
call fcn.1008e796
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
mov ecx, dword [0x100cfe78]
push eax
call fcn.10032acf
mov edi, eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
mov ecx, dword [0x100cfe78]
push eax
call fcn.10032c4e
mov esi, eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
mov ecx, dword [0x100cfe78]
push eax
call fcn.10032c6d
push 0x1001722c
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.1006eafe
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.1006eb5a
mov esi, 0x1001722c
mov byte [ebp - 4], 8
push esi
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.1006eafe
push edi
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.1006eb5a
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.1006eafe
push 0x10019a20
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3c]
call fcn.1006eafe
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.1006f350
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.1006f350
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x44]
call fcn.1008e796
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x40]
mov eax, dword [edi]
push dword [eax]
lea eax, [ebp - 0x44]
push 0x10012040
push eax
call fcn.1008e3f3
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x20]
push eax
call fcn.1006f350
mov ecx, dword [0x100cfe78]
lea eax, [ebp - 0x40]
push eax
call fcn.10032bb4
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.1006f350
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [0x100cfe78]
lea eax, [ebp - 0x40]
push eax
call fcn.10032c04
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.1006f350
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0xbc]
call fcn.1002f728
mov byte [ebp - 4], 0x10
call fcn.1002f75d
test al, al
je 0x1007843e
xor eax, eax
mov dword [ebp - 0x94], 0x1001b0e4
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c]
mov eax, dword [0x100cfe78]
sub eax, 0xffffff80
push eax
call fcn.1006f4e2
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x12
mov ecx, dword [0x100cfe78]
push eax
call fcn.10032c8c
mov esi, eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x54]
mov ecx, dword [0x100cfe78]
add ecx, 0x960
push eax
call fcn.100327ff
mov byte [ebp - 4], 0x14
mov ecx, dword [0x100cfe78]
push esi
push edi
mov cl, byte [ecx]
mov byte [ebp - 0x40], cl
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x94]
call fcn.1006475d
mov ecx, dword [ebp - 0x54]
mov esi, eax
add ecx, 0xfffffff0
call fcn.1008ebf5
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.1008ebf5
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
test esi, esi
jne 0x10078425
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x1001b0e4
call fcn.10064bdf
push edi
lea edx, [ebp - 0x80]
call fcn.10079fb3
mov esi, eax
test esi, esi
jns 0x10078495
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
mov dword [ebp - 0xbc], 0x100216ac
call fcn.1008ebf5
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push fcn.1002e190
push 0xa
push 4
push eax
call fcn.10091503
mov eax, esi
jmp 0x100786f6
mov eax, dword [0x100cfe78]
mov edi, dword [ebp - 0x70]
test byte [eax + 4], 0x10
jne 0x100784ac
or dword [edi + 0x38], 0x10
mov eax, dword [0x100cfe78]
mov al, byte [eax]
cmp al, 1
jne 0x100784be
mov dword [edi + 0x30], ebx
mov dword [edi + 0x2c], 0xc
jmp 0x100784ca
xor eax, eax
mov dword [edi + 0x2c], 0x800
mov dword [edi + 0x30], eax
mov eax, dword [0x100cfe78]
mov esi, 0x104
push esi
mov eax, dword [eax + 4]
mov dword [edi + 0x44], eax
lea eax, [edi + 0x258]
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push 0x1001b5f0
lea eax, [edi + 0x460]
push esi
push eax
call fcn.10098f62
mov edx, dword [0x100cfe78]
add esp, 0x10
add edx, 0x160
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x58]
jne 0x10078512
sub ecx, esi
sar ecx, 1
cmp ecx, ebx
jbe 0x1007853b
push edx
lea eax, [edi + 0x9ac]
push 0x400
push eax
call fcn.10098138
add esp, 0xc
mov esi, 0xff
lea ecx, [edi + 0x8474]
push 0x10016530
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x38]
lea ecx, [edi + 0x8672]
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x34]
lea ecx, [edi + 0x8870]
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x30]
lea ecx, [edi + 0x8a6e]
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x2c]
lea ecx, [edi + 0x8c6c]
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x28]
lea ecx, [edi + 0x8e6a]
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x24]
lea ecx, [edi + 0x9068]
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x20]
lea ecx, [edi + 0x9266]
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x1c]
lea ecx, [edi + 0x9464]
mov edx, esi
call fcn.1008e2e7
push dword [ebp - 0x18]
lea ecx, [edi + 0x9662]
mov edx, esi
call fcn.1008e2e7
mov dword [edi + 0x8470], ebx
lea eax, [ebp - 0x58]
mov ecx, dword [0x100cfe78]
push eax
lea ecx, [ecx + 0x960]
call fcn.100327ff
lea ecx, [edi + 0x11ac]
mov edx, 0x400
push dword [eax]
call fcn.1008e2e7
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov eax, dword [0x100cfe78]
lea ecx, [edi + 0x21ac]
add eax, 0x10
push eax
push 0x38
pop edx
call fcn.1008e2e7
mov eax, dword [0x100cfe78]
lea ecx, [edi + 0x50]
push 0x10016530
lea edx, [esi + 5]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x40], eax
call fcn.1008e2e7
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x3c]
call fcn.1008e796
mov byte [ebp - 4], 0x15
mov ecx, 0x104
mov esi, dword [ebp - 0x3c]
mov eax, dword [esi - 8]
sub ebx, dword [esi - 4]
sub eax, ecx
or eax, ebx
jge 0x1007867e
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1008e652
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.100324d7
lea eax, [ebp - 0x80]
mov edx, esi
push eax
call fcn.10079e6b
mov ebx, eax
test ebx, ebx
js 0x1007869c
mov ebx, dword [edi + 0x9a84]
lea edx, [ebp - 0x80]
call fcn.1007a125
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xbc], 0x100216ac
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push fcn.1002e190
push 0xa
push 4
push eax
call fcn.10091503
mov eax, ebx
jmp 0x100786f6
mov eax, 0x80004003
call fcn.100a5666
ret 4