Function at 0x424080
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x449a70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x45eef8]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x84], ebx
mov edi, dword [esp + 0x8c]
mov byte [esp + 0x84], 1
cmp edi, ebx
je 0x4243af
xor esi, esi
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.004075a0
test eax, eax
jle 0x4243af
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push esi
call fcn.004075b0
mov ecx, eax
call fcn.00424ca0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 2
call fcn.00438e1b
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 1
call fcn.00438d2e
mov ecx, dword [0x462d38]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x424159
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.handle_eventaction_CLOSE
call fcn.00438d9c
mov ecx, dword [ebp + 0x88]
call fcn.00413ed0
mov eax, dword [ebp + 0x2c]
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ecx, dword [0x462d34]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x4242ff
push esi
mov ecx, edi
call fcn.004075b0
push ecx
mov esi, eax
mov eax, esp
mov dword [esp + 0x40], esp
push eax
mov ecx, esi
call fcn.00419dd0
mov ecx, dword [ebp + 0x80]
call fcn.00411380
cmp al, bl
jne 0x4241cc
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00419dd0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
lea ecx, [esp + 0x24]
sete byte [esp + 0x13]
call fcn.00438d2e
cmp byte [esp + 0x13], bl
jne 0x4243af
push ecx
mov ecx, esi
mov edx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00419dd0
mov ecx, dword [ebp + 0x80]
lea eax, [esp + 0x2c]
push eax
call fcn.00410940
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 3
call fcn.00438e1b
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 1
call fcn.00438d2e
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0x3c
push ecx
mov ecx, esi
mov dword [esp + 0x48], 0x40
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.00419dd0
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], eax
call fcn.00438d2e
lea edx, [esp + 0x30]
mov ecx, esi
push edx
call fcn.0041b130
mov eax, dword [eax]
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], eax
call fcn.00438d2e
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 5
mov dword [esp + 0x64], ebx
call fcn.00419dd0
push eax
lea edx, [esp + 0x38]
push str.handle_eventaction_RUN__
push edx
mov byte [esp + 0x90], 4
call fcn.00438feb
push ecx
mov byte [esp + 0x88], 5
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x45ebcc
push eax
push ecx
call fcn.00438f77
mov ecx, dword [ebp + 0x88]
call fcn.00413ed0
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 4
call fcn.00438d2e
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 1
call fcn.00438d2e
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x8c]
mov eax, dword [0x462d30]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x424356
push esi
mov ecx, edi
call fcn.004075b0
push ecx
mov dword [esp + 0x20], eax
mov ecx, esp
mov dword [esp + 0x40], esp
push str.handle_eventaction_SETMODE
call fcn.00438d9c
mov ecx, dword [ebp + 0x88]
call fcn.00413ed0
push ecx
mov ecx, dword [esp + 0x20]
mov edx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00419dd0
mov ecx, ebp
call fcn.00423e40
mov eax, dword [0x462d2c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0042a604
add esp, 8
test eax, eax
jne 0x42439b
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.handle_eventaction_SKIPNEXTTASK
call fcn.00438d9c
mov ecx, dword [ebp + 0x88]
call fcn.00413ed0
mov edx, dword [ebp + 0x2c]
push ebx
push 4
push 0x800a
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
inc esi
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.004075a0
cmp esi, eax
jl 0x4240e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], bl
call fcn.00438d2e
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 0xffffffff
call fcn.00438d2e
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 4