Function at 0x413350
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484520
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4ae070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xac], ecx
test ecx, ecx
jne 0x4133e2
mov eax, dword [0x4b29c0]
test eax, eax
je 0x4133d8
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode.
push 0x49586c
push 0x49586c
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x18
jmp 0x4133fc
mov ecx, dword [0x4b29c4]
test ecx, ecx
je 0x4133fc
mov eax, dword [ecx]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode.
push str.ProcessUtils
push 0x49586c
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x14
push 0x24
call fcn.00459245
xorps xmm0, xmm0
mov dword [ebp - 0xb0], eax
add esp, 4
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x18], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
mov esi, dword [edi]
mov edi, dword [edi + 4]
push 1
push 0x495848
call fcn.00401930
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x14], 8
jb 0x413488
mov edx, dword [eax]
jmp 0x41348a
mov edx, eax
cmp word [edx], 0
jne 0x413494
xor ecx, ecx
jmp 0x4134b3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xa4], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4134a0
sub ecx, dword [ebp - 0xa4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00401930
push 2
push 0x49584c
lea ecx, [ebp - 0x40]
call fcn.00401930
cmp esi, edi
je 0x413524
cmp dword [esi + 0x14], 8
jb 0x4134da
mov edx, dword [esi]
jmp 0x4134dc
mov edx, esi
cmp word [edx], 0
jne 0x4134e6
xor ecx, ecx
jmp 0x413504
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xa4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4134f1
sub ecx, dword [ebp - 0xa4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00401930
push 1
push str._.
lea ecx, [ebp - 0x40]
call fcn.00401930
add esi, 0x18
cmp esi, edi
jne 0x4134d0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x413555
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00401fa0
lea eax, [ebp - 0x28]
push eax
call fcn.00414530
test al, al
jne 0x41360e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xb0]
mov dword [ecx], eax
mov ecx, edi
call fcn.00414420
push 0x24
push edi
call fcn.0045927d
mov edx, dword [ebp - 0xac]
add esp, 8
test edx, edx
jne 0x4135e1
mov ecx, dword [0x4b29c0]
test ecx, ecx
je 0x4135d3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_utilRemoveFileSpec_in_currentDirectory__s__n
push 0x49586c
push 0x49586c
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
xor al, al
jmp 0x4138dc
mov edx, dword [0x4b29c4]
test edx, edx
je 0x413717
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [edx]
cmovae eax, dword [ebp - 0x28]
push eax
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_utilRemoveFileSpec_in_currentDirectory__s__n
push str.ProcessUtils
push 0x49586c
push 0x32
push edx
call dword [ecx + 0x34]
add esp, 0x18
xor al, al
jmp 0x4138dc
push 0x44
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.0045c510
mov esi, dword [ebp - 0xac]
lea edx, [ebp - 0x98]
add esp, 0xc
mov edi, dword [ebp - 0xb0]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x88], 0x44
cmovae ecx, dword [ebp - 0x28]
xorps xmm0, xmm0
cmp dword [ebp - 0x2c], 8
push esi
push dword [ebp - 0xb8]
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0xa0]
movups xmmword [ebp - 0x98], xmm0
push edx
lea edx, [ebp - 0x88]
push edx
push ecx
push eax
push ecx
mov ecx, edi
call fcn.00413950
test al, al
jne 0x41371e
test esi, esi
je 0x4136a6
mov ecx, dword [ebp - 0xa0]
mov eax, dword [esi]
push dword [ecx]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_createProcessInUserSession_with_error__d.
push str.ProcessUtils
push 0x49586c
push 0x32
push esi
jmp 0x4136ff
mov eax, dword [0x4b29c0]
test eax, eax
je 0x4136d9
mov ecx, dword [ebp - 0xa0]
push dword [ecx]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_createProcessInUserSession_with_error__d.
push 0x49586c
push 0x49586c
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
jmp 0x413705
mov ecx, dword [0x4b29c4]
test ecx, ecx
je 0x413705
mov edx, dword [ebp - 0xa0]
mov eax, dword [ecx]
push dword [edx]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_createProcessInUserSession_with_error__d.
push str.ProcessUtils
push 0x49586c
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov ecx, edi
call fcn.00414420
push 0x24
push edi
call fcn.0045927d
add esp, 8
xor al, al
jmp 0x4138dc
cmp byte [ebp + 0xc], 0
jne 0x413839
test esi, esi
je 0x413742
mov eax, dword [esi]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._WaitForFinish_is_false._Returning
push str.ProcessUtils
push 0x49586c
push 0x1e
push esi
jmp 0x41378b
mov eax, dword [0x4b29c0]
test eax, eax
je 0x41376d
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._WaitForFinish_is_false._Returning
push 0x49586c
push 0x49586c
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x18
jmp 0x413791
mov ecx, dword [0x4b29c4]
test ecx, ecx
je 0x413791
mov eax, dword [ecx]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._WaitForFinish_is_false._Returning
push str.ProcessUtils
push 0x49586c
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x14
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xb4]
mov dword [eax], 0
mov dword [ecx], 0
mov ecx, edi
call fcn.00414420
push 0x24
push edi
call fcn.0045927d
add esp, 8
test esi, esi
je 0x4137de
mov eax, dword [esi]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Return
push str.ProcessUtils
push 0x49586c
push 0x1e
push esi
call dword [eax + 0x34]
add esp, 0x14
jmp 0x4138da
mov eax, dword [0x4b29c0]
test eax, eax
je 0x41380c
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Return
push 0x49586c
push 0x49586c
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x18
jmp 0x4138da
mov ecx, dword [0x4b29c4]
test ecx, ecx
je 0x4138da
mov eax, dword [ecx]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Return
push str.ProcessUtils
push 0x49586c
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x14
jmp 0x4138da
push 0xffffffffffffffff
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xb4]
xor esi, esi
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x98]
mov dword [ecx], eax
call fcn.00414490
test al, al
je 0x4138a6
cmp esi, 0xa
jge 0x413896
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x98]
inc esi
call fcn.00414490
test al, al
jne 0x413873
cmp esi, 0xa
jne 0x4138a6
push 0
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x98]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x94]
call esi
mov eax, dword [ebp - 0xa0]
mov ecx, edi
mov dword [eax], 0
call fcn.00414420
push 0x24
push edi
call fcn.0045927d
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x99], al
cmp ecx, 8
jb 0x4138ff
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00401e60
mov al, byte [ebp - 0x99]
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp ecx, 8
jb 0x41392e
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00401e60
mov al, byte [ebp - 0x99]
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.0045922f
mov esp, ebp
pop ebp
ret