Function at 0x40dc71
Capabilities:
Print debug messages
Terminate process

Disassembly:
push 0x60
mov eax, 0x443d5b
call fcn.0041f6de
xor esi, esi
mov dword [ebp - 0x48], esi
call fcn.0040b2e1
mov edi, eax
test edi, edi
jns 0x40dc9f
push str.Execution_environment_check_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ecx, ecx
xor eax, eax
inc ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.0040d7af
test al, al
jne 0x40dcd2
mov edx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x34]
call fcn.0040fc2b
mov ecx, 0x455718
call fcn.0040dab9
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
jb 0x40dce8
mov ecx, dword [ebp - 0x34]
push ecx
push ecx
push eax
push ecx
call fcn.0040c7d6
mov edi, dword [0x45f650]
lea eax, [ebp - 0x18]
test eax, eax
je 0x40dd31
push 0x2bc
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401c41
test eax, eax
je 0x40dd2d
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401ac7
mov edx, str.Started
call fcn.00401c16
mov ecx, eax
call fcn.00401afb
mov eax, esi
jmp 0x40dcfa
call fcn.0042d099
cmp dword [eax], 2
jge 0x40dd7f
mov edi, dword [0x45f650]
lea eax, [ebp - 0x18]
test eax, eax
je 0x40de4e
push 0x12c
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401c41
test eax, eax
je 0x40dd7b
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401ac7
mov edx, str.No_parameters
call fcn.00401c16
mov ecx, eax
call fcn.00401afb
mov eax, esi
jmp 0x40dd44
call fcn.0042d09f
push 0x4557a4
mov eax, dword [eax]
push dword [eax + 4]
call fcn.004275e1
pop ecx
pop ecx
test eax, eax
jne 0x40dda6
lea ecx, [ebp - 0x34]
call fcn.0040e227
jmp 0x40de4c
call fcn.0042d09f
push 0x4557ac
mov eax, dword [eax]
push dword [eax + 4]
call fcn.004275e1
pop ecx
pop ecx
test eax, eax
jne 0x40ddca
call fcn.0040df50
jmp 0x40de4c
call fcn.0042d09f
push str._is_manually_created_dump
mov eax, dword [eax]
push dword [eax + 4]
call fcn.004275e1
pop ecx
pop ecx
test eax, eax
jne 0x40ddeb
call fcn.0040e079
jmp 0x40de4c
call fcn.0042d09f
push str._get_last_error
mov eax, dword [eax]
push dword [eax + 4]
call fcn.004275e1
pop ecx
pop ecx
test eax, eax
jne 0x40de0c
call fcn.0040e10b
jmp 0x40de4c
call fcn.0042d09f
push str._get_exception_code
mov eax, dword [eax]
push dword [eax + 4]
call fcn.004275e1
pop ecx
pop ecx
test eax, eax
jne 0x40de2d
call fcn.0040e199
jmp 0x40de4c
call fcn.0042d09f
push 0x455830
mov eax, dword [eax]
push dword [eax + 4]
call fcn.004275e1
pop ecx
pop ecx
test eax, eax
jne 0x40de5f
call fcn.0040db0d
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00403b3f
or dword [ebp - 4], 0xffffffff
jmp 0x40df09
mov edi, dword [0x45f650]
lea eax, [ebp - 0x18]
test eax, eax
je 0x40de4e
push 0x12c
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401c41
test eax, eax
je 0x40de9b
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401ac7
mov edx, str.Wrong_parameter_1
call fcn.00401c16
mov ecx, eax
call fcn.00401afb
mov eax, esi
jmp 0x40de68
push 0x2bc
push dword [0x45f650]
lea ecx, [ebp - 0x44]
call fcn.00401c41
test eax, eax
je 0x40df46
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401ac7
mov edx, str.Stopped_with_result
call fcn.00401c16
mov edx, esi
mov ecx, eax
call fcn.0040b2a6
mov ecx, eax
call fcn.00401afb
mov eax, esi
call fcn.0041f62b
ret 0x10