Function at 0x406a70
Capabilities:
Check http status code
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aa80
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x438080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xe0
lea eax, [ebp - 0x340]
mov dword [ebp - 0x14], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [0x439138]
mov eax, 0x7fffffff
mov esi, dword [0x439168]
sub eax, edx
add esp, 0xc
cmp eax, esi
jb 0x4077c0
cmp dword [0x43913c], 0xf
mov ecx, 0x439128
push esi
cmova ecx, dword [0x439128]
mov eax, 0x439158
cmp dword [0x43916c], 0xf
cmova eax, dword [0x439158]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x36c]
call fcn.00413150
lea eax, [ebp - 0x354]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x36c]
push eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00401f70
mov esi, eax
push 0x1c0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x260]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::constructor_void_]
push esi
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_cpr::Url_const__]
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x260]
call dword [sym.imp.cpr.dll_public:_class_cpr::Response___thiscall_cpr::Session::Get_void_]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x14], 0x30
call fcn.00411d10
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x406bc6
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406bbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406bbc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
push fcn.0040c380
push 1
push 0x18
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 5
push eax
call fcn.00429179
cmp dword [ebp - 0x338], 0xc8
je 0x406c33
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Khong_the_tai_danh_sach_file_tu_server:
call fcn.0040f4e0
push dword [ebp - 0x338]
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___long_int_]
push 0x40f700
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.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
jmp 0x40779a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Kiem_tra_file...
call fcn.0040f4e0
push 0x40f700
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_____]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 6
mov ecx, 0x4390f0
call fcn.00405ad0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x390]
push 0
mov byte [ebp - 0x398], 0
call fcn.0040dae0
cmp dword [ebp - 0x320], 0xf
lea ecx, [ebp - 0x334]
mov eax, dword [ebp - 0x324]
mov dl, 1
cmova ecx, dword [ebp - 0x334]
add eax, ecx
mov dword [ebp - 0x14], 0x130
cmp dword [ebp - 0x320], 0xf
lea ecx, [ebp - 0x334]
push 0
cmova ecx, dword [ebp - 0x334]
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x34c], esi
mov dword [esi + 0x24], 0
push eax
push ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 8
call fcn.00416ad0
add esp, 0x34
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0xb
push ecx
push ecx
mov ecx, eax
call fcn.00412270
lea ecx, [ebp - 0x428]
call fcn.00412130
mov ecx, dword [ebp - 0x434]
test ecx, ecx
je 0x406d4f
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x458]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
cmp byte [ebp - 0x398], 2
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x14], 0x930
jne 0x4077c5
mov eax, dword [ebp - 0x390]
lea ecx, [ebp - 0x48]
cmp ecx, eax
je 0x406dac
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 4
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.004233d0
mov dword [ebp - 4], 7
mov eax, 0x630
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x390]
push dword [ebp - 0x398]
call fcn.0040d730
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x350], edi
mov dword [ebp - 0x34c], eax
cmp edi, eax
je 0x4072bb
push edi
lea ecx, [ebp - 0x78]
call fcn.0040c5e0
push edi
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0x11
call fcn.0040c5e0
cmp dword [ebp - 0x374], 0xf
lea edx, [ebp - 0x388]
mov esi, dword [ebp - 0x388]
mov eax, dword [ebp - 0x378]
seta cl
cmova edx, esi
test cl, cl
je 0x406e31
add eax, esi
jmp 0x406e3b
lea ecx, [ebp - 0x388]
add eax, ecx
mov esi, ecx
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x406e6c
sub edx, esi
mov dword [ebp - 0x354], edx
mov edi, edx
nop dword [eax]
movzx 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 - 0x14]
jne 0x406e50
mov edi, dword [ebp - 0x350]
movups xmm0, xmmword [ebp - 0x388]
mov byte [ebp - 0x388], 0
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [ebp - 0x378]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x68], 4
jb 0x406fdb
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movups xmmword [ebp - 0x36c], xmm0
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0
lea edx, [eax - 4]
cmp eax, edx
jb 0x407811
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push ecx
add eax, edx
lea ecx, [ebp - 0x36c]
push eax
call fcn.00410940
mov eax, dword [ebp - 0x348]
or eax, 8
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x36c]
mov esi, dword [ebp - 0x36c]
or eax, 1
cmp dword [ebp - 0x358], 0xf
mov edx, dword [ebp - 0x35c]
push 4
cmova ecx, esi
mov dword [ebp - 0x348], eax
push str..log
mov dword [ebp - 0x14], eax
call fcn.00419870
add esp, 8
test al, al
jne 0x406fe1
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movups xmmword [ebp - 0x3b0], xmm0
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x39c], 0
lea edx, [eax - 4]
cmp eax, edx
jb 0x407811
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push ecx
add eax, edx
lea ecx, [ebp - 0x3b0]
push eax
call fcn.00410940
or dword [ebp - 0x348], 0x82
lea ecx, [ebp - 0x3b0]
cmp dword [ebp - 0x39c], 0xf
mov edx, dword [ebp - 0x3a0]
cmova ecx, dword [ebp - 0x3b0]
push 4
push str..txt
call fcn.00419870
add esp, 8
test al, al
jne 0x406fe1
mov byte [ebp - 0x341], 1
jmp 0x406fe8
mov esi, dword [ebp - 0x36c]
mov byte [ebp - 0x341], 0
mov ecx, dword [ebp - 0x348]
test cl, 2
je 0x40703e
mov eax, dword [ebp - 0x39c]
and ecx, 0xfffffffd
mov dword [ebp - 0x348], ecx
cmp eax, 0xf
jbe 0x40703e
mov edx, dword [ebp - 0x3b0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40702e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40751e
push ecx
push edx
call fcn.004294df
mov ecx, dword [ebp - 0x348]
add esp, 8
mov dword [ebp - 4], 0x12
test cl, 1
je 0x407089
mov eax, dword [ebp - 0x358]
and ecx, 0xfffffffe
mov dword [ebp - 0x348], ecx
cmp eax, 0xf
jbe 0x407089
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40707f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40751e
push ecx
push esi
call fcn.004294df
add esp, 8
cmp byte [ebp - 0x341], 0
je 0x407236
push edi
lea ecx, [ebp - 0xa0]
call fcn.0040c5e0
mov byte [ebp - 4], 0x14
lea esi, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0xf
lea eax, [ebp - 0xa0]
cmova esi, dword [ebp - 0xa0]
seta dl
add esi, dword [ebp - 0x90]
test dl, dl
cmovne eax, dword [ebp - 0xa0]
cmp eax, esi
je 0x4070e3
cmp byte [eax], 0x2f
jne 0x4070de
mov byte [eax], 0x5c
inc eax
cmp eax, esi
jne 0x4070d6
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x14], eax
cmp esi, dword [ebp - 0x44]
je 0x40711a
mov edi, dword [ebp - 0x44]
push esi
lea ecx, [ebp - 0x14]
call fcn.00407820
test al, al
jne 0x40710b
add esi, 0x10
cmp esi, edi
jne 0x4070f7
mov edi, dword [ebp - 0x350]
cmp esi, dword [ebp - 0x44]
jne 0x4071f8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Xoa_file:
call fcn.0040f4e0
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x407134
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00416730
add esp, 4
mov ecx, eax
push 0x40f700
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 [0x439100]
mov eax, 0x7fffffff
mov esi, dword [edi + 0x10]
sub eax, edx
cmp eax, esi
jb 0x4077c0
cmp dword [0x439104], 0xf
mov eax, 0x4390f0
mov ecx, edi
cmova eax, dword [0x4390f0]
cmp dword [edi + 0x14], 0xf
jbe 0x407183
mov ecx, dword [edi]
push esi
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x36c]
call fcn.00413150
or dword [ebp - 0x348], 0x40
lea eax, [ebp - 0x36c]
cmp dword [ebp - 0x358], 0xf
cmova eax, dword [ebp - 0x36c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, dword [ebp - 0x358]
add esp, 4
cmp ecx, 0xf
jbe 0x4071f8
mov edx, dword [ebp - 0x36c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4071ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406bb6
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x407236
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40722c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406bb6
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x40726e
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407264
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40751e
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x4072a6
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40729c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40751e
push ecx
push edx
call fcn.004294df
add esp, 8
add edi, 0x18
mov dword [ebp - 0x350], edi
cmp edi, dword [ebp - 0x34c]
jne 0x406df1
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x350], edi
mov dword [ebp - 0x354], eax
cmp edi, eax
je 0x4074b4
nop word [eax + eax]
push str.filename
mov ecx, edi
call fcn.0040f870
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.0040f9e0
push str.filename
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.0040f870
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.0040f9e0
mov byte [ebp - 4], 0x16
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
cmova esi, dword [ebp - 0x60]
seta dl
add esi, dword [ebp - 0x50]
test dl, dl
cmovne eax, dword [ebp - 0x60]
cmp eax, esi
je 0x407341
cmp byte [eax], 0x5c
jne 0x40733c
mov byte [eax], 0x2f
inc eax
cmp eax, esi
jne 0x407334
push 0x42ece4
mov ecx, edi
call fcn.0040f870
push dword [ebp - 0x34c]
mov ecx, eax
call fcn.0041a9c0
push str.size
mov ecx, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.0040f870
push dword [ebp - 0x34c]
mov ecx, eax
call fcn.0041a9c0
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], edx
cmp esi, edi
je 0x4073c3
nop
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
mov ecx, esi
cmova eax, dword [ebp - 0x60]
cmp dword [esi + 0x14], 0xf
jbe 0x4073a5
mov ecx, dword [esi]
push dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
push eax
call fcn.00419870
add esp, 8
test al, al
jne 0x407524
add esi, 0x18
cmp esi, edi
jne 0x407390
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Khong_tim_thay_file
call fcn.0040f4e0
cmp dword [ebp - 0x1c], 0xf
lea edx, [ebp - 0x30]
push dword [ebp - 0x20]
cmova edx, dword [ebp - 0x30]
mov ecx, eax
call fcn.00416730
add esp, 4
mov ecx, eax
push 0x40f700
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 eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34c]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34c], eax
call fcn.00408f20
test al, al
je 0x4076fd
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x40744f
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407445
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407775
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
cmp ecx, 0xf
jbe 0x407499
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40748f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407775
push ecx
push edx
call fcn.004294df
add esp, 8
mov edi, dword [ebp - 0x350]
add edi, 0x10
mov dword [ebp - 0x350], edi
cmp edi, dword [ebp - 0x354]
jne 0x4072e0
call fcn.00404d60
call fcn.004053c0
lea ecx, [ebp - 0x48]
call fcn.0040dcf0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x40779a
mov edx, dword [ebp - 0x38]
push ecx
call fcn.00411060
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x3c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40777b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40777b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp esi, edi
je 0x4073c3
mov edx, dword [0x439100]
mov eax, 0x7fffffff
mov esi, dword [ebp - 0x20]
sub eax, edx
cmp eax, esi
jb 0x4077c0
cmp dword [0x439104], 0xf
lea eax, [ebp - 0x30]
mov ecx, 0x4390f0
cmova ecx, dword [0x4390f0]
cmp dword [ebp - 0x1c], 0xf
push esi
cmova eax, dword [ebp - 0x30]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x78]
call fcn.00413150
or dword [ebp - 0x348], 4
lea eax, [ebp - 0x3b8]
mov byte [ebp - 4], 0x17
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00409f50
mov byte [ebp - 4], 0x16
add esp, 4
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 0x341], al
cmp ecx, 0xf
jbe 0x4075d9
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4075c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406bb6
push ecx
push edx
call fcn.004294df
mov al, byte [ebp - 0x341]
add esp, 8
test al, al
jne 0x407417
mov esi, dword [ebp - 0x18]
cmp esi, 0x738c4bf6
jne 0x4075f6
cmp dword [ebp - 0x14], 0
je 0x407417
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Tai_file
call fcn.0040f4e0
cmp dword [ebp - 0x1c], 0xf
lea edx, [ebp - 0x30]
push dword [ebp - 0x20]
cmova edx, dword [ebp - 0x30]
mov ecx, eax
call fcn.00416730
add esp, 4
mov edx, 0x42ed44
mov ecx, eax
call fcn.0040f4e0
push 0x40f700
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 edx, [ebp - 0x34c]
mov dword [ebp - 0x34c], esi
lea ecx, [ebp - 0x30]
call fcn.00408f20
test al, al
jne 0x407417
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x40768b
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407681
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407775
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x4076d5
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4076cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407775
push ecx
push edx
call fcn.004294df
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Co_loi_xay_ra__vui_long_kiem_tra
call fcn.0040f4e0
push 0x40f700
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.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
jmp 0x4074be
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x407731
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407727
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407775
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x4076d5
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4076cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4076cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004294df
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x340]
call fcn.00407a00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429136
mov esp, ebp
pop ebp
ret
call fcn.00401470
lea ecx, [ebp - 0x398]
call fcn.0040e8c0
mov dword [ebp - 0x350], eax
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x350]
push eax
call fcn.00423060
push eax
mov edx, 0x12e
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x370]
call fcn.0040fda0
add esp, 8
lea eax, [ebp - 0x370]
push 0x435568
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.0040eca0
int3