Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
call fcn.00401344
push dword [ebp + 0xc]
xor ebx, ebx
mov byte [0x40b688], bl
mov dword [0x40b690], ebx
push dword [ebp + 8]
call fcn.004047ee
mov esi, str.HhlOoVvzd:_
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404799
add esp, 0x14
cmp eax, 0xffffffff
je 0x401112
mov edi, 0xff
cmp eax, 0x68
mov dword [0x408160], ebx
jg 0x4010cb
je 0x40117e
cmp eax, 0x3f
je 0x40117e
cmp eax, 0x48
je 0x40117e
cmp eax, 0x4f
je 0x4010c3
cmp eax, 0x56
je 0x401177
cmp eax, 0x64
jne 0x401228
call fcn.00405224
push dword [0x40c258]
test eax, eax
je 0x4010a7
push str.._S
push 0x40b480
call dword [sym.imp.MSVCRT.dll_swprintf]
jmp 0x4010b7
push 0x40866c
push 0x40c280
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov byte [0x40b688], 1
jmp 0x4010fa
mov dword [0x40ae30], edi
jmp 0x4010fa
cmp eax, 0x6c
je 0x4010f4
cmp eax, 0x6f
je 0x401281
cmp eax, 0x76
jne 0x401223
mov dword [0x40b690], 1
mov dword [0x408160], edi
jmp 0x4010fa
mov dword [0x40ae34], edi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404799
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40104c
lea eax, [ebp - 0x424]
push eax
call fcn.00404753
lea eax, [ebp - 0x24]
push eax
call fcn.00404655
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00401f80
add esp, 0x14
cmp dword [ebp - 4], ebx
je 0x40128d
push ebx
push str.Unable_to_obtain_target_vector._n
push 0x1bbe
push 0x4080dc
call fcn.0040172f
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x18
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
push ebx
push str._nCommand_line_usage:__i4target_n
mov edi, 0x4080dc
push 0x1bc0
push edi
call fcn.0040172f
mov esi, dword [sym.imp.MSVCRT.dll_printf]
push eax
call esi
push ebx
push str._____h___help__n
push 0x1bc1
push edi
call fcn.0040172f
push eax
call esi
push ebx
push str._____O___display_old_type_target_id__n
push 0x1bc2
push edi
call fcn.0040172f
push eax
call esi
push ebx
push str._____V___tool_version__n
push 0x1bc3
push edi
call fcn.0040172f
add esp, 0x4c
push eax
call esi
push ebx
push str._____o___display_os_name__n
push 0x1bc8
push edi
call fcn.0040172f
push eax
call esi
push ebx
push str._____l___list_all_target_ids__n
push 0x1bc9
push edi
call fcn.0040172f
push eax
call esi
push str._____v___verbose_output__n
call esi
push str._____d___set_manually_device_driver_name_for_target_id__n
call esi
push str._____z___list_of_device_drivers_for_network_card_s___n
call esi
add esp, 0x38
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
cmp eax, 0x7a
je 0x40124f
push ebx
push str.Bad_parameter._n
push 0x1bc4
push 0x4080dc
call fcn.0040172f
push eax
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0x14
push 1
call dword [sym.imp.MSVCRT.dll_exit]
call fcn.00405224
test eax, eax
push ebx
je 0x401274
push ebx
mov dword [0x40b690], 2
call fcn.00403650
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40127a
call fcn.004030c2
pop ecx
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
call fcn.004016e3
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
cmp dword [0x40ae34], ebx
jne 0x4012eb
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 7
push dword [ebp - 8]
call fcn.0040203e
add esp, 0x10
cmp dword [ebp - 4], ebx
je 0x4012df
push ebx
push str.Unable_to_obtain_target._n
push 0x1bbf
push 0x4080dc
call fcn.0040172f
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x18
push 1
call dword [sym.imp.MSVCRT.dll_exit]
lea eax, [ebp - 0x14]
push eax
call fcn.004013ef
pop ecx
jmp 0x401305
mov esi, dword [ebp - 8]
jmp 0x401301
lea eax, [esi + 4]
cmp dword [eax + 8], ebx
je 0x4012ff
push eax
call fcn.004013ef
pop ecx
mov esi, dword [esi]
cmp esi, ebx
jne 0x4012f0
push 0x4084dc
call dword [sym.imp.MSVCRT.dll_printf]
cmp dword [0x40b690], 1
pop ecx
jne 0x40133d
call fcn.00405224
test eax, eax
je 0x401335
push ebx
push ebx
call fcn.00403650
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40133d
push 1
call fcn.004030c2
pop ecx
push ebx
call dword [sym.imp.MSVCRT.dll_exit]