Function at 0x4025e9
Capabilities:
Accept command line arguments
Check if file exists
Move file
Query environment variable

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x884
call fcn.00403820
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
mov edx, eax
lea eax, [ebp - 0x5c]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call eax
sub esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x402634
mov dword [esp], str.Error_parsing_commandline_options__n
call fcn.00401530
mov eax, dword [ebp - 0x5c]
cmp eax, 3
jg 0x402651
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str.Usage:__S__options..__nOptions:_n____crt__________________CreateRemoteThread_injection_n____apc__________________QueueUserAPC_injection_n____free_________________Do_not_inject_our_monitor_n____dll__dll_____________DLL_to_inject_n____app__app_____________Path_to_application_to_start_n____args__args___________Command_line_arguments_n_________________________Excluding_the_application_path__n____curdir__dirpath______Current_working_directory_n____maximize_____________Maximize_the_newly_created_GUI_n____pid__pid_____________Process_identifier_to_inject_n____process_name__name___Process_name_to_inject_n____tid__tid_____________Thread_identifier_to_inject_n____from__pid____________Inject_from_another_process_n____from_process__name___Inject_from_another_process__resolves_pid_n____only_start___________Start_the_application_and_print_pid_tid_n____resume_thread________Resume_the_thread_of_the_pid_tid_target_n____config__path_________Configuration_file_for_the_monitor_n____dbg__path____________Attach_debugger_to_target_process_n____dump__filepath_______Dump_process_memory_with___pid_to_filepath_n____dump_block__addr___length__Restrict_process_memory_dump_to_a_particular_block_n____verbose______________Verbose_switch_n
call fcn.00401530
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x406854
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 1
jmp 0x402c5b
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__crt
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402713
mov dword [ebp - 0x38], 1
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__apc
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402744
mov dword [ebp - 0x38], 2
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__free
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402775
mov dword [ebp - 0x38], 3
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__dll
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4027b7
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__app
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4027f9
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__args
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x40283b
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__curdir
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x40287d
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__maximize
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4028ae
mov dword [ebp - 0x40], 3
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__pid
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402908
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_wcstol
mov dword [ebp - 0x30], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__process_name
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x40294a
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__tid
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4029a4
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_wcstol
mov dword [ebp - 0x60], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__from
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4029fe
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_wcstol
mov dword [ebp - 0x34], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__from_process
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402a40
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__only_start
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402a77
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__resume_thread
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402aae
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__config
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402af0
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__dbg
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402b32
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__dump
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402b74
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__dump_block
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402bfb
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00404760
mov dword [ebp - 0x4c], eax
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00404760
mov dword [ebp - 0x50], eax
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__verbose
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x402c2c
mov dword [0x408020], 1
jmp 0x402c57
mov eax, dword [ebp - 0x54]
lea edx, [eax*4]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str.____Found_unsupported_argument:__S_n
call fcn.00401530
mov eax, 1
jmp 0x403144
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x54], eax
jl 0x4026e2
cmp dword [ebp - 0x2c], 0
je 0x402c9d
cmp dword [ebp - 0x30], 0
je 0x402c9d
mov eax, dword [ebp - 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00402355
mov eax, 0
jmp 0x403144
cmp dword [ebp - 0x38], 0
jne 0x402cb5
cmp dword [ebp - 0x3c], 0
jne 0x402cb5
mov dword [esp], str.____No_injection_method_has_been_provided__n
call fcn.00401530
cmp dword [ebp - 0x38], 1
jne 0x402cd9
cmp dword [ebp - 0x30], 0
jne 0x402cd9
cmp dword [ebp - 0x28], 0
jne 0x402cd9
cmp dword [ebp - 0x10], 0
jne 0x402cd9
mov dword [esp], str.____No_injection_target_has_been_provided__n
call fcn.00401530
cmp dword [ebp - 0x38], 2
jne 0x402cfe
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x402cfe
cmp dword [ebp - 0x28], 0
jne 0x402cfe
cmp dword [ebp - 0x10], 0
jne 0x402cfe
mov dword [esp], str.____No_injection_target_has_been_provided__n
call fcn.00401530
cmp dword [ebp - 0x38], 3
jne 0x402d1c
cmp dword [ebp - 0x10], 0
jne 0x402d1c
cmp dword [ebp - 0x30], 0
jne 0x402d1c
mov dword [esp], str.____An_app_path_is_required_when_not_injecting__n
call fcn.00401530
cmp dword [ebp - 0x30], 0
je 0x402d34
cmp dword [ebp - 0x28], 0
je 0x402d34
mov dword [esp], str.____Both_pid_and_process_name_were_set__n
call fcn.00401530
cmp dword [ebp - 0x38], 3
jne 0x402d5f
cmp dword [ebp - 0x3c], 0
jne 0x402d5f
cmp dword [ebp - 0xc], 0
jne 0x402d53
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x402d53
cmp dword [ebp - 0x30], 0
je 0x402d5f
mov dword [esp], str.____Unused___tid___pid___dll_provided_in___free_mode__n
call fcn.00401530
cmp dword [ebp - 0x38], 0
je 0x402dfc
cmp dword [ebp - 0x38], 3
je 0x402dfc
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call eax
sub esp, 4
test eax, eax
jne 0x402d93
mov dword [esp], str.____Invalid_DLL_filepath_has_been_provided_n
call fcn.00401530
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x408060
mov dword [esp + 4], 0x7fff
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
call eax
sub esp, 0x10
test eax, eax
jne 0x402dcb
mov dword [esp], str.____Invalid_DLL_filepath_has_been_provided_n
call fcn.00401530
mov dword [esp + 8], 0x7fff
mov dword [esp + 4], 0x408060
mov dword [esp], 0x408060
mov eax, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
call eax
sub esp, 0xc
test eax, eax
jne 0x402dfc
mov dword [esp], str.____Error_obtaining_the_dll_long_path_name_n
call fcn.00401530
cmp dword [ebp - 0x34], 0
je 0x402e14
cmp dword [ebp - 0x1c], 0
je 0x402e14
mov dword [esp], str.____Both___from_and___from_process_are_specified_n
call fcn.00401530
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov dword [esp], eax
call fcn.00402146
cmp dword [ebp - 0x10], 0
je 0x402f9d
cmp dword [ebp - 0x1c], 0
je 0x402e41
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0040225e
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x402e51
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call eax
sub esp, 4
test eax, eax
jne 0x402e71
mov dword [esp], str.____Invalid_app_filepath_has_been_provided_n
call fcn.00401530
cmp dword [ebp - 0x24], 0
je 0x402eb0
mov dword [esp + 8], 0x7fff
mov dword [esp + 4], 0x418060
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call eax
sub esp, 0xc
test eax, eax
jne 0x402ea7
mov dword [esp], str.____Error_expanding_environment_variables_n
call fcn.00401530
mov dword [ebp - 0x24], 0x418060
jmp 0x402ed1
mov dword [esp], str.TEMP
mov eax, dword [sym.imp.msvcrt.dll__wgetenv]
call eax
mov dword [esp + 4], eax
mov dword [esp], 0x418060
call sub.msvcrt.dll_wcscpy
mov dword [ebp - 0x24], eax
mov dword [esp + 8], 0x7fff
mov dword [esp + 4], 0x418060
mov dword [esp], 0x418060
mov eax, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
call eax
sub esp, 0xc
test eax, eax
jne 0x402f02
mov dword [esp], str.____Error_obtaining_the_curdir_long_path_name_n
call fcn.00401530
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x428060
mov dword [esp + 4], 0x7fff
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
call eax
sub esp, 0x10
test eax, eax
jne 0x402f3a
mov dword [esp], str.____Invalid_app_filepath_has_been_provided_n
call fcn.00401530
mov dword [esp + 8], 0x7fff
mov dword [esp + 4], 0x428060
mov dword [esp], 0x428060
mov eax, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
call eax
sub esp, 0xc
test eax, eax
jne 0x402f6b
mov dword [esp], str.____Error_obtaining_the_app_long_path_name_n
call fcn.00401530
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x428060
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.00401ae1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x402fb7
cmp dword [ebp - 0x28], 0
je 0x402fb7
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.0040225e
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x18], 0
je 0x40300d
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], str.C:cuckoo__d.ini
mov dword [esp], 0x438060
mov eax, dword [sym.imp.USER32.dll_wsprintfW]
call eax
mov dword [esp + 4], 0x438060
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_MoveFileW]
call eax
sub esp, 8
test eax, eax
jne 0x40300d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.____Error_dropping_configuration_file:__ld_n
call fcn.00401530
cmp dword [ebp - 0x44], 0
je 0x403037
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], str._d__d
call sub.msvcrt.dll_printf
mov eax, 0
jmp 0x403144
mov eax, dword [ebp - 0x38]
cmp eax, 2
je 0x40305e
cmp eax, 3
je 0x40308f
cmp eax, 1
jne 0x40307a
mov dword [esp + 4], 0x408060
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00401e80
jmp 0x403090
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], 0x408060
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00401fe2
jmp 0x403090
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], str.____Unhandled_injection_mode:__d_n
call fcn.00401530
jmp 0x403090
nop
cmp dword [ebp - 0x20], 0
je 0x403107
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__s___p__d
lea eax, [ebp - 0x860]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_wsprintfW]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov edx, eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x860]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00401ae1
mov dword [esp], 0x1388
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
cmp dword [ebp - 0x10], 0
jne 0x403113
cmp dword [ebp - 0x48], 0
je 0x403125
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x403125
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.0040210f
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], str._d__d
call sub.msvcrt.dll_printf
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret