Function at 0x1003f850
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9818
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx - 0x2a]
cmp eax, 0x13
ja case.0x1003f580.44
movzx eax, byte [eax + 0x1003f83c]
jmp dword [eax*4 + 0x1003f830]
cmp ecx, 0x39
mov eax, 0x44
mov edx, 4
cmovne eax, edx
mov esi, eax
or esi, 0x400
cmp ecx, 0x38
cmovne esi, eax
jmp 0x1003f620
cmp ecx, 0x3a
mov edi, 0x48
mov eax, 8
cmovne edi, eax
mov esi, edi
cmp ecx, 0x3d
jne 0x1003f620
push 0x20019
push str.SYSTEMCurrentControlSetControlSession_ManagerPower
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.10013210
test eax, eax
jne 0x1003f612
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
push str.HiberbootEnabled
call fcn.100131d0
test eax, eax
jne 0x1003f612
cmp dword [ebp - 0x58], 1
jne 0x1003f612
or esi, 0x200
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1003f620
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je case.0x1003f580.44
call fcn.1003d920
test al, al
je 0x1003f651
mov ecx, esi
call fcn.1003f360
push SysReAllocString
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
mov al, 1
jmp 0x1003f7fb
lea eax, [ebp - 0x58]
mov edi, 1
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1003f64a
lea eax, [ebp - 0x60]
push eax
push 4
lea eax, [ebp - 0x6c]
push eax
push 0x12
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1003f68e
cmp dword [ebp - 0x60], 4
cmove edi, dword [ebp - 0x6c]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 3
jne 0x1003f64a
mov ecx, esi
call fcn.1003f360
push 0x40
mov esi, eax
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.100d6eb0
push SysReAllocString
push esi
push str.Shutdown__d__d
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.100a4830
mov eax, dword fs:[0x2c]
xorps xmm0, xmm0
mov ecx, dword [0x1014ad7c]
add esp, 0x20
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101591a8]
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
mov dword [ebp - 0xa8], 0x3c
cmp eax, dword [ecx + 4]
jle 0x1003f753
push 0x101591a8
call fcn.100d4fed
add esp, 4
cmp dword [0x101591a8], 0xffffffff
jne 0x1003f753
push 0x101591a8
mov dword [0x101591ac], 0
call fcn.100d4fa3
add esp, 4
mov byte [ebp - 0x51], 0
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
call fcn.100d3b01
mov dword [ebp - 4], 1
lea eax, [ebp - 0x64]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x51]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
push 0x10047cd0
push 0x101591ac
call fcn.100d3ea8
add esp, 0x10
test eax, eax
je 0x1003f7df
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 2
push eax
call fcn.100d3b10
add esp, 4
mov dword [ebp - 0x98], 0x10159050
lea eax, [ebp - 0x50]
mov dword [ebp - 0x9c], 0x101100b8
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], 0x600
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov al, 1
jmp 0x1003f7fb
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
call fcn.100d3b31
add esp, 4
mov byte [ebp - 4], 1
test al, al
je 0x1003f829
jmp 0x1003f816
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret
sub esp, 8
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.10037f40
call fcn.10037fa0
call fcn.100d3f31
nop
xchg ebp, esi
add edx, dword [eax]
cmpsd dword [esi], dword es:[edi]
cmc
add edx, dword [eax]
stc
test dword [ebx], 33619984
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [eax]
add byte [ecx], al
add byte [ecx], al
add dword [ebp - 117], edx
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x6c], 0x730025
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x6c]
mov eax, 0x10159050
mov dword [ebp - 0x68], 0x730079
push edi
mov dword [ebp - 0x64], 0x650074
mov edx, 0x33
mov dword [ebp - 0x60], 0x72006d
sub esi, eax
mov dword [ebp - 0x5c], 0x6f006f
mov dword [ebp - 0x58], 0x250074
mov dword [ebp - 0x54], 0x73005c
mov dword [ebp - 0x50], 0x730079
mov dword [ebp - 0x4c], 0x650074
mov dword [ebp - 0x48], 0x33006d
mov dword [ebp - 0x44], 0x5c0032
mov dword [ebp - 0x40], 0x790053
mov dword [ebp - 0x3c], 0x740073
mov dword [ebp - 0x38], 0x6d0065
mov dword [ebp - 0x34], 0x650053
mov dword [ebp - 0x30], 0x740074
mov dword [ebp - 0x2c], 0x6e0069
mov dword [ebp - 0x28], 0x730067
mov dword [ebp - 0x24], 0x640041
mov dword [ebp - 0x20], 0x69006d
mov dword [ebp - 0x1c], 0x46006e
mov dword [ebp - 0x18], 0x6f006c
mov dword [ebp - 0x14], 0x730077
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop word [eax + eax]
lea ecx, [edx + 0x7fffffcb]
test ecx, ecx
je 0x1003f94e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003f94e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1003f930
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret