Function at 0x401cb0
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x402de4
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x405018]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor edi, edi
push edi
push edi
mov esi, 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 8]
cmp edi, esi
jle 0x401d6e
mov eax, dword [ebx + 4]
push 0x403d54
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x401d6e
mov dword [esp + 0x18], esi
lea esi, [eax + 2]
cmp edi, 3
jle 0x401d6e
mov ecx, dword [ebx + 8]
push 0x403d5c
push ecx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x401d6e
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x1c], edx
lea esi, [eax + 4]
cmp edi, 5
jle 0x401d6e
mov eax, dword [ebx + 0x10]
push 0x403d64
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x401d6e
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x20], ecx
mov esi, 6
mov dword [esp + 0x14], 0
cmp esi, edi
jge 0x402017
mov edi, edi
mov eax, dword [ebx + esi*4]
push 0x2c
push eax
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
je 0x401dae
mov edx, dword [ebx + esi*4]
push edx
call fcn.004012d0
inc esi
add esp, 4
mov dword [esp + 0x14], 1
cmp esi, edi
jl 0x401d80
jmp 0x401db9
cmp dword [esp + 0x14], 0
je 0x402017
lea eax, [edi - 2]
cmp esi, eax
jl 0x402017
lea ecx, [edi - 1]
cmp esi, ecx
jg 0x402017
lea ecx, [esp + 0x3c]
call dword [0x403164]
mov dword [esp + 0x3c], vtable.CLineFile.0
mov dword [esp + 0x60], 0
mov edx, dword [ebx + esi*4]
push edx
lea ecx, [esp + 0x18]
call dword [0x4030e8]
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
push 0
push 0
push eax
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x48]
call eax
test eax, eax
jne 0x401e25
mov ecx, dword [esp + 0x14]
push ecx
mov ebx, str.unable_to_open_file___s_
call fcn.00401040
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x24]
call dword [0x403164]
mov dword [esp + 0x24], vtable.CLineFile.0
lea edx, [esi + 1]
mov byte [esp + 0x60], 2
cmp edx, edi
mov edi, dword [sym.imp.MSVCR100.dll___iob_func]
jge 0x401ea4
mov eax, dword [ebx + esi*4 + 4]
push eax
lea ecx, [esp + 0x18]
call dword [0x4030e8]
mov byte [esp + 0x60], 3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x2c]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x30]
call eax
test eax, eax
jne 0x401e98
mov ecx, dword [esp + 0x14]
push ecx
mov ebx, str.unable_to_open_file___s_
call fcn.00401040
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
jmp 0x401ead
call edi
add eax, 0x20
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x10]
call dword [0x403144]
lea edx, [esp + 0x10]
push edx
lea esi, [esp + 0x40]
mov byte [esp + 0x64], 4
call fcn.004010c0
test eax, eax
je 0x401f0a
mov edi, edi
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004015a0
add esp, 8
test eax, eax
je 0x401ef8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x28]
call edx
lea eax, [esp + 0x10]
push eax
lea esi, [esp + 0x40]
call fcn.004010c0
test eax, eax
jne 0x401ed0
mov ebx, dword [sym.imp.mfc100u.dll_CStdioFile::Close]
lea ecx, [esp + 0x3c]
call ebx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x401fd3
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004019a0
add esp, 8
mov byte [esp + 0x60], 5
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x401f66
push esi
push str.Error:_Additional_include_file__s_not_found_n_n
call edi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_fwprintf]
add esp, 0xc
lea ecx, [esp + 0x24]
call ebx
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [esp + 0x3c]
push 0
push 0
push eax
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x48]
call eax
test eax, eax
jne 0x401f8b
mov ecx, dword [esp + 0x14]
push ecx
mov ebx, str.unable_to_open_file___s_
call fcn.00401040
lea edx, [esp + 0x10]
push edx
lea esi, [esp + 0x40]
call fcn.004010c0
test eax, eax
je 0x401fc4
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [edx + 0x60]
lea ecx, [esp + 0x28]
call eax
lea ecx, [esp + 0x10]
push ecx
lea esi, [esp + 0x40]
call fcn.004010c0
test eax, eax
jne 0x401fa0
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 4
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x24]
call ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [esp + 0x60], 0
mov esi, dword [sym.imp.mfc100u.dll_CStdioFile::CStdioFile]
lea ecx, [esp + 0x24]
call esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 0xffffffff
call esi
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0
push 0xa
push 0x4032b0
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fwprintf]
add eax, 0x40
push eax
call edi
add esp, 0x10
push str.makehm_usage:_n_n__makehm___h___a__file.h____I__path______from___to___add_...__resource.h___output.hm__n_n_____h_______generates_an_include_file__.h__for_HTML_help_instead_of_n_____________a_normal__.hm__WinHelp_map_file._n_____a_______copies_the_contents_of_the_specified__file.h__file_to_the_n_____________output._n_____I_______additional_path_to_search_for_the_file.h_file.__The_program_will_n_____________first_look_in_the_current_directory__then_the_path_specified_by_the_n______________I_option_and_then_in_the_path_specified_by_the_INCLUDE_n_____________environment_variable._n_n_____from___to___add__fields_must_appear_as_one_argument_and_n_______are_separated_by_commas.__A_set_of_these_arguments_may_n_______appear_more_than_once._n_____from____identifies_the_symbol_prefix_to_map_from__e.g.__ID___n_____to______identifies_the_symbol_prefix_to_map_to__e.g.__HID___n_____add_____identifies_a_numeric_offset_to_be_used__e.g.__0x10000__n_n_____resource.h____identifies_the_input_header_file__e.g.__resource.h_._n_____output.hm____identifies_the_output_help_map_file.__If_not_n_______supplied__output_is_written_to_stdout._n
call esi
add eax, 0x40
push eax
call edi
add esp, 8
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3