Function at 0x404fa3
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0x38
mov eax, 0x427fc1
call fcn.004162d9
mov byte [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
add eax, 0xfffffffc
push 4
mov esi, 0xd2
pop ebx
je 0x405030
cmp byte [ecx + edi], 0x2d
jne 0x404fe5
cmp byte [ecx + edi + 1], 0x69
jne 0x404fe5
cmp byte [ecx + edi + 2], 0x20
je 0x404fec
inc ecx
cmp ecx, eax
jb 0x404fd1
jmp 0x405030
push 0x28
lea eax, [ecx + edi + 3]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x4b
push ebx
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x405030
lea eax, [ebp - 0x38]
push eax
push 0x42c238
call fcn.00408be0
mov edi, eax
push edi
push 0x72
push esi
push 0x4b
push ebx
call fcn.004094a0
push edi
call fcn.004141bd
add esp, 0x20
cmp byte [ebp - 0x38], 0
jne 0x40503e
xor al, al
call fcn.0041635c
ret
push 0x7d
push str.CorpLauncher.cpp
push 1
call fcn.00414091
add esp, 0xc
mov dword [ebp - 0x40], eax
xor edi, edi
mov dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
cmp eax, edi
jne 0x405099
push 0x4b
push ebx
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x405091
push 0x42c1fc
call fcn.00408be0
mov edi, eax
push edi
push 0x80
push esi
push 0x4b
push ebx
call fcn.004094a0
push edi
call fcn.004141bd
add esp, 0x1c
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0x38]
push eax
push edi
push 0xc0000000
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 0x44], eax
cmp eax, edi
jne 0x4050f4
push 0x4b
push ebx
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x4050e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x42c1bc
call fcn.00408be0
mov edi, eax
push edi
push 0x8a
push esi
push 0x4b
push ebx
call fcn.004094a0
push edi
call fcn.004141bd
add esp, 0x20
push dword [ebp - 0x40]
call fcn.00414179
pop ecx
jmp 0x405091
push edi
push edi
push edi
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
push 0x4b
push ebx
test edi, edi
jne 0x40514d
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x405142
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x42c17c
call fcn.00408be0
mov edi, eax
push edi
push 0x95
push esi
push 0x4b
push ebx
call fcn.004094a0
push edi
call fcn.004141bd
add esp, 0x20
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4050e9
mov eax, dword [edi + 0x2c]
dec eax
je 0x4052ee
dec eax
je 0x4052b2
dec eax
je 0x405271
dec eax
je 0x405232
dec eax
je 0x4051f3
dec eax
je 0x4051b4
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x4051ab
push dword [edi + 0x2c]
push 0x42c14c
call fcn.00408be0
push eax
push 0xc8
push esi
push 0x4b
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004094a0
push dword [ebp - 0x3c]
call fcn.004141bd
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x405142
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x4051e6
push 0x42c124
call fcn.00408be0
push eax
push 0xc2
push esi
push 0x4b
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004094a0
push dword [ebp - 0x3c]
call fcn.004141bd
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
call fcn.00401b5c
jmp 0x405329
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x405225
push 0x42c0f8
call fcn.00408be0
push eax
push 0xbc
push esi
push 0x4b
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004094a0
push dword [ebp - 0x3c]
call fcn.004141bd
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
call fcn.00403506
jmp 0x405329
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x405264
push 0x42c0cc
call fcn.00408be0
push eax
push 0xb6
push esi
push 0x4b
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004094a0
push dword [ebp - 0x3c]
call fcn.004141bd
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
call fcn.00401b1a
jmp 0x405329
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x4052a3
push 0x42c09c
call fcn.00408be0
push eax
push 0xaf
push esi
push 0x4b
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004094a0
push dword [ebp - 0x3c]
call fcn.004141bd
add esp, 0x1c
movzx eax, byte [edi + 0x4b]
mov ecx, dword [ebp - 0x40]
push eax
call fcn.00401aa2
jmp 0x405329
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x4052e4
push 0x42c070
call fcn.00408be0
push eax
push 0xa8
push esi
push 0x4b
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004094a0
push dword [ebp - 0x3c]
call fcn.004141bd
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
call fcn.00404f54
jmp 0x405329
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x405320
push 0x42c044
call fcn.00408be0
push eax
push 0xa2
push esi
push 0x4b
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004094a0
push dword [ebp - 0x3c]
call fcn.004141bd
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
push edi
call fcn.00401a4d
push 0x4b
push ebx
mov dword [edi + 0x30], eax
call fcn.00409a80
pop ecx
pop ecx
test al, al
je 0x405364
push dword [edi + 0x30]
push 0x42c004
call fcn.00408be0
push eax
push 0xd0
push esi
push 0x4b
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004094a0
push dword [ebp - 0x3c]
call fcn.004141bd
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x40]
call fcn.00414179
pop ecx
push 0
jmp 0x405093