Function at 0x415d82
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x178
mov eax, 0x4ce88f
call fcn.0044daf4
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x10]
xor ebx, ebx
mov dword [ebp - 0x8c], eax
cmp esi, ebx
je 0x41619e
push 0x40
lea eax, [ebp - 0x180]
push ebx
push eax
mov dword [ebp - 0x184], ebx
call fcn.00447b70
xor eax, eax
mov dword [ebp - 0xa4], ebx
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4ff45c]
add esp, 0xc
cmp eax, ebx
je 0x415ddd
mov eax, dword [eax]
jmp 0x415de0
xor eax, eax
inc eax
cmp eax, ebx
jne 0x416023
push 0x44
lea eax, [ebp - 0x184]
push ebx
push eax
call fcn.00447b70
add esp, 0xc
push 0x10
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00447b70
add esp, 0xc
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x6c], cx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 1
mov eax, dword [0x4ff45c]
push 0xffffffffffffffff
add eax, 0x18
push ebx
lea ecx, [ebp - 0x50]
call fcn.00405528
push str.updtStore.dat
lea ebx, [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.00404d08
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0040a4e4
mov bl, al
pop ecx
neg bl
sbb bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401198
inc bl
je 0x415ea1
push str.launchProcess:_cryptLoadPassword_failed
xor ecx, ecx
call fcn.0042181f
pop ecx
push 1
lea esi, [ebp - 0x50]
call fcn.00401198
push 1
xor edi, edi
lea esi, [ebp - 0x6c]
call fcn.00401198
jmp 0x41619e
push 1
xor edi, edi
lea esi, [ebp - 0x50]
call fcn.00401198
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x8c]
mov eax, dword [edi + 0x10]
inc eax
lea esi, [ebp - 0x44]
call fcn.0041715a
push 8
mov dword [ebp - 4], 3
mov ecx, dword [edi + 0x14]
pop ebx
cmp ecx, ebx
jb 0x415ee3
mov eax, dword [edi]
jmp 0x415ee5
mov eax, edi
mov edx, dword [edi + 0x10]
lea eax, [eax + edx*2]
cmp ecx, ebx
jb 0x415ef1
mov edi, dword [edi]
sub eax, edi
sar eax, 1
add eax, eax
push eax
push edi
push dword [ebp - 0x44]
call fcn.00447440
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp dword [ebp - 0x58], ebx
jae 0x415f0f
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x184]
push ecx
xor ecx, ecx
push ecx
push ecx
push 0x400
push dword [ebp - 0x44]
push ecx
push 2
push eax
push 0x4def40
push 0x4def44
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
jne 0x415ffc
lea eax, [ebp - 0x88]
push eax
call fcn.00420059
pop ecx
mov esi, eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 6
call fcn.00404d9c
lea eax, [ebp - 0x13c]
push str.launchProcess:_CreateProcessWithLogon_failed:
push eax
mov byte [ebp - 4], 7
call fcn.00405e4c
lea eax, [ebp - 0x13c]
push eax
mov ecx, esi
call fcn.004060a0
add esp, 0xc
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x13c]
call fcn.00404d5e
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x20], ebx
jae 0x415fa7
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
call fcn.0042181f
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00401198
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 6
call fcn.00404e06
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 0xec], vtable.std::ios_base.0
call fcn.00445c6f
pop ecx
push 1
lea esi, [ebp - 0x88]
call fcn.00401198
lea esi, [ebp - 0x44]
call fcn.0041a6ce
jmp 0x415e90
lea esi, [ebp - 0x44]
call fcn.0041a6ce
push 1
xor edi, edi
lea esi, [ebp - 0x6c]
call fcn.00401198
mov edi, dword [ebp - 0x8c]
xor ebx, ebx
jmp 0x4161b0
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
push 9
pop edi
lea eax, [esi + 1]
mov dword [ebp - 4], edi
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call fcn.0041715a
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x8c]
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x416056
mov eax, dword [edi]
jmp 0x416058
mov eax, edi
mov edx, dword [edi + 0x10]
lea eax, [eax + edx*2]
cmp ecx, 8
jb 0x416067
mov ecx, dword [edi]
jmp 0x416069
mov ecx, edi
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push ecx
push dword [ebp - 0x44]
call fcn.00447440
add esp, 0xc
push 0x10
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00447b70
add esp, 0xc
push 0x44
pop esi
push esi
lea eax, [ebp - 0x184]
push ebx
push eax
call fcn.00447b70
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x154], ax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x184]
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
push dword [ebp - 0x44]
mov dword [ebp - 0x184], esi
xor esi, esi
inc esi
push ebx
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x17c], 0x4df150
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4161a8
lea eax, [ebp - 0x88]
push eax
call fcn.00420059
pop ecx
mov edi, eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00404d9c
lea eax, [ebp - 0x13c]
push str.CreateProcess_failed
push eax
mov byte [ebp - 4], 0xd
call fcn.00405e4c
lea eax, [ebp - 0x13c]
push eax
mov ecx, edi
call fcn.004060a0
add esp, 0xc
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x13c]
call fcn.00404d5e
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x41614f
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.0042181f
pop ecx
push esi
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00401198
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xc
call fcn.00404e06
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 0xec], vtable.std::ios_base.0
call fcn.00445c6f
pop ecx
push 1
lea esi, [ebp - 0x88]
call fcn.00401198
lea esi, [ebp - 0x44]
call fcn.0041a6ce
xor al, al
call fcn.0044db50
ret 4
lea esi, [ebp - 0x44]
call fcn.0041a6ce
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x4162b9
lea eax, [ebp - 0x88]
push eax
call fcn.00420059
pop ecx
mov esi, eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00404d9c
lea eax, [ebp - 0x13c]
push str.WaitForSingleObject_failed:
push eax
mov byte [ebp - 4], 0x11
call fcn.00405e4c
lea eax, [ebp - 0x13c]
push eax
mov ecx, esi
call fcn.004060a0
add esp, 0xc
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x13c]
call fcn.00404d5e
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x416244
lea eax, [ebp - 0x34]
xor ecx, ecx
push eax
inc ecx
call fcn.0042181f
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00401198
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xec]
call fcn.00404e06
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 0xec], vtable.std::ios_base.0
call fcn.00445c6f
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x88]
call fcn.00401198
cmp dword [ebp - 0x8c], ebx
je 0x41619e
cmp dword [ebp - 0x8c], 0xffffffff
je 0x41619e
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41619e
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0xa4]
mov dword [ebp - 0x94], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41635c
lea eax, [ebp - 0x88]
push eax
call fcn.00420059
pop ecx
mov esi, eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 0x13
call fcn.00404d9c
lea eax, [ebp - 0x13c]
push str.GetExitCodeProcess_failed:
push eax
mov byte [ebp - 4], 0x14
call fcn.00405e4c
lea eax, [ebp - 0x13c]
push eax
mov ecx, esi
call fcn.004060a0
add esp, 0xc
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x13c]
call fcn.00404d5e
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x41633d
lea eax, [ebp - 0x34]
xor ecx, ecx
push eax
inc ecx
call fcn.0042181f
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00401198
mov byte [ebp - 4], 0x13
jmp 0x41625e
lea eax, [ebp - 0x13c]
push eax
call fcn.00404d9c
lea eax, [ebp - 0x13c]
push str.Command_
push eax
mov byte [ebp - 4], 0x16
call fcn.00405e4c
lea eax, [ebp - 0x13c]
push eax
mov ecx, edi
call fcn.004060a0
add esp, 0xc
lea eax, [ebp - 0x13c]
push str._finished_with_code
push eax
call fcn.00405e4c
pop ecx
pop ecx
push dword [ebp - 0x94]
lea eax, [ebp - 0x13c]
push eax
call fcn.0040aae0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x13c]
call fcn.00404d5e
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x4163d1
lea eax, [ebp - 0x34]
push eax
push 3
pop ecx
call fcn.0042181f
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00401198
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xf
call fcn.00404e06
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 0xec], vtable.std::ios_base.0
call fcn.00445c6f
cmp dword [ebp - 0x94], ebx
pop ecx
sete byte [ebp - 0x8d]
cmp dword [ebp - 0x8c], ebx
je 0x416437
cmp dword [ebp - 0x8c], 0xffffffff
je 0x416437
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x8d]
jmp 0x4161a0