Function at 0x443b3f
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Create process on windows
Query environment variable

Disassembly:
sub esp, 0x314
mov eax, dword [0x4755d0]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
mov ebx, dword [esp + 0x31c]
push ebp
push esi
mov esi, dword [esp + 0x328]
push edi
xor ebp, ebp
push 0x207
lea eax, [esp + 0x11d]
push ebp
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x124], 0
call fcn.00448090
xor eax, eax
mov byte [esp + 0x94], 0
lea edi, [esp + 0x95]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x7f
stosb byte es:[edi], al
lea eax, [esp + 0xa9]
push ebp
push eax
mov byte [esp + 0xb0], 0
call fcn.00448090
add esp, 0x18
cmp ebx, ebp
je 0x4442e4
cmp byte [ebx], 0
je 0x4442e4
cmp esi, ebp
jne 0x443be3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x3c], eax
push 0x10
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.00448090
push 0x44
pop edi
push edi
lea eax, [esp + 0x54]
push ebp
push eax
call fcn.00448090
add esp, 0x18
mov dword [esp + 0x44], edi
mov dword [esp + 0x70], 1
cmp esi, ebp
je 0x443c17
push 0xa
pop eax
jmp 0x443c19
xor eax, eax
mov word [esp + 0x74], ax
mov dword [esp + 0x24], 0x20
cmp esi, ebp
jne 0x443c3d
push ebp
call fcn.00440c4d
cmp eax, 4
jle 0x443c3d
mov dword [esp + 0x24], 0x8000020
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
call edi
mov ebp, 0x208
lea ecx, [ebp + eax]
mov eax, 0x1000
cmp ecx, eax
jle 0x443c5d
push ebx
call edi
add eax, ebp
push 1
push eax
call fcn.00447e84
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x443c97
cmp dword [esp + 0x334], eax
je 0x443c90
cmp dword [0x477340], eax
je 0x443c90
push ebx
call edi
add eax, ebp
push eax
push str.____Out_of_memory:__li_r_n
call fcn.00421b06
pop ecx
pop ecx
xor eax, eax
jmp 0x4442e9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call edi
lea ecx, [eax + 1]
push 0x7e
pop eax
cmp ecx, eax
jg 0x443cb0
push ebx
call edi
inc eax
push eax
push ebx
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 0x98]
push eax
call edi
cmp eax, 0x7a
jl 0x443ce6
push 4
lea eax, [esp + 0x116]
push 0x466eac
push eax
call fcn.00447af0
add esp, 0xc
mov ebp, 0x45ddf8
push ebp
push ebx
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
jne 0x443d08
push ebp
push eax
push esi
call fcn.00441ac4
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 3
lea eax, [esp + 0x11c]
push eax
push esi
call fcn.0040eb69
push 0
push 0
push 0x45c970
push ebp
lea eax, [esp + 0x128]
push eax
call fcn.0044168f
mov ebx, str.msconfig
push ebx
push esi
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x443e41
xor eax, eax
cmp byte [esi], 0x22
sete al
add eax, esi
je 0x443d6b
push ebx
call edi
push eax
xor eax, eax
cmp byte [esi], 0x22
push ebx
sete al
add eax, esi
push eax
call fcn.0044802d
add esp, 0xc
jmp 0x443d6e
xor eax, eax
inc eax
test eax, eax
jne 0x443dd8
push ebx
call edi
push str.C:WindowsSysNativemsconfig
mov dword [esp + 0x20], eax
call edi
push ebx
push esi
mov dword [esp + 0x20], eax
call fcn.004010ff
pop ecx
pop ecx
jmp 0x443dd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, ebp
add ecx, ebp
push eax
mov dword [esp + 0x18], ecx
call edi
inc eax
push eax
mov eax, dword [esp + 0x20]
add eax, ebp
push eax
push dword [esp + 0x1c]
call fcn.00448130
push dword [esp + 0x24]
push str.C:WindowsSysNativemsconfig
push ebp
call fcn.00447af0
push ebx
push dword [esp + 0x30]
call fcn.004010ff
add esp, 0x20
mov ebp, eax
test ebp, ebp
jne 0x443d8f
jmp 0x443e41
mov ebx, str.System32_
push ebx
call edi
push str.SysNative_
mov dword [esp + 0x20], eax
call edi
push ebx
push esi
mov dword [esp + 0x20], eax
call fcn.004010ff
pop ecx
pop ecx
jmp 0x443e3b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, ebp
add ecx, ebp
push eax
mov dword [esp + 0x18], ecx
call edi
inc eax
push eax
mov eax, dword [esp + 0x20]
add eax, ebp
push eax
push dword [esp + 0x1c]
call fcn.00448130
push dword [esp + 0x24]
push str.SysNative_
push ebp
call fcn.00447af0
push ebx
push dword [esp + 0x30]
call fcn.004010ff
add esp, 0x20
mov ebp, eax
test ebp, ebp
jne 0x443dfa
mov ebp, dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
xor ebx, ebx
lea eax, [esp + 0x120]
push eax
push ebx
push dword [esp + 0x34]
push ebx
push ebx
push ebx
push esi
push ebx
call ebp
push esi
mov dword [esp + 0x1c], eax
call edi
inc eax
cmp eax, 0x103
jle 0x443e7d
mov eax, 0x103
jmp 0x443e81
push esi
call edi
inc eax
push eax
push esi
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [esp + 0x18], ebx
jne 0x4442b2
push str..EXE
push dword [esp + 0x14]
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x443f11
push dword [esp + 0x10]
call edi
add eax, 0x207
push eax
push esi
push ebx
push dword [esp + 0x1c]
call fcn.0041030b
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push dword [esp + 0x34]
push ebx
push ebx
push ebx
push esi
push ebx
call ebp
push esi
mov dword [esp + 0x1c], eax
call edi
inc eax
cmp eax, 0x103
jle 0x443ef3
mov eax, 0x103
jmp 0x443ef7
push esi
call edi
inc eax
push eax
push esi
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [esp + 0x18], ebx
jne 0x4442b2
mov ebp, 0x45e8e0
push ebp
push dword [esp + 0x14]
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x44403a
push 0xf
push ebp
push dword [esp + 0x18]
call fcn.00447a30
pop ecx
pop ecx
push eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [esp + 0x10]
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.0040dc89
cmp byte [esi], bl
je 0x44403a
push esi
call edi
inc eax
push eax
lea eax, [esi + 1]
push esi
push eax
call fcn.00448130
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
push 0x45ddf8
push esi
mov byte [esi], 0x22
call ebp
push esi
call edi
cmp byte [eax + esi - 1], 0x3a
je 0x443f98
push esi
call edi
cmp byte [eax + esi - 1], 0x3d
jne 0x443fa2
mov dword [esp + 0x20], 1
jmp 0x443fc3
push str.__r_n
push esi
call ebp
push 0x22
push dword [esp + 0x14]
call fcn.00447970
pop ecx
pop ecx
test eax, eax
jne 0x443fc3
push 0x45ddf8
push esi
call ebp
push dword [esp + 0x10]
push esi
call ebp
cmp dword [esp + 0x20], ebx
jne 0x443fe9
push 0x22
push dword [esp + 0x14]
call fcn.00447970
pop ecx
pop ecx
test eax, eax
jne 0x443fe9
push 0x45ddf8
push esi
call ebp
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push dword [esp + 0x34]
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
mov dword [esp + 0x1c], eax
call edi
inc eax
cmp eax, 0x103
jle 0x44401a
mov eax, 0x103
jmp 0x44401e
push esi
call edi
inc eax
push eax
push esi
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [esp + 0x18], ebx
jne 0x4442b2
jmp 0x444040
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
cmp dword [esp + 0x40], ebx
setne al
push eax
push ebx
push ebx
push esi
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x4441be
push esi
call edi
lea ecx, [eax + 0x208]
mov eax, 0x1000
cmp ecx, eax
jle 0x44408d
push esi
call edi
add eax, 0x208
push 1
push eax
call fcn.00447e84
push 0x22
push esi
mov dword [esp + 0x24], eax
call fcn.00447970
add esp, 0x10
test eax, eax
je 0x4440cb
cmp dword [esp + 0x14], ebx
je 0x4440c3
push 0x22
push esi
call fcn.00447970
pop ecx
pop ecx
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push 0x45ddf8
jmp 0x4440fa
push 0x20
push esi
call fcn.00447970
pop ecx
pop ecx
test eax, eax
je 0x444100
cmp dword [esp + 0x14], ebx
je 0x4440f4
push 0x20
push esi
call fcn.00447970
pop ecx
pop ecx
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push str.__r_n
push esi
call fcn.004417cc
mov al, byte [esi]
test al, al
je 0x44412d
cmp al, 0x20
je 0x444116
cmp al, 9
je 0x444116
cmp al, 0xd
je 0x444116
cmp al, 0xa
jne 0x44412d
lea eax, [esi + 1]
push eax
call edi
inc eax
push eax
lea eax, [esi + 1]
push eax
push esi
call fcn.00448130
add esp, 0xc
jmp 0x444100
push esi
call edi
jmp 0x44414c
mov cl, byte [eax + esi]
cmp cl, 0x20
je 0x444149
cmp cl, 9
je 0x444149
cmp cl, 0xd
je 0x444149
cmp cl, 0xa
jne 0x444151
mov byte [eax + esi], bl
dec eax
cmp eax, ebx
jg 0x444132
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x1c]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esp + 0x20], eax
cmp eax, 0x20
jg 0x4441a7
push str..EXE
push esi
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
jne 0x4441a7
push str..EXE
push esi
call ebp
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x1c]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], ebx
je 0x4441b7
push dword [esp + 0x14]
call fcn.00447ab6
pop ecx
cmp dword [esp + 0x20], 0x20
jle 0x4441fc
cmp dword [esp + 0x40], ebx
jne 0x4441ed
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esp + 0x3c]
je 0x4441ed
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call fcn.00447ab6
pop ecx
xor eax, eax
inc eax
jmp 0x4442e9
push str..EXE
push dword [esp + 0x14]
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
jne 0x4442b2
push esi
push ebx
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jbe 0x4442b2
push str.__r_n
push esi
call ebp
push 0x45ddf8
push dword [esp + 0x14]
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
jne 0x44424d
push 0x45ddf8
push esi
call ebp
push dword [esp + 0x10]
push esi
call ebp
push 0x45ddf8
push dword [esp + 0x14]
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
jne 0x444270
push 0x45ddf8
push esi
call ebp
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push dword [esp + 0x34]
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
mov dword [esp + 0x1c], eax
call edi
lea ecx, [eax + 1]
mov eax, 0x103
cmp ecx, eax
jg 0x4442a2
push esi
call edi
inc eax
push eax
push esi
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
call fcn.00447ab6
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x444304
cmp dword [esp + 0x334], ebx
je 0x4442e4
cmp dword [0x477340], ebx
je 0x4442e4
lea eax, [esp + 0x98]
push eax
push str.____Unable_to_start___s__with_any_method
call fcn.00421b06
pop ecx
pop ecx
mov eax, 0xffffcfc3
mov ecx, dword [esp + 0x320]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448080
add esp, 0x314
ret 0x10
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x30], ebx
je 0x444316
push dword [esp + 0x30]
call ebp
mov edi, dword [esp + 0x330]
cmp edi, ebx
jge 0x444325
push 0xffffffffffffffff
jmp 0x444331
mov eax, 0x1388
cmp edi, eax
jle 0x444330
mov eax, edi
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [esp + 0x40], ebx
jne 0x444382
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esp + 0x34]
call fcn.00442613
mov esi, eax
cmp esi, ebx
je 0x444382
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x444382
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x444382
push ebx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp edi, ebx
jne 0x44439b
cmp dword [esp + 0x2c], ebx
je 0x4441f4
push dword [esp + 0x2c]
call ebp
jmp 0x4441f4
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x47c494], eax
add edi, 0x1f4
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x103
call esi
sub eax, dword [esp + 0x20]
cmp eax, edi
jae 0x4443eb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x30]
call ebp
cmp dword [esp + 0x28], 0x103
je 0x4443c4
mov dword [0x47c494], ebx
call esi
sub eax, dword [esp + 0x20]
cmp eax, edi
jb 0x444415
cmp dword [esp + 0x2c], ebx
je 0x44440b
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffcfc4
jmp 0x4442e9
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x30]
call ebp
push 0xff
lea eax, [esp + 0x11c]
push eax
push str.ERRORLEVEL
mov byte [esp + 0x124], bl
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp dword [esp + 0x2c], ebx
je 0x44444f
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
jmp 0x4442e9