Function at 0x401de0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x405a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x35c
mov dl, byte [0x408228]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], 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 + 0x269]
mov byte [esp + 0x268], 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 + 0x165]
mov byte [esp + 0x164], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
stosb byte es:[edi], al
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esi + 0x8f8]
mov ebx, dword [sym.imp.MSVCRT.dll_strrchr]
xor ebp, ebp
push 0x5c
push eax
mov dword [esp + 0x37c], ebp
mov dword [esp + 0x18], ebp
call ebx
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x401e9a
lea ecx, [esp + 0x14]
mov dword [esp + 0x374], 0xffffffff
call fcn.004054f4
xor eax, eax
jmp 0x402035
mov esi, dword [esi + 0x8f4]
push 0x5c
push esi
call ebx
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x401ec9
lea ecx, [esp + 0x14]
mov dword [esp + 0x374], 0xffffffff
call fcn.004054f4
xor eax, eax
jmp 0x402035
mov ebx, dword [esp + 0x37c]
mov ebp, dword [sym.imp.MSVCRT.dll__snprintf]
push ebx
push str._s_rmevents.exe
lea eax, [esp + 0x68]
push 0x103
inc edi
push eax
inc esi
call ebp
lea ecx, [esp + 0x70]
push ecx
call fcn.00401040
add esp, 0x14
test al, al
jne 0x401f16
lea ecx, [esp + 0x14]
mov dword [esp + 0x374], 0xffffffff
call fcn.004054f4
xor eax, eax
jmp 0x402035
push ebx
push str._sevents.txt
lea edx, [esp + 0x16c]
push 0x103
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x164]
lea ecx, [esp + 0x14]
push 0
push 0x1000
push eax
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x401f65
lea ecx, [esp + 0x14]
mov dword [esp + 0x374], 0xffffffff
call fcn.004054f4
xor eax, eax
jmp 0x402035
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFile::Close
push esi
push edi
push str.__i__s__e_events.txt__o__s
lea ecx, [esp + 0x274]
push 0x103
push ecx
call ebp
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x38]
add esp, 0x14
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x60]
lea eax, [esp + 0x268]
push ecx
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x34], str.open
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x401ff2
mov edx, dword [esp + 0x5c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push ebx
push str._s_s
lea ecx, [esp + 0x6c]
push 0x103
push ecx
call ebp
lea edx, [esp + 0x74]
push edx
call fcn.00401040
add esp, 0x18
mov esi, 1
test al, al
jne 0x40201f
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x374], 0xffffffff
call fcn.004054f4
mov eax, esi
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x368
ret 4