Function at 0x402605
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.004040e0
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
lea edx, [ebp - 0x5c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.SHELL32.DLL_CommandLineToArgvW]
call eax
sub esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x40264e
mov dword [esp], str.Error_parsing_commandline_options__n
call fcn.00401560
mov eax, dword [ebp - 0x5c]
cmp eax, 3
jg 0x40266b
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.00401560
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x406878
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 0x402c75
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 0x40272d
mov dword [ebp - 0x38], 1
jmp 0x402c71
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 0x40275e
mov dword [ebp - 0x38], 2
jmp 0x402c71
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 0x40278f
mov dword [ebp - 0x38], 3
jmp 0x402c71
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 0x4027d1
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 0x402c71
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 0x402813
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 0x402c71
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 0x402855
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 0x402c71
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 0x402897
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 0x402c71
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 0x4028c8
mov dword [ebp - 0x40], 3
jmp 0x402c71
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 0x402922
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 0x402c71
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 0x402964
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 0x402c71
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 0x4029be
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 0x402c71
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 0x402a18
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 0x402c71
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 0x402a5a
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 0x402c71
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 0x402a91
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x402c71
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 0x402ac8
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
jmp 0x402c71
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 0x402b0a
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 0x402c71
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 0x402b4c
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 0x402c71
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 0x402b8e
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 0x402c71
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 0x402c15
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.00404800
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.00404800
mov dword [ebp - 0x50], eax
jmp 0x402c71
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 0x402c46
mov dword [0x408020], 1
jmp 0x402c71
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.00401560
mov eax, 1
jmp 0x40315c
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x54], eax
jl 0x4026fc
cmp dword [ebp - 0x2c], 0
je 0x402cb7
cmp dword [ebp - 0x30], 0
je 0x402cb7
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.00402371
mov eax, 0
jmp 0x40315c
cmp dword [ebp - 0x38], 0
jne 0x402ccf
cmp dword [ebp - 0x3c], 0
jne 0x402ccf
mov dword [esp], str.____No_injection_method_has_been_provided__n
call fcn.00401560
cmp dword [ebp - 0x38], 1
jne 0x402cf3
cmp dword [ebp - 0x30], 0
jne 0x402cf3
cmp dword [ebp - 0x28], 0
jne 0x402cf3
cmp dword [ebp - 0x10], 0
jne 0x402cf3
mov dword [esp], str.____No_injection_target_has_been_provided__n
call fcn.00401560
cmp dword [ebp - 0x38], 2
jne 0x402d18
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x402d18
cmp dword [ebp - 0x28], 0
jne 0x402d18
cmp dword [ebp - 0x10], 0
jne 0x402d18
mov dword [esp], str.____No_injection_target_has_been_provided__n
call fcn.00401560
cmp dword [ebp - 0x38], 3
jne 0x402d36
cmp dword [ebp - 0x10], 0
jne 0x402d36
cmp dword [ebp - 0x30], 0
jne 0x402d36
mov dword [esp], str.____An_app_path_is_required_when_not_injecting__n
call fcn.00401560
cmp dword [ebp - 0x30], 0
je 0x402d4e
cmp dword [ebp - 0x28], 0
je 0x402d4e
mov dword [esp], str.____Both_pid_and_process_name_were_set__n
call fcn.00401560
cmp dword [ebp - 0x38], 3
jne 0x402d79
cmp dword [ebp - 0x3c], 0
jne 0x402d79
cmp dword [ebp - 0xc], 0
jne 0x402d6d
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x402d6d
cmp dword [ebp - 0x30], 0
je 0x402d79
mov dword [esp], str.____Unused___tid___pid___dll_provided_in___free_mode__n
call fcn.00401560
cmp dword [ebp - 0x38], 0
je 0x402e16
cmp dword [ebp - 0x38], 3
je 0x402e16
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 0x402dad
mov dword [esp], str.____Invalid_DLL_filepath_has_been_provided_n
call fcn.00401560
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 0x402de5
mov dword [esp], str.____Invalid_DLL_filepath_has_been_provided_n
call fcn.00401560
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 0x402e16
mov dword [esp], str.____Error_obtaining_the_dll_long_path_name_n
call fcn.00401560
cmp dword [ebp - 0x34], 0
je 0x402e2e
cmp dword [ebp - 0x1c], 0
je 0x402e2e
mov dword [esp], str.____Both___from_and___from_process_are_specified_n
call fcn.00401560
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov dword [esp], eax
call fcn.00402163
cmp dword [ebp - 0x10], 0
je 0x402fb7
cmp dword [ebp - 0x1c], 0
je 0x402e5b
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0040227a
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x402e6b
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 0x402e8b
mov dword [esp], str.____Invalid_app_filepath_has_been_provided_n
call fcn.00401560
cmp dword [ebp - 0x24], 0
je 0x402eca
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 0x402ec1
mov dword [esp], str.____Error_expanding_environment_variables_n
call fcn.00401560
mov dword [ebp - 0x24], 0x418060
jmp 0x402eeb
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 0x402f1c
mov dword [esp], str.____Error_obtaining_the_curdir_long_path_name_n
call fcn.00401560
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 0x402f54
mov dword [esp], str.____Invalid_app_filepath_has_been_provided_n
call fcn.00401560
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 0x402f85
mov dword [esp], str.____Error_obtaining_the_app_long_path_name_n
call fcn.00401560
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.00401b0d
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x402fd1
cmp dword [ebp - 0x28], 0
je 0x402fd1
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.0040227a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x18], 0
je 0x403027
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 0x403027
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.00401560
cmp dword [ebp - 0x44], 0
je 0x403051
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 0x40315c
mov eax, dword [ebp - 0x38]
cmp eax, 2
je 0x403078
cmp eax, 3
je 0x4030a9
cmp eax, 1
jne 0x403094
mov dword [esp + 4], 0x408060
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00401ea2
jmp 0x4030aa
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.00402001
jmp 0x4030aa
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], str.____Unhandled_injection_mode:__d_n
call fcn.00401560
jmp 0x4030aa
nop
cmp dword [ebp - 0x20], 0
je 0x40311f
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 dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea edx, [ebp - 0x860]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
jmp section..htext
cmp dword [ebp - 0x10], 0
jne 0x40312b
cmp dword [ebp - 0x48], 0
je 0x40313d
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x40313d
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.0040212d
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