Function at 0x401e50
Capabilities:
Execute command
Set console window title

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409f39
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x504
mov eax, dword [0x40e008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x510]
call fcn.00406650
push str.Assets_Creator_v2.2
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
push str.Assets
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xc0], 0
movups xmmword [ebp - 0xd4], xmm0
call fcn.00408040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xbc]
push 0x15
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
push str.ImageSinimage_skills
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xa8], 0
call fcn.00408040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
push str.Comparator
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x90], 0
call fcn.00408040
mov byte [ebp - 4], 2
lea edx, [ebp - 0xbc]
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x68]
push dword [ebp - 0x18]
call fcn.00403550
add esp, 4
mov byte [ebp - 4], 3
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x40e028
call fcn.00406300
cmp dword [ebp - 0x1c], 0
jne 0x402a27
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x401fc5
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401fbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401fbb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00408c77
add esp, 8
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0xa4]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.00403550
add esp, 4
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x40e028
call fcn.00406300
cmp dword [ebp - 0x1c], 0
jne 0x402a33
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x402044
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40203a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40203a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00408c77
add esp, 8
mov eax, dword fs:[0x2c]
movups xmm0, xmmword [0x40b6c4]
mov ecx, dword [eax]
mov eax, dword [0x40e618]
movups xmmword [ebp - 0x4e8], xmm0
cmp eax, dword [ecx + 4]
jle 0x402094
push 0x40e618
call fcn.00408dc4
add esp, 4
cmp dword [0x40e618], 0xffffffff
jne 0x402094
push 0x40e618
mov dword [0x40e61c], 0
call fcn.00408d7a
add esp, 4
mov byte [ebp - 0x4e9], 0
nop dword [eax + eax]
push ecx
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x4e9]
call fcn.00404020
mov dl, byte [ebp - 0x4e9]
add esp, 8
movzx ecx, dl
add dl, 1
mov byte [ebp - 0x4e9], dl
mov dword [ebp + ecx*4 - 0x4d8], eax
jne 0x4020a0
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0xd4]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
mov dword [0x40e5d8], 0
call fcn.00403550
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.00405d00
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x402150
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402146
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402146
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00408c77
add esp, 8
mov esi, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
test esi, esi
je 0x402163
lock inc dword [esi + 4]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
test esi, esi
je 0x402174
lock inc dword [esi + 4]
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
test esi, esi
je 0x4021ac
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4021ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4021ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0xa
test edi, edi
je 0x402225
add edi, 0x20
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xffff
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4021cf
mov eax, dword [edi]
push 0xffffffffffffffff
push 3
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.004089a6
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x38], eax
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00404800
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
test edx, edx
je 0x402205
cmp eax, 1
je 0x402205
cmp eax, 9
jne 0x402a3f
cmp eax, 2
jne 0x402210
inc dword [0x40e5d8]
lea ecx, [ebp - 0x1c]
call fcn.00404a50
test eax, eax
jne 0x402a4a
mov edi, dword [ebp - 0x1c]
jmp 0x4021b0
mov ecx, dword [ebp - 0x18]
or edi, 0xffffffff
test ecx, ecx
je 0x40224d
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40224d
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x40224d
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
test esi, esi
je 0x402274
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x402274
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x402274
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x504]
mov dword [ebp - 0x504], 0x45255d5b
xorps xmm0, xmm0
mov dword [ebp - 0x500], 0x3f6936ab
lea edi, [ebp - 0x4f4]
movq qword [ebp - 0x40], xmm0
mov edx, esi
mov dword [ebp - 0x4fc], 0x937b9dcb
sub edi, eax
mov dword [ebp - 0x4f8], 0xdd70a7f5
mov dword [ebp - 0x40], esi
mov eax, edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
je 0x4022ef
push edi
lea ecx, [ebp - 0x40]
call fcn.004032d0
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x504]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea edx, [edi + esi]
add esp, 0xc
mov dword [ebp - 0x3c], edx
mov eax, esi
sub edx, eax
mov ecx, esi
lea eax, [ebp - 0x4e8]
push eax
call fcn.00402f20
add esp, 4
mov dword [ebp - 0x7c], 0
add eax, 0x21321112
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 0
call dword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x8c]
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x84], 0
push eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
call fcn.00403130
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0xd4]
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x68]
push dword [ebp - 0x18]
mov dword [ebp - 0x4f4], 0
call fcn.00403550
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x24]
call fcn.00405d00
add esp, 4
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x402412
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402408
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402408
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00408c77
add esp, 8
mov edi, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
test edi, edi
je 0x402425
lock inc dword [edi + 4]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
test edi, edi
je 0x402436
lock inc dword [edi + 4]
movlpd qword [ebp - 0x78], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
test edi, edi
je 0x40246e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x40246e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x40246e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x13
test esi, esi
je 0x40259c
push ecx
lea eax, [ebp - 0x500]
mov ecx, esi
push eax
call fcn.004046c0
mov edx, dword [ebp - 0x4f8]
mov eax, dword [ebp - 0x500]
test edx, edx
je 0x4024a7
cmp eax, 1
je 0x4024a7
cmp eax, 9
jne 0x402a51
cmp eax, 3
je 0x402584
lea ecx, [esi + 0x20]
push ecx
lea eax, [ebp - 0x68]
push eax
call fcn.00404530
mov byte [ebp - 4], 0x14
lea edi, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
lea edx, [ebp - 0x68]
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
setae cl
cmovae edi, esi
test cl, cl
je 0x4024df
add eax, esi
jmp 0x4024e4
add eax, edx
lea esi, [ebp - 0x68]
mov dword [ebp - 0x4f0], eax
cmp esi, eax
je 0x402509
sub edi, esi
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x4f0]
jne 0x4024f0
mov edi, dword [ebp - 0x4f4]
mov eax, edi
cdq
idiv dword [ebp - 0x508]
mov eax, dword [ebp - 0x8c]
lea ecx, [edx + edx*2]
lea esi, [eax + ecx*4]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x68]
push ecx
cmp eax, dword [esi + 8]
je 0x40253d
mov ecx, eax
call fcn.00407b50
add dword [esi + 4], 0x18
jmp 0x402545
push eax
mov ecx, esi
call fcn.00403a00
inc edi
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4f4], edi
cmp ecx, 0x10
jb 0x402584
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40257a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401fb5
push ecx
push edx
call fcn.00408c77
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00404a50
test eax, eax
jne 0x402a4a
mov esi, dword [ebp - 0x1c]
jmp 0x402472
mov edi, dword [ebp - 0x18]
or esi, 0xffffffff
test edi, edi
je 0x4025c5
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4025c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4025c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x4025ee
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4025ee
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4025ee
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x508], 0
mov edi, dword [ebp - 0x2c]
jle 0x402697
xor esi, esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4f4], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x4f0], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x8c]
add eax, esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4f4]
push eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x401cd0
cmp edi, dword [ebp - 0x28]
je 0x40267b
mov edx, edi
call fcn.00403de0
mov edi, dword [ebp - 0x2c]
add esp, 0x28
add edi, 8
mov dword [ebp - 0x2c], edi
jmp 0x402687
push edi
lea ecx, [ebp - 0x30]
call fcn.00403760
mov edi, dword [ebp - 0x2c]
add esi, 0xc
sub dword [ebp - 0x508], 1
jne 0x402600
mov esi, dword [ebp - 0x30]
cmp esi, edi
je 0x4026dd
nop
cmp dword [esi + 4], 0
je 0x4027ae
call dword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [esi + 4], eax
je 0x4027a6
push 0
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
jne 0x40279e
mov dword [esi], eax
mov dword [esi + 4], eax
add esi, 8
cmp esi, edi
jne 0x4026a0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x403100
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, str.Processed_files:
mov ecx, eax
call fcn.00402cd0
mov ecx, dword [ebp - 0x7c]
push ecx
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___int_]
push 0x403100
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Skipped_files:
call fcn.00402cd0
mov ecx, dword [ebp - 0x80]
push ecx
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___int_]
push 0x403100
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Error_files:
call fcn.00402cd0
mov ecx, dword [ebp - 0x4c]
push ecx
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___int_]
push 0x403100
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.MSVCP140.dll__Query_perf_frequency]
mov edi, eax
mov esi, edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov ecx, eax
cmp edi, 0x989680
jne 0x4027b6
test esi, esi
jne 0x4027b6
mov edi, 0x64
mov eax, edx
mul edi
mov esi, eax
mov eax, ecx
mul edi
add esi, edx
mov edi, eax
jmp 0x402806
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ebx
push esi
push edi
push edx
push ecx
call fcn.00409c20
mov esi, ebx
pop ebx
push 0
push 0x3b9aca00
push esi
push ecx
mov dword [ebp - 0x44], eax
mov edi, edx
call fcn.00409d00
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push edx
push eax
call fcn.00409b70
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, edi
mov ecx, 0x3b9aca00
mov edi, dword [ebp - 0x18]
mul ecx
mov edx, 0x3b9aca00
mov ecx, eax
mov eax, dword [ebp - 0x44]
mul edx
add ecx, edx
add edi, eax
adc esi, ecx
sub edi, dword [ebp - 0x510]
mov ecx, edi
sbb esi, dword [ebp - 0x50c]
mov edx, esi
call fcn.00409d40
divsd xmm0, qword [0x40b6e0]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Execution_time:
movsd qword [ebp - 0x510], xmm0
call fcn.00402cd0
movsd xmm0, qword [ebp - 0x510]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
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___double_]
mov edx, str._seconds
mov ecx, eax
call fcn.00402cd0
push 0x403100
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.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
lea ecx, [ebp - 0x8c]
call fcn.00402bb0
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4028eb
mov ecx, dword [ebp - 0x2c]
mov eax, edx
cmp eax, ecx
je 0x4028a6
cmp dword [eax + 4], 0
jne 0x4029f7
add eax, 8
cmp eax, ecx
jne 0x402895
mov ecx, dword [ebp - 0x28]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4028cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029f1
push ecx
push edx
call fcn.00408c77
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x40291f
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x402915
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029f1
push edx
push ecx
call fcn.00408c77
add esp, 8
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x10
jb 0x402959
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40294f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029f1
push ecx
push edx
call fcn.00408c77
add esp, 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp ecx, 0x10
jb 0x4029aa
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029f1
push ecx
push edx
call fcn.00408c77
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp ecx, 0x10
jb 0x402a07
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029fd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push ecx
push edx
call fcn.00408c77
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00408c46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x1c]
call fcn.004065d0
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x1c]
call fcn.004065d0
push edi
mov ecx, str.status
call fcn.00407860
mov edx, eax
call fcn.00404ef0
lea eax, [esi + 0x20]
mov ecx, str.directory_entry::status
push eax
call fcn.00407860
int3