Function at 0x408300
Capabilities:
Enumerate gui resources
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4103c6
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x41713c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1ac], eax
mov dword [ebp - method.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.virtual_0], vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
push 1
mov dword [ebp - 4], 0
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
push 0x34
mov byte [ebp - 4], 3
mov word [ebp - 0x10c], ax
mov byte [ebp - 0x10a], al
call fcn.0040ea06
mov edi, eax
add esp, 8
mov dword [ebp - 0x1b0], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x4083de
push 0
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_int_]
mov dword [edi], vtable.std::codecvt_utf8_utf16_wchar_t__1114111__0_.0
jmp 0x4083e0
xor edi, edi
push dword [ebp - 0x148]
xorps xmm0, xmm0
mov byte [ebp - 4], 3
movlpd qword [ebp - 0x114], xmm0
mov dword [ebp - 0x150], edi
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const__]
add esp, 4
mov esi, eax
test edi, edi
je 0x408437
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call dword [sym.imp.MSVCP140.dll_public:_unsigned_int___thiscall_std::locale::id::operator_unsigned_int_void_]
push eax
push edi
push esi
call dword [sym.imp.MSVCP140.dll_private:_static_void___cdecl_std::locale::_Locimp::_Locimp_Addfac_class_std::locale::_Locimp___class_std::locale::facet___unsigned_int_]
add esp, 0xc
mov dword [esi + 0x10], 0
lea ecx, [esi + 0x18]
push 0x411464
call dword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____thiscall_std::_Yarn_char_::operator_char_const__]
mov ecx, dword [ebp - 0x148]
cmp ecx, esi
je 0x408461
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x408454
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x148], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
test esi, esi
je 0x40847a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x40847a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x108], 0
xor eax, eax
mov dword [ebp - 4], 5
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
cmp dword [ebp + 8], 7
mov byte [ebp - 4], 8
je 0x4084e4
call fcn.004078c0
jmp 0x409609
mov eax, dword [ebp - 0x1ac]
cmp dword [eax + 4], 0x411768
jne 0x40852b
call fcn.004078c0
lea ecx, [ebp - 0xbc]
call fcn.004043f0
lea ecx, [ebp - 0x8c]
call fcn.004043f0
lea ecx, [ebp - 0xa4]
call fcn.004043f0
lea ecx, [ebp - 0x154]
call fcn.004033b0
xor eax, eax
jmp 0x40963a
mov dword [ebp - 0x1a8], 1
lea edi, [eax + 8]
nop dword [eax + eax]
mov edx, dword [edi - 4]
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408560
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404b40
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push 0x411770
push eax
call fcn.00401d40
add esp, 8
test al, al
je 0x4085da
sub esp, 0x18
mov ecx, esp
push dword [edi]
call fcn.00401300
lea eax, [ebp - 0xec]
push eax
call fcn.00405960
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0xa4]
cmp eax, esi
je 0x4086a8
mov ecx, eax
call fcn.004043f0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x94], xmm0
jmp 0x408695
lea eax, [ebp - 0x2c]
push 0x411774
push eax
call fcn.00401d40
add esp, 8
test al, al
je 0x408637
sub esp, 0x18
mov ecx, esp
push dword [edi]
call fcn.00401300
lea eax, [ebp - 0xec]
push eax
call fcn.00405960
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x8c]
cmp eax, esi
je 0x4086a8
mov ecx, eax
call fcn.004043f0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x7c], xmm0
jmp 0x408695
lea eax, [ebp - 0x2c]
push 0x411778
push eax
call fcn.00401d40
add esp, 8
test al, al
je 0x4095b9
sub esp, 0x18
mov ecx, esp
push dword [edi]
call fcn.00401300
lea eax, [ebp - 0xec]
push eax
call fcn.00405960
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0xbc]
cmp eax, esi
je 0x4086a8
mov ecx, eax
call fcn.004043f0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x14], 7
lea ecx, [ebp - 0xec]
call fcn.004043f0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x4086eb
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4086e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b5f
push edx
push ecx
call fcn.0040ea36
add esp, 8
mov eax, dword [ebp - 0x1a8]
add edi, 8
add eax, 2
mov dword [ebp - 0x1a8], eax
cmp eax, 6
jl 0x408540
cmp dword [ebp - 0x94], 0
je 0x409579
lea eax, [ebp - 0xa4]
push eax
call fcn.004058e0
add esp, 4
test al, al
je 0x409579
cmp dword [ebp - 0x7c], 0
je 0x409536
lea eax, [ebp - 0x8c]
push eax
call fcn.004058e0
add esp, 4
test al, al
je 0x409536
lea eax, [ebp - 0xbc]
push eax
call fcn.00404db0
add esp, 4
lea eax, [ebp - 0xbc]
push 0x4024c0
push 0x41177c
push eax
push str.Files_will_be_created_in_
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401af0
add esp, 8
push eax
call fcn.00401900
add esp, 8
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x1bc]
push eax
mov dword [ebp - 0x1b8], edx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__ctime64]
add esp, 8
push 0x4024c0
push eax
push str.Start_at:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401af0
add esp, 8
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00407970
mov edi, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x40880e
mov edi, dword [edi]
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x280], 0x411700
mov dword [ebp - 0x270], 0x411708
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0xb
mov esi, 1
lea ecx, [ebp - 0x280]
push eax
mov dword [ebp - 0x1a8], esi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [ebp - 0x280]
mov dword [ebp - 4], 0xc
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x284], eax
lea eax, [ebp - 0x268]
mov ecx, eax
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0xd
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x220], 0
mov byte [ebp - 0x22b], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x417918]
mov dword [ebp - 0x228], eax
mov eax, dword [0x41791c]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x230], 0
push 0x40
push esi
push edi
mov byte [ebp - 4], 0xe
call sub.MSVCP140.dll_struct__iobuf____cdecl_std::_Fiopen_char_const___int__int_
add esp, 0xc
test eax, eax
je 0x408972
push esi
push eax
lea ecx, [ebp - 0x268]
call fcn.00404240
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x268]
call dword [sym.imp.MSVCP140.dll_public:_class_std::locale___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void_]
push eax
mov byte [ebp - 4], 0xf
call fcn.00402780
add esp, 4
mov edi, eax
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::codecvt_base::always_noconv_void_const]
test al, al
je 0x408941
mov dword [ebp - 0x230], 0
jmp 0x408953
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x230], edi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov ecx, dword [ebp - 0x1b0]
test ecx, ecx
je 0x40898d
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x40898d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x40898d
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x280]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x11
call fcn.00403290
cmp dword [ebp - 0x21c], 0
jne 0x4089d5
push 0x4024c0
push str.Cannot_access_to_the_list_of_dll_files
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x280]
call fcn.00403810
jmp 0x409609
xor edi, edi
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], edi
mov byte [ebp - 0x16c], 0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x280]
push 0xa
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004024f0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 1
jne 0x40949e
cmp dword [ebp - 0x15c], 0
je 0x40949e
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push 1
push 3
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x330]
call fcn.00402bb0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.00401740
add esp, 8
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0x330]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov eax, dword [ebp - 0x330]
mov byte [ebp - 4], 0x13
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x334], eax
lea ecx, [ebp - 0x318]
call fcn.004032f0
lea ecx, [ebp - 0x310]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0x1b0], 0
sete byte [ebp - 0x1a1]
call fcn.0040a190
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00407970
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 0x15
jb 0x408b19
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x154]
call fcn.00405b50
mov edx, dword [ebp - 0xc0]
mov byte [ebp - 4], 0x17
cmp edx, 0x10
jb 0x408b6f
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408b65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408b65
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040ea36
add esp, 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0xc4], 0
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xc0], 0xf
push 0x411814
push eax
mov byte [ebp - 0xd4], 0
call fcn.00401dd0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 0x18
jb 0x408bad
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x154]
call fcn.00405b50
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x184]
push eax
push 0
mov byte [ebp - 4], 0x19
call fcn.00405f90
mov dword [ebp - 0x64], 0
xor ecx, ecx
mov dword [ebp - 0x60], 0
or esi, 0xe
mov dword [ebp - 0x1a0], esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x170]
mov byte [ebp - 4], 0x1b
cmp edx, 8
jb 0x408c61
mov ecx, dword [ebp - 0x184]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ca8
push edx
push ecx
call fcn.0040ea36
add esp, 8
xor eax, eax
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 7
mov word [ebp - 0x184], ax
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x1c
cmp edx, 0x10
jb 0x408cb8
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408cae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408cae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040ea36
add esp, 8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], 0
cmovae eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x408d1e
push 0x4024c0
push 0x41177c
lea eax, [ebp - 0x8c]
push eax
push str.Cannot_set_current_directory_
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00401af0
add esp, 8
push eax
call fcn.00401900
add esp, 8
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.Loading
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401af0
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push ecx
push eax
call fcn.00401ff0
add esp, 0x14
push 0x4024c0
push 0x411838
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x1ac], esi
test esi, esi
jne 0x408fcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x1a1], 0
je 0x408ebf
push str.Skipping_optional_library:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401af0
add esp, 8
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae ecx, dword [ebp - 0x44]
push 0x4024c0
push dword [ebp - 0x34]
push ecx
push eax
call fcn.00401ff0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x17
cmp edx, 8
jb 0x408e0c
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408e02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f86
push edx
push ecx
call fcn.0040ea36
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x408e5e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408e54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f86
push edx
push ecx
call fcn.0040ea36
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov esi, dword [ebp - 0x1a0]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x4089f2
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408eaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f86
push edx
push ecx
call fcn.0040ea36
mov esi, dword [ebp - 0x1a0]
add esp, 8
jmp 0x4089f2
push 0x4024c0
push eax
push str.Error:
push 0x4024c0
lea eax, [ebp - 0x44]
push eax
push str.Could_not_load_library:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00401af0
add esp, 8
push eax
call fcn.00401ad0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x408f46
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408f3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f86
push edx
push ecx
call fcn.0040ea36
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 8
jb 0x408f96
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408f8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408f8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040ea36
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00403290
lea ecx, [ebp - 0x16c]
call fcn.00403290
lea ecx, [ebp - 0x280]
call fcn.00403810
jmp 0x409609
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x44]
push 4
push str..cpp
push 4
add eax, 0xfffffffc
push eax
call fcn.00406e70
push str.Processing_file:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401af0
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push ecx
push eax
call fcn.00401ff0
add esp, 0x14
push 0x4024c0
push 0x411838
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00407970
push 1
push 0x411814
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.004046b0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 0x1e
call fcn.004046b0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x104], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x1a0]
or eax, 0x30
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0xec]
call fcn.004011d0
mov edx, dword [ebp - 0xf0]
mov byte [ebp - 4], 0x21
cmp edx, 0x10
jb 0x40914b
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409141
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091eb
push edx
push ecx
call fcn.0040ea36
add esp, 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov edx, dword [ebp - 0xc0]
mov byte [ebp - 4], 0x22
cmp edx, 0x10
jb 0x4091a0
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409196
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091eb
push edx
push ecx
call fcn.0040ea36
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov edx, dword [ebp - 0x188]
mov byte [ebp - 4], 0x23
cmp edx, 0x10
jb 0x4091fb
mov ecx, dword [ebp - 0x19c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4091f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4091f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040ea36
add esp, 8
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x18c], 0
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
call fcn.00406750
push eax
mov byte [ebp - 4], 0x24
call fcn.00404db0
add esp, 4
lea ecx, [ebp - 0x5c]
call fcn.004043f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0xec]
call fcn.00407970
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x26
jb 0x409259
mov eax, dword [eax]
push eax
push esi
call fcn.0040d480
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 0x25
cmp edx, 0x10
jb 0x40929d
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409293
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409293
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040ea36
add esp, 8
push 8
push str.stdafx.h
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00404b40
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x27
push 1
push eax
call fcn.0040c580
add esp, 8
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x5c]
call fcn.00403290
push 0xc
push str.res_palres.h
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00404b40
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x28
push 1
push eax
call fcn.0040c580
add esp, 8
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x5c]
call fcn.00403290
push 1
call fcn.0040a1f0
add esp, 4
push 0
push 0x4096f0
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
call fcn.0040c8f0
lea eax, [ebp - 0x74]
push eax
call fcn.0040c9f0
add esp, 4
test eax, eax
je 0x40938b
cmp eax, 0x309
je 0x409364
cmp eax, 0x715
je 0x40935d
push str.Unexpected_behavior
jmp 0x409369
push str.Version_information_not_found
jmp 0x409369
push str.Error_to_parse_version_information
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00401af0
add esp, 8
mov ecx, eax
push 0x4024c0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, 1
jmp 0x4093ab
push str.Version_information_succesfully_saved
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401af0
add esp, 8
mov ecx, eax
push 0x4024c0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x74]
push eax
call fcn.0040c6a0
add esp, 4
call fcn.0040a220
jmp 0x40941d
push esi
mov dword [ebp - 4], 0x23
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x4024c0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xec]
call fcn.004043f0
lea ecx, [ebp - 0x74]
call fcn.004043f0
lea ecx, [ebp - 0x2c]
call fcn.004043f0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call fcn.00403290
mov esi, dword [ebp - 0x1a0]
jmp 0x4089f2
lea ecx, [ebp - 0x268]
call fcn.00404d40
test eax, eax
jne 0x4094c7
push eax
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x280]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0x4024c0
push str.Done
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x16c]
call fcn.00403290
lea ecx, [ebp - 0x280]
call fcn.00403810
lea ecx, [ebp - 0xbc]
call fcn.004043f0
lea ecx, [ebp - 0x8c]
call fcn.004043f0
lea ecx, [ebp - 0xa4]
call fcn.004043f0
lea ecx, [ebp - 0x154]
call fcn.004033b0
mov eax, edi
jmp 0x40963a
push 0x4024c0
push str._does_not_exist
lea eax, [ebp - 0x8c]
push eax
push str.Target_path_
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00401af0
add esp, 8
push eax
call fcn.00401900
add esp, 8
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x409609
push 0x4024c0
push str._does_not_exist
lea eax, [ebp - 0xa4]
push eax
push str.Input_file_
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00401af0
add esp, 8
push eax
call fcn.00401900
add esp, 8
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x409609
push str.Wrong_option_
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00401af0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.00401ff0
add esp, 0x14
push 0x4024c0
push 0x41177c
push eax
call fcn.00401af0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call fcn.004078c0
lea ecx, [ebp - 0x2c]
call fcn.00403290
lea ecx, [ebp - 0xbc]
call fcn.004043f0
lea ecx, [ebp - 0x8c]
call fcn.004043f0
lea ecx, [ebp - 0xa4]
call fcn.004043f0
lea ecx, [ebp - 0x154]
call fcn.004033b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040ea44
mov esp, ebp
pop ebp
ret