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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b100
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 [0x43916c]
mov eax, 0x7fffffff
mov esi, dword [0x43919c]
sub eax, edx
add esp, 0xc
cmp eax, esi
jb 0x407ad0
cmp dword [0x439170], 0xf
mov ecx, 0x43915c
push esi
cmova ecx, dword [0x43915c]
mov eax, 0x43918c
cmp dword [0x4391a0], 0xf
cmova eax, dword [0x43918c]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x36c]
call fcn.00413580
lea eax, [ebp - 0x354]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x36c]
push eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00402090
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], 0x18
call fcn.00412140
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x406ec6
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406ebc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406ebc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00429acf
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
push fcn.0040c950
push 1
push 0x18
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 5
push eax
call fcn.00429769
cmp dword [ebp - 0x338], 0xc8
je 0x406f33
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.0040fab0
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 0x40fcd0
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 0x407aaa
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.0040fab0
push 0x40fcd0
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.00405dd0
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.0040e0b0
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], 0x218
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.00416f00
add esp, 0x34
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0xb
push ecx
push ecx
mov ecx, eax
call fcn.004126a0
lea ecx, [ebp - 0x428]
call fcn.00412560
mov ecx, dword [ebp - 0x434]
test ecx, ecx
je 0x40704f
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], 0x318
jne 0x407ad5
mov eax, dword [ebp - 0x390]
lea ecx, [ebp - 0x48]
cmp ecx, eax
je 0x4070ac
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.00423870
mov dword [ebp - 4], 7
mov eax, 0xd8
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x390]
push dword [ebp - 0x398]
call fcn.0040dd00
mov byte [ebp - 4], 0xf
cmp byte [0x439128], 0
jne 0x4075ce
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x350], edi
mov dword [ebp - 0x34c], eax
cmp edi, eax
je 0x4075ce
nop
push edi
lea ecx, [ebp - 0x78]
call fcn.0040cbb0
push edi
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0x11
call fcn.0040cbb0
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 0x407140
add eax, esi
jmp 0x40714a
lea ecx, [ebp - 0x388]
add eax, ecx
mov esi, ecx
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x40717c
sub edx, esi
mov dword [ebp - 0x354], edx
mov edi, edx
nop dword [eax + 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 0x407160
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 0x4072eb
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 0x407b21
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.00410dd0
mov eax, dword [ebp - 0x348]
or eax, 0x20
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.00419ca0
add esp, 8
test al, al
jne 0x4072f1
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 0x407b21
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.00410dd0
or dword [ebp - 0x348], 0x802
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.00419ca0
add esp, 8
test al, al
jne 0x4072f1
mov byte [ebp - 0x341], 1
jmp 0x4072f8
mov esi, dword [ebp - 0x36c]
mov byte [ebp - 0x341], 0
mov ecx, dword [ebp - 0x348]
test cl, 2
je 0x40734e
mov eax, dword [ebp - 0x39c]
and ecx, 0xfffffffd
mov dword [ebp - 0x348], ecx
cmp eax, 0xf
jbe 0x40734e
mov edx, dword [ebp - 0x3b0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40733e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40782e
push ecx
push edx
call fcn.00429acf
mov ecx, dword [ebp - 0x348]
add esp, 8
mov dword [ebp - 4], 0x12
test cl, 1
je 0x407399
mov eax, dword [ebp - 0x358]
and ecx, 0xfffffffe
mov dword [ebp - 0x348], ecx
cmp eax, 0xf
jbe 0x407399
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40738f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40782e
push ecx
push esi
call fcn.00429acf
add esp, 8
cmp byte [ebp - 0x341], 0
je 0x407549
push edi
lea ecx, [ebp - 0xa0]
call fcn.0040cbb0
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 0x4073f3
cmp byte [eax], 0x2f
jne 0x4073ee
mov byte [eax], 0x5c
inc eax
cmp eax, esi
jne 0x4073e6
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x14], eax
cmp esi, dword [ebp - 0x44]
je 0x40742a
mov edi, dword [ebp - 0x44]
push esi
lea ecx, [ebp - 0x14]
call fcn.00407b30
test al, al
jne 0x40741b
add esi, 0x10
cmp esi, edi
jne 0x407407
mov edi, dword [ebp - 0x350]
cmp esi, dword [ebp - 0x44]
jne 0x40750b
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.0040fab0
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x407444
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00416b60
add esp, 4
mov ecx, eax
push 0x40fcd0
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 0x407ad0
cmp dword [0x439104], 0xf
mov eax, 0x4390f0
mov ecx, edi
cmova eax, dword [0x4390f0]
cmp dword [edi + 0x14], 0xf
jbe 0x407493
mov ecx, dword [edi]
push esi
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x36c]
call fcn.00413580
or dword [ebp - 0x348], 0x400
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 0x40750b
mov edx, dword [ebp - 0x36c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407501
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406eb6
push ecx
push edx
call fcn.00429acf
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x407549
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40753f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406eb6
push ecx
push edx
call fcn.00429acf
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x407581
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407577
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40782e
push ecx
push edx
call fcn.00429acf
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x4075b9
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4075af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40782e
push ecx
push edx
call fcn.00429acf
add esp, 8
add edi, 0x18
mov dword [ebp - 0x350], edi
cmp edi, dword [ebp - 0x34c]
jne 0x407100
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x350], edi
mov dword [ebp - 0x354], eax
cmp edi, eax
je 0x4077c4
nop dword [eax + eax]
push str.filename
mov ecx, edi
call fcn.0040fd00
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.0040fe70
push str.filename
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.0040fd00
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.0040fe70
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 0x407651
cmp byte [eax], 0x5c
jne 0x40764c
mov byte [eax], 0x2f
inc eax
cmp eax, esi
jne 0x407644
push 0x42ed4c
mov ecx, edi
call fcn.0040fd00
push dword [ebp - 0x34c]
mov ecx, eax
call fcn.0041ae60
push str.size
mov ecx, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.0040fd00
push dword [ebp - 0x34c]
mov ecx, eax
call fcn.0041ae60
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], edx
cmp esi, edi
je 0x4076d3
nop
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
mov ecx, esi
cmova eax, dword [ebp - 0x60]
cmp dword [esi + 0x14], 0xf
jbe 0x4076b5
mov ecx, dword [esi]
push dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
push eax
call fcn.00419ca0
add esp, 8
test al, al
jne 0x407834
add esi, 0x18
cmp esi, edi
jne 0x4076a0
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.0040fab0
cmp dword [ebp - 0x1c], 0xf
lea edx, [ebp - 0x30]
push dword [ebp - 0x20]
cmova edx, dword [ebp - 0x30]
mov ecx, eax
call fcn.00416b60
add esp, 4
mov ecx, eax
push 0x40fcd0
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.004094d0
test al, al
je 0x407a0d
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x40775f
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407755
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a85
push ecx
push edx
call fcn.00429acf
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 0x4077a9
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40779f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a85
push ecx
push edx
call fcn.00429acf
add esp, 8
mov edi, dword [ebp - 0x350]
add edi, 0x10
mov dword [ebp - 0x350], edi
cmp edi, dword [ebp - 0x354]
jne 0x4075f0
call fcn.00404e80
call fcn.004054e0
lea ecx, [ebp - 0x48]
call fcn.0040e2c0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x407aaa
mov edx, dword [ebp - 0x38]
push ecx
call fcn.00411500
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 0x407a8b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407a8b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp esi, edi
je 0x4076d3
mov edx, dword [0x439100]
mov eax, 0x7fffffff
mov esi, dword [ebp - 0x20]
sub eax, edx
cmp eax, esi
jb 0x407ad0
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.00413580
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.0040a500
mov byte [ebp - 4], 0x16
add esp, 4
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 0x341], al
cmp ecx, 0xf
jbe 0x4078e9
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4078d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406eb6
push ecx
push edx
call fcn.00429acf
mov al, byte [ebp - 0x341]
add esp, 8
test al, al
jne 0x407727
mov esi, dword [ebp - 0x18]
cmp esi, 0x738c4bf6
jne 0x407906
cmp dword [ebp - 0x14], 0
je 0x407727
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.0040fab0
cmp dword [ebp - 0x1c], 0xf
lea edx, [ebp - 0x30]
push dword [ebp - 0x20]
cmova edx, dword [ebp - 0x30]
mov ecx, eax
call fcn.00416b60
add esp, 4
mov edx, 0x42edac
mov ecx, eax
call fcn.0040fab0
push 0x40fcd0
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.004094d0
test al, al
jne 0x407727
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x40799b
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407991
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a85
push ecx
push edx
call fcn.00429acf
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 0x4079e5
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4079db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a85
push ecx
push edx
call fcn.00429acf
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.0040fab0
push 0x40fcd0
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 0x4077ce
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x407a41
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407a37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a85
push ecx
push edx
call fcn.00429acf
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 0x4079e5
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4079db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4079db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00429acf
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x340]
call fcn.00407e10
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.00429726
mov esp, ebp
pop ebp
ret
call fcn.00401590
lea ecx, [ebp - 0x398]
call fcn.0040ee90
mov dword [ebp - 0x350], eax
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x350]
push eax
call fcn.00423500
push eax
mov edx, 0x12e
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x370]
call fcn.00410230
add esp, 8
lea eax, [ebp - 0x370]
push 0x4356d0
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.0040f270
int3