Function at 0x1003f050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
push ebx
push esi
push edi
mov ecx, 4
mov edi, 0x10077200
lea esi, [ebp + 0xc]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1003f288
mov ecx, 4
mov edi, 0x100771f0
lea esi, [ebp + 0xc]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x1003f288
mov ecx, 4
mov edi, 0x1009e230
lea esi, [ebp + 0xc]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1003f0b1
mov eax, 0x80004005
lea esp, [ebp - 0x474]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [0x1009e230], ecx
mov ecx, dword [ebp + 0x18]
mov dword [0x1009e238], eax
mov dword [0x1009e23c], ecx
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x15b]
mov byte [ebp - 0x15c], 0
mov edx, dword [ebp + 0x10]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [0x1009e234], edx
lea edx, [ebp - 0x15c]
stosb byte es:[edi], al
mov eax, dword [0x1009bd48]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x15c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x25f]
mov byte [ebp - 0x260], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0x260]
push eax
push str._s_stormliv.exe
push 0x104
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x467]
mov byte [ebp - 0x468], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x10
lea edx, [ebp - 4]
stosb byte es:[edi], al
lea eax, [ebp + 0xc]
push edx
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [ebp - 4]
mov esi, eax
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jne 0x1003f19e
xor edi, edi
jmp 0x1003f1cd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.1006e670
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x260]
mov ecx, dword [eax + 0x20048]
lea eax, [ebp - 0x468]
push ecx
push edi
push edx
push str._s__U__s__HWND__d
push 0x208
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x54]
lea edx, [ebp - 0x14]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebp - 0x58]
xor esi, esi
push edx
mov dword [ebp - 0x10], ecx
push eax
push esi
mov dword [ebp - 0xc], ecx
push esi
push esi
mov dword [ebp - 8], ecx
push esi
push esi
lea ecx, [ebp - 0x468]
push esi
push ecx
push esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x58], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1003f09d
mov edx, dword [ebp - 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push ecx
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x10]
push eax
call esi
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x474]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea esp, [ebp - 0x474]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14