Function at 0x41f840
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x61c
mov ax, word [0x500df0]
push ebx
push ebp
push esi
mov edx, ecx
push edi
mov word [esp + 0x424], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x630]
mov dword [esp + 0x10], edx
push ecx
lea ecx, [edx + 0x6d8]
stosw word es:[edi], ax
call fcn.004bcef0
mov esi, eax
test esi, esi
je case.0x41f8b4.4
lea ebx, [esi + 0x229c]
lea ebp, [esi + 0x2094]
push ebx
lea edx, [esp + 0x428]
push ebp
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esi]
cmp eax, 5
ja case.0x41f8b4.4
jmp dword [eax*4 + 0x41fbb4]
mov eax, dword [0x722ad8]
xor esi, esi
test eax, eax
mov edi, 1
je 0x41f8d7
mov esi, edi
mov dword [0x722ad8], 0
lea eax, [esp + 0x424]
push 0
push eax
call fcn.004a8e00
add esp, 8
test eax, eax
je 0x41f920
push 5
push 0
lea ecx, [esp + 0x42c]
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test esi, esi
je 0x41fba6
mov dword [0x722ad8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret 4
test esi, esi
je case.0x41f8b4.4
mov dword [0x722ad8], edi
jmp case.0x41f8b4.4
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], dx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push ebp
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.004c61a0
mov ebx, eax
test ebx, ebx
je 0x41fa22
lea ebp, [esi + 0x24a4]
add esi, 0x28b4
lea ecx, [esp + 0x14]
push esi
push ecx
push ebp
call fcn.00437680
add esp, 0xc
test eax, eax
je 0x41fa22
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], dx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x220]
mov ecx, ebx
push eax
push ebp
call fcn.004c6260
test eax, eax
je 0x41fa22
push ebp
push 1
mov ecx, ebx
call fcn.004c63a0
mov ecx, dword [0x73bd58]
push 0x73bf68
push 0x73bd60
push ecx
call fcn.004b99e0
mov edx, dword [0x6f287c]
add esp, 0xc
push 0x1018
push 0x2005
push 0x1400
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x6f1fd0]
test eax, eax
je 0x41fba6
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret 4
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004a8e00
add esp, 8
test eax, eax
jne 0x41fba6
jmp case.0x41f8b4.4
mov cx, word [0x500df0]
xor eax, eax
mov word [esp + 0x14], cx
mov ecx, 0x81
lea edi, [esp + 0x16]
push ebx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x18]
push ebp
push edx
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esi + 0x28b4]
push 1
lea ecx, [esp + 0x18]
push eax
add esi, 0x24a4
push ecx
push esi
call fcn.004378b0
add esp, 0x10
test eax, eax
je 0x41fae9
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], dx
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [0x73ff28]
stosw word es:[edi], ax
lea eax, [esp + 0x220]
push eax
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [0x6f287c]
push 0x40
push 0xf
call fcn.004afb70
add esp, 4
lea edx, [esp + 0x220]
push eax
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004a8e00
add esp, 8
test eax, eax
jne 0x41fba6
cmp word [esp + 0x424], 0
je 0x41fba6
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], dx
mov word [esp + 0x14], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x73ff28]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x21c]
push 0x104
push ecx
push 0x12c
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x424]
lea ecx, [esp + 0x21c]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x40
push 0xf
call fcn.004afb70
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [ecx + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret 4