Function at 0x411c80
Capabilities:
Create directory
Create process on windows
Create process suspended
Delete file
Get token membership
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38a4
call fcn.0042bca0
mov eax, dword [0x447044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x206
xor esi, esi
lea ecx, [ebp - 0xc26]
xor eax, eax
push esi
push ecx
mov word [ebp - 0xc28], ax
call fcn.004272d0
add esp, 0xc
push 0x206
lea eax, [ebp - 0x1236]
xor edx, edx
push esi
push eax
mov word [ebp - 0x1238], dx
call fcn.004272d0
add esp, 0xc
push 0x206
lea edx, [ebp - 0xa1e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0xa20], cx
call fcn.004272d0
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x816]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x818], ax
call fcn.004272d0
add esp, 0xc
push 0x206
lea eax, [ebp - 0xe2e]
xor edx, edx
push esi
push eax
mov word [ebp - 0xe30], dx
call fcn.004272d0
add esp, 0xc
push 0x206
lea edx, [ebp - 0x20e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x210], cx
call fcn.004272d0
add esp, 0xc
push 0x1fe
lea ecx, [ebp - 0x102e]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x1030], ax
call fcn.004272d0
add esp, 0xc
push 0x1fe
lea eax, [ebp - 0x1436]
xor edx, edx
push esi
push eax
mov word [ebp - 0x1438], dx
call fcn.004272d0
add esp, 0xc
push 0x1fe
lea edx, [ebp - 0x40e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x410], cx
call fcn.004272d0
add esp, 0xc
xor eax, eax
push 0x1fe
mov word [ebp - 0x610], ax
push esi
lea ecx, [ebp - 0x60e]
push ecx
call fcn.004272d0
add esp, 0xc
push 0x3fe
lea eax, [ebp - 0x1c36]
xor edx, edx
push esi
push eax
mov word [ebp - 0x1c38], dx
call fcn.004272d0
add esp, 0xc
push 0x3fe
lea edx, [ebp - 0x2036]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x2038], cx
call fcn.004272d0
add esp, 0xc
push 0x3fe
lea ecx, [ebp - 0x1836]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x1838], ax
call fcn.004272d0
add esp, 0xc
push 0x7fe
lea eax, [ebp - 0x2836]
xor edx, edx
push esi
push eax
mov word [ebp - 0x2838], dx
call fcn.004272d0
add esp, 0xc
push 0x7fe
lea edx, [ebp - 0x3836]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x3838], cx
call fcn.004272d0
add esp, 0xc
push 0x7fe
lea ecx, [ebp - 0x3036]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x3038], ax
call fcn.004272d0
mov edx, dword [0xfba4a3]
mov eax, dword [0x44898b]
add esp, 0xc
push 0x104
lea ecx, [ebp - 0xc28]
push ecx
push esi
mov dword [0x1088048], edx
mov dword [0x1086dfc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
jmp 0x411eb0
movzx ecx, word [ebp + eax - 0xc28]
mov word [ebp + eax - 0xe30], cx
add eax, 2
cmp cx, si
jne 0x411eb0
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [ebp + eax - 0xc28]
mov word [ebp + eax - 0x1238], cx
add eax, 2
cmp cx, si
jne 0x411ed0
lea edx, [ebp - 0xc28]
push 0x5c
push edx
call fcn.0041faf1
add esp, 8
test eax, eax
je 0x411f83
lea eax, [ebp - 0xc28]
push 0x5c
push eax
call fcn.0041faf1
add eax, 2
lea edx, [ebp - 0xa20]
add esp, 8
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x411f20
xor eax, eax
jmp 0x411f40
movzx ecx, word [ebp + eax - 0xa20]
mov word [ebp + eax - 0x818], cx
add eax, 2
cmp cx, si
jne 0x411f40
lea ecx, [ebp - 0x818]
push 0x2e
push ecx
call fcn.0041faf1
add esp, 8
test eax, eax
je 0x411f83
lea edx, [ebp - 0x818]
push 0x2e
push edx
call fcn.0041faf1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe30]
push 0x5c
push edx
call fcn.0041faf1
add esp, 8
test eax, eax
je 0x411fae
lea eax, [ebp - 0xe30]
push 0x5c
push eax
call fcn.0041faf1
add esp, 8
xor ecx, ecx
mov word [eax], cx
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [ebp - 0x818]
push edx
lea eax, [ebp - 0xe30]
push eax
lea ecx, [ebp - 0x210]
push str._s_s.dat
push ecx
call edi
add esp, 0x10
lea edx, [ebp - 0x3844]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x3840]
push eax
mov dword [ebp - 0x3848], esi
mov dword [ebp - 0x3844], esi
mov dword [ebp - 0x3840], esi
mov word [ebp - 0x383c], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x41202e
mov edx, dword [ebp - 0x3844]
lea ecx, [ebp - 0x3848]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x412034
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x3844]
cmp eax, esi
je 0x412045
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x3848], esi
jne 0x412532
lea eax, [ebp - 0x818]
push str.setup
push eax
call fcn.0041f6d7
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 8
test eax, eax
jne 0x41207d
push str._ManualUpdate__Elevate_setup_
call ebx
xor esi, esi
call fcn.0040b260
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.0041fb9e
add esp, 8
test eax, eax
jne 0x4120ec
push str._ManualUpdate__Read_Out_Dat_1_
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x210]
push edx
push 0x3fe
lea eax, [ebp - 0x2838]
push eax
push 0x435474
push 0x43d28c
push str.Config
call esi
lea ecx, [ebp - 0x210]
push ecx
push 0x3fe
lea edx, [ebp - 0x3838]
push edx
push 0x435474
push str.Passphrase
push str.Config
call esi
jmp 0x412202
cmp dword [0x1088048], 0
jbe 0x4121f4
cmp dword [0x1086dfc], 0
jbe 0x4121f4
push str._ManualUpdate__Read_Install_Dat_2_
call ebx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0xa1e]
push ecx
mov word [ebp - 0xa20], ax
call fcn.004272d0
add esp, 0xc
lea edx, [ebp - 0xa20]
push str.C:UsersPublicSMR7
push edx
call edi
add esp, 8
push 0
lea eax, [ebp - 0xa20]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0x210]
push str.C:UsersPublicSMR7_s.dat
push edx
call edi
add esp, 0xc
push 0xc800
mov edx, 0xfba490
lea ecx, [ebp - 0x210]
call fcn.0040aab0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x1f4
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
push 0x3fe
lea ecx, [ebp - 0x2838]
push ecx
push 0x435474
push 0x43d28c
push str.Config
call edi
lea edx, [ebp - 0x210]
push edx
push 0x3fe
lea eax, [ebp - 0x3838]
push eax
push 0x435474
push str.Passphrase
push str.Config
call edi
push 0x1f4
call esi
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x412202
push str._ManualUpdate__Elevate_Exception_Type_
call ebx
xor esi, esi
call fcn.0040b260
lea eax, [ebp - 0x2838]
lea edx, [eax + 2]
jmp 0x412210
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412210
sub eax, edx
sar eax, 1
cmp eax, 0x90
jbe 0x412277
lea eax, [ebp - 0x3838]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412230
sub eax, edx
sar eax, 1
cmp eax, 0x90
jbe 0x412277
push str._ManualUpdate__Have_to_Using_CPWL_Run...
call ebx
lea edi, [ebp - 0x2038]
lea esi, [ebp - 0x2838]
call fcn.00404e70
lea edi, [ebp - 0x1c38]
lea esi, [ebp - 0x3838]
call fcn.00404e70
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x412285
push str._ManualUpdate__Elevate_Dat_size_Error_or_Empty_
call ebx
xor esi, esi
call fcn.0040b260
xor eax, eax
jmp 0x412290
movzx ecx, word [ebp + eax - 0x2038]
mov word [ebp + eax - 0x1838], cx
add eax, 2
test cx, cx
jne 0x412290
lea edx, [ebp - 0x1838]
push 0x5c
push edx
call fcn.0041faf1
add esp, 8
test eax, eax
je 0x412313
lea eax, [ebp - 0x1838]
push 0x5c
push eax
call fcn.0041faf1
add eax, 2
push 0x100
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.0042090f
add esp, 0x14
lea edx, [ebp - 0x1838]
push 0x5c
push edx
call fcn.0041faf1
xor ecx, ecx
push 0x100
lea edx, [ebp - 0x1838]
mov word [eax], cx
push edx
lea eax, [ebp - 0x610]
push eax
call fcn.0042090f
add esp, 0x14
jmp 0x412347
push 0x100
lea ecx, [ebp - 0x1838]
push ecx
lea edx, [ebp - 0x410]
push edx
call fcn.0042090f
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + 0x434944]
mov word [ebp + eax - 0x610], cx
add eax, 2
test cx, cx
jne 0x412330
lea eax, [ebp - 0x1438]
push eax
lea ecx, [ebp - 0x1030]
push ecx
call fcn.0040b560
lea eax, [ebp - 0x1c38]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412366
sub eax, edx
sar eax, 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea edx, [ebp - 0x1030]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x1438]
push ecx
lea edx, [ebp - 0x610]
push edx
lea eax, [ebp - 0x3038]
push str._ManualUpdate__GetProcessInfo___s___s_____s___s_____u___lu_
push eax
call edi
add esp, 0x20
lea ecx, [ebp - 0x3038]
push ecx
call ebx
push 1
lea edx, [ebp - 0x610]
push 0x434944
push edx
call fcn.004218d6
add esp, 0xc
test eax, eax
jne 0x4123fe
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x1030]
push ecx
call fcn.0041f6d7
add esp, 8
test eax, eax
jne 0x4123f7
push str._ManualUpdate__DAT_Using_Local__Account_Match__Elevate__
call ebx
xor esi, esi
call fcn.0040b260
push str._ManualUpdate__DAT_Using_Local__Account_MisMatch__Create...
jmp 0x412445
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x1030]
push eax
call fcn.0041f6d7
add esp, 8
test eax, eax
jne 0x412440
lea ecx, [ebp - 0x610]
push ecx
lea edx, [ebp - 0x1438]
push edx
call fcn.0041f6d7
add esp, 8
test eax, eax
jne 0x412440
push str._ManualUpdate__DAT_Using_Domain__All_Match__Elevate__
call ebx
xor esi, esi
call fcn.0040b260
push str._ManualUpdate__DAT_Using_Domain__MisMatch__Create...
call ebx
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x3854], eax
mov dword [ebp - 0x3850], eax
mov dword [ebp - 0x384c], eax
lea eax, [ebp - 0x389c]
push eax
mov dword [ebp - 0x3858], 0
call fcn.004272d0
add esp, 0xc
lea ecx, [ebp - 0x3858]
push ecx
lea edx, [ebp - 0x38a0]
push edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1238]
push eax
push 0
lea ecx, [ebp - 0x1c38]
push ecx
lea edx, [ebp - 0x610]
push edx
lea eax, [ebp - 0x410]
push eax
mov dword [ebp - 0x38a0], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
mov edi, eax
lea eax, [ebp - 0x1c38]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4124c6
sub eax, edx
sar eax, 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea ecx, [ebp - 0x1238]
push ecx
push esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x3038]
push str._ManualUpdate__CreateProcess___s_s___u___s___lu___lu_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea edx, [ebp - 0x3038]
push edx
call ebx
mov eax, dword [ebp - 0x3858]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x3854]
push ecx
call esi
push 0
call fcn.004215a1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f53e
mov esp, ebp
pop ebp
ret