Function at 0x4615b4
Capabilities:
Create process on windows
Query environment variable
Resume thread
Set current directory
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bfbf
mov eax, dword fs:[0]
push eax
mov eax, 0x2148
call fcn.004d9200
mov eax, dword [0x577014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x20dc], edi
mov ebx, ecx
mov dword [ebp - 0x20b0], ebx
mov dword [ebp - 0x20ac], ebx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20ec], eax
xor eax, eax
push eax
push 1
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x20bc], edx
mov dword [ebp - 0x20ac], ebx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [ebp - 0x2088], eax
and dword [ebp - 4], 0
test eax, eax
jne 0x4616a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x10ae
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
lea eax, [ebp - 0x20a4]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp dword [ebp - 0x2088], 0
je 0x462bea
push dword [ebp - 0x2088]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x462bea
lea eax, [edi + 8]
push dword [eax]
mov dword [ebp - 0x20f0], eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 0x2084], eax
test eax, eax
jne 0x461724
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x10b2
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20a4]
mov ecx, ebx
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4627bd
mov ecx, dword [ebp - 0x2088]
mov esi, dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push 8
mov dword [ebp - 0x20c4], ecx
lea ecx, [ebp - 0x20c8]
push ecx
push 7
push eax
mov dword [ebp - 0x20c8], 1
call esi
test eax, eax
jne 0x461792
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x10b8
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 4
jmp 0x4616fd
push 0x70
lea eax, [ebp - 0x2080]
push 0
push eax
call fcn.004d9f30
xor eax, eax
add esp, 0xc
cmp byte [edi + 0x15], al
mov ecx, 0x800
cmovne eax, ecx
cmp byte [edi + 0x16], 0
mov dword [ebp - 0x2070], eax
je 0x4617c9
or eax, 0x1000
mov dword [ebp - 0x2070], eax
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x4617df
or eax, 8
mov dword [ebp - 0x2064], ecx
mov dword [ebp - 0x2070], eax
push 0x70
lea eax, [ebp - 0x2080]
push eax
push 9
push dword [ebp - 0x2084]
call esi
test eax, eax
jne 0x461836
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x10d0
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 5
jmp 0x4616fd
push 4
lea eax, [ebp - 0x20b8]
mov dword [ebp - 0x20b8], 0x80
push eax
push 4
push dword [ebp - 0x2084]
call esi
test eax, eax
jne 0x461897
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x10e2
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 6
jmp 0x4616fd
push dword [edi]
push str.InstallDir
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4618e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x10e7
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 7
jmp 0x4616fd
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.004d9f30
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0x1000
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x461957
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x10ea
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 8
jmp 0x4616fd
xor eax, eax
mov dword [ebp - 0x2098], eax
mov dword [ebp - 0x2094], eax
mov dword [ebp - 0x2090], eax
mov dword [ebp - 0x208c], eax
push 0x44
pop esi
push esi
push eax
lea eax, [ebp - 0x2154]
push eax
call fcn.004d9f30
add esp, 0xc
mov dword [ebp - 0x2154], esi
lea ecx, [ebp - 0x20b8]
call fcn.0040687a
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x20b1]
lea ecx, [ebp - 0x20a4]
mov byte [ebp - 0x20b1], 0
call fcn.0045d0f9
mov eax, dword [ebp - 0x209c]
lea ecx, [eax - 0x10]
call fcn.00407189
cmp byte [edi + 0x10], 0
jne 0x4619d9
cmp byte [edi + 0x17], 0
jne 0x4619d9
cmp byte [ebp - 0x20b1], 0
jne 0x4619d9
xor al, al
jmp 0x4619db
mov al, 1
mov byte [ebp - 0x20e5], al
test al, al
jne 0x461a64
push str.winsta0_
lea ecx, [ebp - 0x20ac]
call fcn.00406fea
push str.InstallerDesktop
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20a8]
call fcn.00409442
pop ecx
push eax
lea ecx, [ebp - 0x20b8]
mov byte [ebp - 4], 0xc
call fcn.00405d6e
mov ecx, dword [ebp - 0x20a8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20ac]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov esi, dword [ebp - 0x20b8]
cmp dword [esi - 4], 1
jle 0x461a5c
push dword [esi - 0xc]
lea ecx, [ebp - 0x20b8]
call fcn.00406d8c
mov esi, dword [ebp - 0x20b8]
mov dword [ebp - 0x214c], esi
jmp 0x461a6a
mov esi, dword [ebp - 0x20b8]
mov al, byte [edi + 0x17]
lea ecx, [ebp - 0x20a8]
mov byte [ebp - 0x20b1], al
call fcn.0042b986
lea eax, [edi + 4]
mov byte [ebp - 4], 0xd
push dword [eax]
mov dword [ebp - 0x20ac], eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x461b1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x1112
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x20a4]
mov ecx, ebx
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
push dword [ebp - 0x20a8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x20a8]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [esi - 0x10]
call fcn.00407189
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46278d
cmp dword [edi + 0x20], 0
jne 0x461beb
cmp dword [edi + 0x1c], 0xffffffff
jne 0x461beb
cmp byte [edi + 0x24], 0
jne 0x461beb
mov edx, dword [ebp - 0x20ac]
lea ecx, [ebp - 0x20ac]
push 0x53d64c
call fcn.00409442
pop ecx
lea ecx, [ebp - 0x2098]
xor edx, edx
cmp byte [ebp - 0x20b1], dl
push ecx
lea ecx, [ebp - 0x2154]
push ecx
push dword [eax]
mov ecx, 0x9000404
mov eax, 0x1000404
push edx
cmovne eax, ecx
push eax
push edx
push edx
push edx
lea eax, [ebp - 0x2010]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x20ac]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.00407189
test edi, edi
jne 0x461be0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x1139
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 0x1b
jmp 0x461ad6
mov edi, dword [ebp - 0x20dc]
jmp 0x461f8d
mov eax, dword [ebp - 0x20bc]
test eax, eax
jne 0x461c1b
push 0x1115
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov byte [ebp - 4], 0xf
jmp 0x461ad6
push 0x1116
mov edx, eax
lea ecx, [ebp - 0x20d8]
call fcn.0045d2a3
pop ecx
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x20d8], 0
jge 0x461ca7
cmp dword [ebp - 0x20d4], 0
mov eax, 0x1116
cmovne eax, dword [ebp - 0x20d4]
push eax
push dword [ebp - 0x20d8]
push ecx
mov edi, esp
mov dword [ebp - 0x20ac], edi
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20a4]
mov dword [edi], eax
call fcn.00406620
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x20a4]
mov ecx, ebx
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20d0]
jmp 0x461aea
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
xor eax, eax
lea edx, [ebp - 0x20e0]
push eax
push eax
push eax
lea eax, [ebp - 0x20ac]
push 1
push eax
lea ecx, [ebp - 0x20d8]
call fcn.0045fdd3
add esp, 0x14
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x20d8], 0
jge 0x461d32
cmp dword [ebp - 0x20d4], 0
mov eax, 0x111d
cmovne eax, dword [ebp - 0x20d4]
push eax
push dword [ebp - 0x20d8]
push ecx
mov edi, esp
mov dword [ebp - 0x20e0], edi
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20a4]
mov dword [edi], eax
call fcn.00406620
mov byte [ebp - 4], 0x13
jmp 0x461c80
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [ebp - 0x20cc], 0
and dword [ebp - 0x20c8], 0
lea eax, [ebp - 0x20a4]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x20cc]
call fcn.0046008f
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x20a4], 0
jge 0x461e72
cmp dword [ebp - 0x20a0], 0
mov eax, 0x1120
cmovne eax, dword [ebp - 0x20a0]
push eax
push dword [ebp - 0x20a4]
push ecx
mov edi, esp
mov dword [ebp - 0x20e0], edi
mov ebx, dword [ebp - 0x209c]
lea ecx, [ebx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20d8]
mov dword [edi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x20b0]
lea eax, [ebp - 0x20d8]
push eax
mov byte [ebp - 4], 0x16
call fcn.0040121b
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebx - 0x10]
call fcn.00407189
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x20a8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x20a8]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [esi - 0x10]
call fcn.00407189
cmp dword [ebp - 0x2094], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x461e28
push dword [ebp - 0x2094]
call esi
and dword [ebp - 0x2094], 0
cmp dword [ebp - 0x2098], 0
je 0x461e40
push dword [ebp - 0x2098]
call esi
and dword [ebp - 0x2098], 0
cmp dword [ebp - 0x2084], 0
je 0x461e58
push dword [ebp - 0x2084]
call esi
and dword [ebp - 0x2084], 0
cmp dword [ebp - 0x2088], 0
je 0x462be4
push dword [ebp - 0x2088]
call esi
jmp 0x462be4
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
push 0x53d64c
lea edx, [edi + 4]
lea ecx, [ebp - 0x20ac]
call fcn.00409442
pop ecx
mov byte [ebp - 4], 0x17
mov ecx, 0x9000404
push dword [eax]
cmp byte [ebp - 0x20b1], 0
mov eax, 0x1000404
cmovne eax, ecx
push eax
lea eax, [ebp - 0x2098]
push eax
lea eax, [ebp - 0x2154]
push eax
push ecx
lea eax, [ebp - 0x2010]
mov ecx, esp
push eax
call fcn.00406fea
mov edx, dword [ebp - 0x20bc]
lea ecx, [ebp - 0x20d8]
call fcn.0046122f
add esp, 0x14
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x20ac]
add ecx, 0xfffffff0
call fcn.00407189
cmp dword [ebp - 0x20d8], 0
jge 0x461f79
cmp dword [ebp - 0x20d4], 0
mov eax, 0x1129
cmovne eax, dword [ebp - 0x20d4]
push eax
push dword [ebp - 0x20d8]
push ecx
mov edi, esp
mov dword [ebp - 0x20e0], edi
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20a4]
mov dword [edi], eax
call fcn.00406620
lea eax, [ebp - 0x20a4]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x461af2
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov byte [ebp - 4], 0xa
push dword [ebp - 0x20a8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x20a8]
add ecx, 0xfffffff0
call fcn.00407189
cmp byte [edi + 0x18], 0
je 0x461fda
push dword [ebp - 0x2094]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x20ec]
xor eax, eax
mov dword [ecx + 4], eax
lea ecx, [ebx + 8]
mov dword [ebx], eax
mov dword [ebx + 4], eax
call fcn.0040687a
jmp 0x461b0c
push dword [ebp - 0x2098]
push dword [ebp - 0x2084]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x462030
call fcn.00406710
push 1
push dword [ebp - 0x2098]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x2094]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x114a
push edi
push ecx
mov ecx, esp
push 0x549b60
call fcn.00406fea
mov ecx, ebx
call fcn.00406620
jmp 0x461b0c
push dword [ebp - 0x2094]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [ebp - 0x20ac]
call fcn.004283a1
lea ecx, [edi + 8]
mov byte [ebp - 4], 0x1c
push ecx
mov edx, eax
lea ecx, [ebp - 0x20c0]
call fcn.0040a037
pop ecx
mov ecx, dword [ebp - 0x20ac]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [ebp - 0x20a8], 0
lea ecx, [ebp - 0x2054]
mov byte [ebp - 4], 0x1f
call fcn.0045c008
mov byte [ebp - 4], 0x20
cmp byte [edi + 0x10], 0
je 0x462359
lea ecx, [ebp - 0x20ac]
call fcn.004283a1
push dword [ebp - 0x20f0]
mov edx, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x20bc]
call fcn.0040a037
pop ecx
mov ecx, dword [ebp - 0x20ac]
add ecx, 0xfffffff0
call fcn.00407189
push ecx
mov ecx, esp
mov dword [ebp - 0x20e0], esp
call fcn.0040dc3f
push ecx
mov byte [ebp - 4], 0x24
mov edi, esp
mov dword [ebp - 0x20c4], edi
mov ecx, dword [ebp - 0x20bc]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20a4]
mov dword [edi], eax
mov byte [ebp - 4], 0x23
call fcn.0042a53e
pop ecx
pop ecx
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x20a4], 0
jge 0x4621a3
cmp dword [ebp - 0x20a0], 0
mov eax, 0x115c
cmovne eax, dword [ebp - 0x20a0]
push eax
push dword [ebp - 0x20a4]
push ecx
mov edi, esp
mov dword [ebp - 0x20c4], edi
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20cc]
mov dword [edi], eax
call fcn.00406620
lea eax, [ebp - 0x20cc]
mov byte [ebp - 4], 0x26
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x20c4]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20bc]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x2054]
call fcn.00462ec9
mov ecx, dword [ebp - 0x20c0]
jmp 0x461b04
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x209c]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [ebp - 0x20f0]
push ecx
mov edi, esp
mov dword [ebp - 0x20c4], esp
mov dword [ebp - 0x20e0], edi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004070e7
add eax, 0x10
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 0x27
mov edi, esp
mov dword [ebp - 0x20e0], edi
mov ecx, dword [ebp - 0x20bc]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea edx, [ebp - 0x20a8]
mov dword [edi], eax
lea ecx, [ebp - 0x20a4]
mov byte [ebp - 4], 0x23
call fcn.0045cbf7
pop ecx
pop ecx
mov byte [ebp - 4], 0x28
cmp dword [ebp - 0x20a4], 0
jge 0x462338
cmp dword [ebp - 0x20a0], 0
mov eax, 0x115d
cmovne eax, dword [ebp - 0x20a0]
push eax
push dword [ebp - 0x20a4]
push ecx
mov edi, esp
mov dword [ebp - 0x20c4], edi
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20cc]
mov dword [edi], eax
call fcn.00406620
lea eax, [ebp - 0x20cc]
mov byte [ebp - 4], 0x29
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x20c4]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20bc]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x2054]
call fcn.00462ec9
cmp dword [ebp - 0x20a8], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4622c0
push dword [ebp - 0x20a8]
call edi
mov ecx, dword [ebp - 0x20c0]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [esi - 0x10]
call fcn.00407189
cmp dword [ebp - 0x2094], 0
je 0x4622ee
push dword [ebp - 0x2094]
call edi
and dword [ebp - 0x2094], 0
cmp dword [ebp - 0x2098], 0
je 0x462306
push dword [ebp - 0x2098]
call edi
and dword [ebp - 0x2098], 0
cmp dword [ebp - 0x2084], 0
je 0x46231e
push dword [ebp - 0x2084]
call edi
and dword [ebp - 0x2084], 0
cmp dword [ebp - 0x2088], 0
je 0x462bea
push dword [ebp - 0x2088]
call edi
jmp 0x462bea
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20bc]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x462521
mov ecx, dword [edi + 0x2c]
xor eax, eax
add ecx, 0xfffffff0
cmp dword [ecx + 4], eax
je 0x462527
mov dword [ebp - 0x20e4], eax
mov dword [ebp - 0x20e0], eax
push ecx
mov byte [ebp - 4], 0x2a
mov edi, esp
mov dword [ebp - 0x20c4], edi
call fcn.004070e7
add eax, 0x10
lea edx, [ebp - 0x20e4]
lea ecx, [ebp - 0x20a4]
mov dword [edi], eax
call fcn.0040c6c7
pop ecx
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x20a4], 0
jge 0x462437
cmp dword [ebp - 0x20a0], 0
mov eax, 0x1163
cmovne eax, dword [ebp - 0x20a0]
push eax
push dword [ebp - 0x20a4]
push ecx
mov edi, esp
mov dword [ebp - 0x20c4], edi
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20cc]
mov dword [edi], eax
call fcn.00406620
lea eax, [ebp - 0x20cc]
mov byte [ebp - 4], 0x2c
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x20c4]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20e0]
test ecx, ecx
je 0x46218d
call fcn.00405adf
jmp 0x46218d
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
push dword [ebp - 0x20e4]
lea eax, [ebp - 0x20a4]
push eax
lea ecx, [ebp - 0x202c]
call fcn.00402415
mov byte [ebp - 4], 0x2d
cmp dword [ebp - 0x20a4], 0
jge 0x462504
cmp dword [ebp - 0x20a0], 0
mov eax, 0x1164
cmovne eax, dword [ebp - 0x20a0]
push eax
push dword [ebp - 0x20a4]
push ecx
mov edi, esp
mov dword [ebp - 0x20c4], edi
mov ebx, dword [ebp - 0x209c]
lea ecx, [ebx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20cc]
mov dword [edi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x20b0]
lea eax, [ebp - 0x20cc]
push eax
mov byte [ebp - 4], 0x2e
call fcn.0040121b
mov ecx, dword [ebp - 0x20c4]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20e0]
test ecx, ecx
je 0x4624ee
call fcn.00405adf
lea ecx, [ebp - 0x2054]
call fcn.00462ec9
mov ecx, dword [ebp - 0x20c0]
jmp 0x461dfa
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20e0]
test ecx, ecx
je 0x462521
call fcn.00405adf
mov edi, dword [ebp - 0x20dc]
and dword [ebp - 0x20d4], 0
lea eax, [ebp - 0x20e5]
mov dword [ebp - 0x210c], eax
lea ecx, [ebp - 0x20d0]
lea eax, [ebp - 0x2084]
mov dword [ebp - 0x20f8], edi
mov dword [ebp - 0x2108], eax
lea eax, [ebp - 0x2054]
mov dword [ebp - 0x2104], eax
lea eax, [ebp - 0x2088]
mov dword [ebp - 0x2100], eax
lea eax, [ebp - 0x2098]
mov dword [ebp - 0x20fc], eax
mov eax, dword [ebp - 0x20ec]
mov dword [ebp - 0x20f4], eax
mov dword [ebp - 0x20d8], 0x80004005
call fcn.0040687a
and dword [ebp - 0x20bc], 0
sub esp, 0xc
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x20d8]
lea esi, [ebp - 0x210c]
lea edx, [ebp - 0x20bc]
push eax
sub esp, 0x1c
push 7
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20a4]
call fcn.004b3508
add esp, 0x2c
mov byte [ebp - 4], 0x31
cmp dword [ebp - 0x20a4], 0
jge 0x462662
cmp dword [ebp - 0x20a0], 0
mov eax, 0x1188
cmovne eax, dword [ebp - 0x20a0]
push eax
push dword [ebp - 0x20a4]
push ecx
mov esi, esp
mov dword [ebp - 0x20c4], esi
mov edi, dword [ebp - 0x209c]
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20cc]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x20cc]
mov byte [ebp - 4], 0x32
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x20c4]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
cmp dword [ebp - 0x20bc], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x46274b
push dword [ebp - 0x20bc]
jmp 0x462749
mov ecx, dword [ebp - 0x209c]
add ecx, 0xfffffff0
call fcn.00407189
mov esi, dword [ebp - 0x20bc]
test esi, esi
jne 0x4626f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x1189
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
lea eax, [ebp - 0x20a4]
mov byte [ebp - 4], 0x33
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x2054]
call fcn.00462ec9
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x462764
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push esi
call edi
test eax, eax
je 0x4627ef
push 0x118b
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
lea eax, [ebp - 0x20a4]
mov byte [ebp - 4], 0x34
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x2054]
call fcn.00462ec9
mov eax, dword [ebp - 0x20a8]
test eax, eax
je 0x462771
push eax
call esi
mov ecx, dword [ebp - 0x20c0]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20b8]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp dword [ebp - 0x2094], 0
je 0x4627a5
push dword [ebp - 0x2094]
call esi
and dword [ebp - 0x2094], 0
cmp dword [ebp - 0x2098], 0
je 0x4627bd
push dword [ebp - 0x2098]
call esi
and dword [ebp - 0x2098], 0
cmp dword [ebp - 0x2084], 0
je 0x4627d5
push dword [ebp - 0x2084]
call esi
and dword [ebp - 0x2084], 0
cmp dword [ebp - 0x2088], 0
je 0x462bea
push dword [ebp - 0x2088]
call esi
jmp 0x462bea
mov byte [ebp - 4], 0x2f
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
cmp dword [ebp - 0x20d8], 0
jge 0x462852
push 1
push dword [ebp - 0x2084]
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov ecx, dword [ebp - 0x20b0]
lea eax, [ebp - 0x20d8]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x2054]
call fcn.00462ec9
mov eax, dword [ebp - 0x20a8]
test eax, eax
je 0x462b6f
push eax
jmp 0x462b6d
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x2054]
mov byte [ebp - 4], 0x1f
call fcn.00462ec9
mov ecx, dword [ebp - 0x20ec]
lea eax, [ecx + 4]
push eax
push dword [ebp - 0x2098]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4628e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x1199
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov ecx, dword [ebp - 0x20b0]
lea eax, [ebp - 0x20a4]
push eax
mov byte [ebp - 4], 0x35
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x46283e
mov eax, dword [ebp - 0x20dc]
mov esi, dword [ebp - 0x20a8]
cmp byte [eax + 0x10], 0
je 0x462b53
test esi, esi
jne 0x462949
push 0x11a1
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov ecx, dword [ebp - 0x20b0]
lea eax, [ebp - 0x20a4]
push eax
mov byte [ebp - 4], 0x36
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x462b6f
push 0xffffffffffffffff
push esi
call edi
and dword [ebp - 0x20bc], 0
lea eax, [ebp - 0x20bc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4629c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x11a5
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov ecx, dword [ebp - 0x20b0]
lea eax, [ebp - 0x20a4]
push eax
mov byte [ebp - 4], 0x37
call fcn.0040121b
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x462b6c
lea ecx, [ebp - 0x20dc]
call fcn.0040dc3f
mov byte [ebp - 4], 0x38
cmp dword [ebp - 0x20bc], 0
jne 0x462ab3
push 0
push ecx
mov edi, esp
mov dword [ebp - 0x20c4], edi
mov ecx, dword [ebp - 0x20c0]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea edx, [ebp - 0x20dc]
lea ecx, [ebp - 0x20a4]
mov dword [edi], eax
call fcn.0042a9b6
pop ecx
pop ecx
mov byte [ebp - 4], 0x39
cmp dword [ebp - 0x20a4], 0
jge 0x462a9f
cmp dword [ebp - 0x20a0], 0
mov eax, 0x11ab
cmovne eax, dword [ebp - 0x20a0]
push eax
push dword [ebp - 0x20a4]
push ecx
mov edi, esp
mov dword [ebp - 0x20c4], edi
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x20d8]
mov dword [edi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x20b0]
lea eax, [ebp - 0x20d8]
push eax
mov byte [ebp - 4], 0x3a
call fcn.0040121b
mov ecx, dword [ebp - 0x20d0]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x209c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20dc]
jmp 0x4629ba
mov byte [ebp - 4], 0x38
mov ecx, dword [ebp - 0x209c]
add ecx, 0xfffffff0
call fcn.00407189
jmp 0x462afc
cmp dword [ebp - 0x20bc], 2
je 0x462af1
push 0x11ad
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20a4]
call fcn.00406620
mov ecx, dword [ebp - 0x20b0]
lea eax, [ebp - 0x20a4]
push eax
mov byte [ebp - 4], 0x3b
call fcn.0040121b
jmp 0x462a86
lea ecx, [ebp - 0x20dc]
call fcn.0040e3af
push ecx
mov edi, esp
mov dword [ebp - 0x20c4], edi
mov ebx, dword [ebp - 0x20dc]
lea ecx, [ebx - 0x10]
call fcn.0040e1fb
add eax, 0x10
lea ecx, [ebp - 0x20ac]
mov dword [edi], eax
call fcn.00429ecd
pop ecx
mov ecx, dword [ebp - 0x20ec]
push eax
mov byte [ebp - 4], 0x3c
lea ecx, [ecx + 8]
call fcn.00405d6e
mov ecx, dword [ebp - 0x20ac]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebx - 0x10]
call fcn.00407189
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20b0]
and dword [ecx], 0
and dword [ecx + 4], 0
add ecx, 8
call fcn.0040687a
test esi, esi
je 0x462b6f
push esi
call ebx
mov ecx, dword [ebp - 0x20c0]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20b8]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp dword [ebp - 0x2094], 0
je 0x462ba3
push dword [ebp - 0x2094]
call ebx
and dword [ebp - 0x2094], 0
cmp dword [ebp - 0x2098], 0
je 0x462bbb
push dword [ebp - 0x2098]
call ebx
and dword [ebp - 0x2098], 0
cmp dword [ebp - 0x2084], 0
je 0x462bd3
push dword [ebp - 0x2084]
call ebx
and dword [ebp - 0x2084], 0
cmp dword [ebp - 0x2088], 0
je 0x462be4
push dword [ebp - 0x2088]
call ebx
mov ebx, dword [ebp - 0x20b0]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d818b
leave
ret