Function at 0x4a71a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Enumerate files on windows

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 0x59dd32
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xad0
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x9ec], eax
mov dword [ebp - 0x9e8], eax
mov ecx, dword [ebx + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebx + 8]
mov dword [ebp - 0x9f8], eax
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax], edi
mov dword [eax + 8], ecx
movups xmmword [eax + 0xc], xmm0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0xf
mov byte [eax + 0xc], 0
lea esi, [eax + 0x24]
mov dword [ebp - 4], 0
mov dword [esi], 0xffffffff
push 0xc
mov dword [ebp - 0x9e8], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0052d778
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x9ec]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push 5
push str.Save
mov dword [esi], eax
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.00403d10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push str.QuickSave
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
call fcn.00403d10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 0x5c03a4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.00403d10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x5c032c
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.00403d10
mov byte [ebp - 4], 7
mov edx, 0x5def60
cmp dword [0x5def74], 8
cmovae edx, dword [0x5def60]
mov ecx, edx
mov dword [ebp - 0x80], 0
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x90], xmm0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a7360
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00403d10
mov byte [ebp - 4], 8
mov esi, 0x5deff0
cmp dword [0x5df004], 8
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x80]
cmovae esi, dword [0x5deff0]
sub eax, ecx
cmp eax, 1
jb 0x4a7f41
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
push 1
cmovae eax, dword [ebp - 0x90]
push 0x5aaa60
push ecx
push eax
push ecx
push dword [ebp - 0x9f8]
lea ecx, [ebp - 0x108]
call fcn.00403e90
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
lea eax, [edi + edi*2]
cmp dword [ecx + eax*8 + 0x14], 8
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x10]
jb 0x4a73eb
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.004083e0
mov dword [ebp - 0x98], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x5bdadc
lea edx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc0]
call fcn.00408550
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x120]
call fcn.00408550
mov esi, eax
add esp, 4
lea eax, [ebp - 0x90]
cmp eax, esi
je 0x4a74f3
mov ecx, dword [ebp - 0x7c]
cmp ecx, 8
jb 0x4a74bb
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a74b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 0x80], 0
xor eax, eax
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x80], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x120]
call fcn.00403990
lea ecx, [ebp - 0xc0]
call fcn.00403990
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x94]
cmp ecx, 8
jb 0x4a754f
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7545
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a7545
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 8
call fcn.00403990
cmp dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x3d8]
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x9e4], esi
cmp esi, 0xffffffff
je 0x4a7e7f
nop dword [eax + eax]
test byte [ebp - 0x3d8], 0x10
jne 0x4a7e69
push 0x100
lea eax, [ebp - 0x5da]
push eax
push 0x100
lea eax, [ebp - 0x7da]
push eax
push 0x100
lea eax, [ebp - 0x9da]
push eax
push 3
lea eax, [ebp - 0x9e0]
push eax
lea eax, [ebp - 0x3ac]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea ecx, [ebp - 0x5da]
add esp, 0x24
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a7603
sub ecx, edx
sar ecx, 1
je 0x4a7e69
lea edx, [ebp - 0x5d8]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4a7621
sub edx, ecx
lea esi, [ebp - 0x5d8]
mov ecx, dword [0x5df000]
mov eax, 0x5deff0
sar edx, 1
mov edi, ecx
cmp dword [0x5df004], 8
cmovae eax, dword [0x5deff0]
cmp edx, ecx
cmovb edi, edx
test edi, edi
je 0x4a7688
mov ecx, esi
sub eax, ecx
mov dword [ebp - 0x9f0], eax
movzx ecx, word [eax + esi]
movzx eax, word [esi]
cmp cx, ax
jne 0x4a7e63
mov eax, dword [ebp - 0x9f0]
add esi, 2
sub edi, 1
jne 0x4a7664
mov ecx, dword [0x5df000]
cmp ecx, edx
jb 0x4a7e63
ja 0x4a7e63
lea eax, [ebp - 0x7da]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a76a0
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x4a7e63
push eax
lea eax, [ebp - 0x7da]
mov dword [ebp - 0xc8], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
push eax
lea ecx, [ebp - 0xd8]
movups xmmword [ebp - 0xd8], xmm0
call fcn.00403d10
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
mov eax, dword [ebp - 0xc8]
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
lea edx, [eax - 3]
cmp eax, edx
jb 0x4a7f46
sub eax, edx
mov ecx, 3
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xc4], 8
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0xc0]
lea eax, [eax + edx*2]
push eax
call fcn.00403d10
mov ecx, dword [ebp - 0xc4]
cmp ecx, 8
jb 0x4a778c
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
movups xmm0, xmmword [ebp - 0xc0]
xor eax, eax
lea ecx, [ebp - 0xc0]
mov word [ebp - 0xc0], ax
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [ebp - 0xb0]
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
call fcn.00403990
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0xc4], 8
lea esi, [ebp - 0xd8]
mov edi, eax
lea eax, [ebp - 0xa04]
cmovae esi, dword [ebp - 0xd8]
push 0xa
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
add esp, 0xc
mov dword [ebp - 0x9e8], eax
cmp esi, dword [ebp - 0xa04]
je 0x4a7edd
cmp dword [edi], 0x22
je 0x4a7ed2
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0xa00]
push eax
lea eax, [ebp - 0x3c4]
push eax
call esi
mov eax, dword [ebp - 0x9fc]
xor edi, edi
add edi, dword [ebp - 0xa00]
adc eax, 0
mov dword [ebp - 0xa10], eax
lea eax, [ebp - 0xa00]
push eax
lea eax, [ebp - 0x3d4]
push eax
call esi
mov ecx, dword [ebp - 0x9fc]
xor eax, eax
add eax, dword [ebp - 0xa00]
xorps xmm0, xmm0
mov dword [ebp - 0xa0c], eax
adc ecx, 0
mov dword [ebp - 0xe0], 0
xor eax, eax
mov dword [ebp - 0x9f0], ecx
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 0xe
mov edx, 0x5def60
cmp dword [0x5def74], 8
cmovae edx, dword [0x5def60]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a78e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.004039f0
mov ecx, dword [ebp - 0x80]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4a7f41
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
push 1
cmovae eax, dword [ebp - 0x90]
push 0x5aaa60
push ecx
push eax
push ecx
push dword [ebp - 0x9f8]
lea ecx, [ebp - 0xc0]
call fcn.00403e90
lea eax, [ebp - 0x3ac]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x138]
call fcn.00408550
mov esi, eax
add esp, 4
lea eax, [ebp - 0x90]
cmp eax, esi
je 0x4a79db
mov ecx, dword [ebp - 0x7c]
cmp ecx, 8
jb 0x4a79a3
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7999
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 0x80], 0
xor eax, eax
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x80], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x138]
call fcn.00403990
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
call fcn.00403990
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xae0]
cmovae eax, dword [ebp - 0x90]
sub esp, 8
push 0x21
push eax
call fcn.00486c60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xae0]
mov eax, dword [ebp - 0xae0]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
mov dword [ebp - 0x9f4], 0
mov esi, 1
test al, al
jne 0x4a7bbf
push 0
push 4
lea eax, [ebp - 0xa08]
push eax
lea ecx, [ebp - 0xae0]
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__::read_char___long_long___int64__]
mov eax, dword [ebp - 0xa08]
cmp eax, dword [0x5e45b4]
je 0x4a7a80
push 0xc
push str.Corrupt_file
lea ecx, [ebp - 0xa8]
xor esi, esi
call fcn.004039f0
test esi, esi
je 0x4a7b97
lea ecx, [ebp - 0xae0]
call fcn.004dd710
push 0
push 4
lea eax, [ebp - 0xa14]
push eax
lea ecx, [ebp - 0xae0]
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__::read_char___long_long___int64__]
push 0
push 4
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ebp - 0xae0]
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__::read_char___long_long___int64__]
mov eax, dword [0x5e4590]
test eax, eax
je 0x4a7acf
cmp eax, 2
jne 0x4a7ae5
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0xae0]
call fcn.004dd790
mov eax, dword [0x5e4590]
cmp eax, 1
je 0x4a7aef
cmp eax, 2
jne 0x4a7b00
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xae0]
call fcn.004dd790
push 0
push 4
lea eax, [ebp - 0x9f4]
push eax
lea ecx, [ebp - 0xae0]
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__::read_char___long_long___int64__]
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
xor eax, eax
mov dword [ebp - 0xac], 7
movups xmmword [ebp - 0xc0], xmm0
mov word [ebp - 0xc0], ax
lea edx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xae0]
call fcn.004dd790
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xac]
cmp ecx, 8
jb 0x4a7b97
mov edx, dword [ebp - 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7b8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
lea ecx, [ebp - 0xac8]
call fcn.00449460
test eax, eax
jne 0x4a7bbf
mov eax, dword [ebp - 0xae0]
lea ecx, [ebp - 0xae0]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
mov byte [ebp - 4], 0x13
mov eax, dword [0x5e4590]
test eax, eax
je 0x4a7c18
cmp eax, 2
jne 0x4a7c2e
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0xf0]
call fcn.004cbc70
mov eax, dword [0x5e4590]
cmp eax, 1
je 0x4a7c38
cmp eax, 2
jne 0x4a7c49
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0xa8]
call fcn.004cbc70
push esi
push dword [ebp - 0x9f4]
lea eax, [ebp - 0x120]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa1c], esp
push eax
call fcn.004314d0
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x108]
mov ecx, esp
push eax
call fcn.004314d0
push dword [ebp - 0x9f0]
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x13
push dword [ebp - 0xa0c]
push dword [ebp - 0xa10]
push edi
push dword [ebp - 0x9e8]
call fcn.004a7000
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x9ec]
push eax
mov ecx, dword [esi + 0x40]
cmp ecx, dword [esi + 0x44]
je 0x4a7cc2
call fcn.004af420
add dword [esi + 0x40], 0x50
jmp 0x4a7ccb
push ecx
lea ecx, [esi + 0x3c]
call fcn.004aa970
lea ecx, [ebp - 0x188]
call fcn.004a7110
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0x10
jb 0x4a7d14
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7d0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0x10
jb 0x4a7d52
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7d48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
lea ecx, [ebp - 0xae0]
call fcn.0046e150
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x94]
cmp ecx, 8
jb 0x4a7da1
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7d97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
cmp ecx, 8
jb 0x4a7e02
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7df8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
cmp ecx, 8
jb 0x4a7e63
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7e59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a753f
push ecx
push edx
call fcn.0052d747
add esp, 8
mov esi, dword [ebp - 0x9e4]
lea eax, [ebp - 0x3d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a75b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebx + 0x10]
mov esi, dword [ebp - 0x9ec]
mov ecx, esi
push dword [ebx + 0xc]
call fcn.004a7f50
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x7c]
cmp ecx, 8
jb 0x4a7ef2
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a7ee8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a7ee8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
push ecx
push edx
call fcn.0052d747
add esp, 8
push 0x403710
xor eax, eax
mov dword [ebp - 0x80], 0
push 4
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x78]
push 0x18
push eax
mov dword [ebp - 0x7c], 7
mov byte [ebp - 4], 3
call fcn.0052d3e1
mov eax, esi
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.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00402990
call fcn.00405980
int3