Function at 0x430ef0
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x480
mov dl, byte [0x481910]
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], dl
mov byte [esp + 0x288], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x289]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x481a90]
lea ecx, [esp + 0x288]
push eax
push 0x473c98
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], 0x30
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebp, dword [esp + 0x4a0]
push ebp
call fcn.004302c0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
test eax, eax
jne 0x430fa1
push 0
call esi
push 0x1f4
call esi
push 0
call esi
mov edx, ebx
inc ebx
cmp edx, 0xa
jg 0x430fa1
push ebp
call fcn.004302c0
add esp, 4
test eax, eax
je 0x430f7d
call fcn.0042b620
test eax, eax
je 0x430fd0
call fcn.004456d0
test eax, eax
je 0x430fd0
push ebp
call fcn.00431320
add esp, 4
test eax, eax
je 0x430fd0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x480
ret
mov al, byte [0x481910]
mov ecx, 0x40
mov byte [esp + 0x184], al
xor eax, eax
lea edi, [esp + 0x185]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x188]
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x184]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x183], 0x5c
je 0x431034
push 0x104
lea eax, [esp + 0x188]
push 0x4695f4
push eax
call fcn.0042f1f0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x188]
push 0x473c88
push ecx
call fcn.0042f1f0
add esp, 0xc
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
lea edx, [esp + 0x188]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x4310b2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [esp + 0x84]
push 0x473c68
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.00446e00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x480
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x473c54
push eax
mov dword [esp + 0x18], 0
call ebx
test eax, eax
jne 0x43110b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea edx, [esp + 0x84]
push 0x473c30
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00446e00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x480
ret
lea ecx, [esp + 0x10]
push ecx
push ebp
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
test ecx, ecx
jne 0x43115b
push eax
push ebp
lea edx, [esp + 0x88]
push 0x476844
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
call edi
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00446e00
add esp, 8
jmp 0x4312ad
push 0x473c24
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43119d
push 0x473c0c
push edi
call ebx
push 0x473bf4
push edi
mov ebp, eax
call ebx
test ebp, ebp
mov dword [esp + 0x24], eax
je 0x43119d
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
call ebp
test eax, eax
mov ebp, 0x430
jne 0x4311a1
mov ebp, dword [esp + 0x20]
mov ecx, dword [0x481a8c]
lea eax, [esp + 0x38c]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x3c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push 0
push 0
lea edx, [esp + 0x2a4]
push 0
lea eax, [esp + 0x3ac]
push edx
push eax
push ecx
mov dword [esp + 0x68], 0x44
mov word [esp + 0x98], 0xa
mov dword [esp + 0x94], 1
call ebx
test eax, eax
jne 0x431288
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xe9
jne 0x4312f1
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xc8
mov dword [esp + 0x1c], eax
jge 0x4312f1
push 0
call esi
push 0x1f4
call esi
push 0
call esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x3c]
push edx
push eax
push 0
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push 0
push 0
lea edx, [esp + 0x2a4]
push 0
lea eax, [esp + 0x3ac]
push edx
push eax
push ecx
call ebx
test eax, eax
je 0x43121e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4312ad
cmp eax, 0xffffffff
je 0x4312ad
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4312cf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4312e2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4312e2
push ecx
call eax
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x480
ret
push edi
lea edx, [esp + 0x84]
push 0x476810
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x8c]
push edi
push eax
call fcn.00446e00
add esp, 0x14
mov dword [esp + 0x18], 0
jmp 0x4312ad