Function at 0x4094d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b4a3
mov eax, dword fs:[0]
push eax
sub esp, 0x5ac
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
mov dword [ebp - 0x50c], edx
mov edi, ecx
mov dword [ebp - 0x4d8], edi
push edi
lea ecx, [ebp - 0x58]
call fcn.0040cbb0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
cmova edx, dword [ebp - 0x58]
add edx, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 0xf
cmova eax, dword [ebp - 0x58]
cmp eax, edx
je 0x409545
cmp byte [eax], 0x5c
jne 0x409540
mov byte [eax], 0x2f
inc eax
cmp eax, edx
jne 0x409538
call dword [sym.imp.libcurl.dll_curl_easy_init]
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
push dword [ebp - 0x48]
cmova ecx, dword [ebp - 0x58]
push ecx
push eax
mov dword [ebp - 0x254], eax
call dword [sym.imp.libcurl.dll_curl_easy_escape]
mov esi, eax
mov dword [ebp - 0x4e0], 0
mov ecx, esi
mov dword [ebp - 0x4dc], 0
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebp - 0x4f0], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409590
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x4f0]
call fcn.00410dd0
push esi
call dword [sym.imp.libcurl.dll_curl_free]
push dword [ebp - 0x254]
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
add esp, 8
mov byte [ebp - 4], 1
mov eax, 0x7fffffff
mov edx, dword [0x43916c]
sub eax, edx
mov esi, dword [0x439184]
cmp eax, esi
jb 0x40a432
cmp dword [0x439170], 0xf
mov ecx, 0x43915c
push esi
cmova ecx, dword [0x43915c]
mov eax, 0x439174
cmp dword [0x439188], 0xf
cmova eax, dword [0x439174]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x4d8]
lea ecx, [ebp - 0x524]
call fcn.00413580
lea eax, [ebp - 0x4f0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x524]
push eax
push dword [ebp - 0x4d8]
lea ecx, [ebp - 0x78]
call fcn.004133a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x510]
cmp ecx, 0xf
jbe 0x409675
mov edx, dword [ebp - 0x524]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40966b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a401
push ecx
push edx
call fcn.00429acf
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4dc]
cmp ecx, 0xf
jbe 0x4096b3
mov edx, dword [ebp - 0x4f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4096a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a401
push ecx
push edx
call fcn.00429acf
add esp, 8
push 0xe0
lea eax, [ebp - 0x3e4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x53c]
push eax
call fcn.0040cbb0
lea eax, [ebp - 0x524]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x53c]
push eax
push ecx
lea ecx, [ebp - 0x558]
call fcn.00402090
mov esi, eax
push 0x1c0
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 7
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::constructor_void_]
push esi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 8
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_cpr::Url_const__]
lea eax, [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_class_cpr::Response___thiscall_cpr::Session::Head_void_]
lea ecx, [ebp - 0x250]
call fcn.00412140
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x540]
cmp ecx, 0xf
jbe 0x40978c
mov edx, dword [ebp - 0x554]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409782
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 - 0x544], 0
mov dword [ebp - 0x540], 0xf
mov byte [ebp - 0x554], 0
push fcn.0040c950
push 1
push 0x18
lea eax, [ebp - 0x53c]
mov byte [ebp - 4], 0xb
push eax
call fcn.00429769
cmp dword [ebp - 0x3dc], 0xc8
je 0x409827
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Co_loi_khi_tai_file
call fcn.0040fab0
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x4097e7
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00416b60
add esp, 4
mov edx, 0x42e9a4
mov ecx, eax
call fcn.0040fab0
push dword [ebp - 0x3dc]
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_____]
mov byte [ebp - 0x4c5], 0
jmp 0x40a3a0
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x4e0], 0
push str.Content_Length
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x4dc], 0
movups xmmword [ebp - 0x4f0], xmm0
call fcn.00410dd0
lea eax, [ebp - 0x4f0]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x3c0]
call fcn.0040bc80
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x4cc], eax
jbe 0x409883
mov esi, dword [esi]
mov dword [eax], 0
lea eax, [ebp - 0x254]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoll]
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x254]
jne 0x4098b1
push str.invalid_stoll_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
mov eax, dword [ebp - 0x4cc]
cmp dword [eax], 0x22
jne 0x4098c7
push str.stoll_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x4dc]
mov dword [ebp - 0x5c], edx
cmp ecx, 0xf
jbe 0x40990d
mov edx, dword [ebp - 0x4f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409903
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409903
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 byte [ebp - 0x4cc], 0
lea ecx, [ebp - 0x524]
push dword [ebp - 0x4cc]
mov edx, edi
call fcn.00416a40
mov byte [ebp - 0x4cc], 0
lea ecx, [ebp - 0x4f0]
push dword [ebp - 0x4cc]
mov edx, 0x4390f0
mov byte [ebp - 4], 0xd
call fcn.00416a40
lea eax, [ebp - 0x524]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x4f0]
lea ecx, [ebp - 0x40]
call fcn.00402680
add esp, 0xc
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x4dc]
cmp ecx, 7
jbe 0x4099a4
mov edx, dword [ebp - 0x4f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40999a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4099f7
push ecx
push edx
call fcn.00429acf
add esp, 8
xor eax, eax
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 7
mov word [ebp - 0x4f0], ax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x510]
cmp ecx, 7
jbe 0x409a07
mov edx, dword [ebp - 0x524]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4099fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4099fd
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 edx, dword [0x439100]
xor eax, eax
mov esi, dword [edi + 0x10]
mov word [ebp - 0x524], ax
mov eax, 0x7fffffff
sub eax, edx
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x510], 7
cmp eax, esi
jb 0x40a437
cmp dword [0x439104], 0xf
mov eax, 0x4390f0
mov ecx, edi
cmova eax, dword [0x4390f0]
cmp dword [edi + 0x14], 0xf
jbe 0x409a59
mov ecx, dword [edi]
push esi
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x4d8]
lea ecx, [ebp - 0x90]
call fcn.00413580
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x53c]
call fcn.0040c4d0
movups xmm1, xmmword [ebp - 0x53c]
movq xmm0, qword [ebp - 0x52c]
movups xmmword [ebp - 0x28], xmm1
movq qword [ebp - 0x18], xmm0
movd eax, xmm1
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x14], 7
cmova esi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.004255c0
add esp, 4
mov dword [ebp - 0x4e0], 0
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x4dc], 0
cmova ecx, dword [ebp - 0x28]
lea eax, [esi + eax*2]
movups xmmword [ebp - 0x4f0], xmm0
cmp ecx, eax
jne 0x409b07
xor eax, eax
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 7
mov word [ebp - 0x4f0], ax
jmp 0x409b18
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x4f0]
call fcn.00410b30
push 0
lea eax, [ebp - 0x4f0]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.00427180
mov eax, dword [ebp - 0x4d4]
add esp, 0xc
test eax, eax
je 0x409b4a
mov byte [ebp - 0x4c5], 0
cmp eax, 1
jne 0x409b51
mov byte [ebp - 0x4c5], 1
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x4dc]
cmp ecx, 7
jbe 0x409b97
mov edx, dword [ebp - 0x4f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409b8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409b8d
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
cmp byte [ebp - 0x4c5], 0
je 0x409c76
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push eax
call fcn.004255c0
add esp, 4
mov dword [ebp - 0x4e0], 0
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x4dc], 0
cmova ecx, dword [ebp - 0x28]
lea eax, [esi + eax*2]
movups xmmword [ebp - 0x4f0], xmm0
cmp ecx, eax
jne 0x409c0a
xor eax, eax
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 7
mov word [ebp - 0x4f0], ax
jmp 0x409c1b
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x4f0]
call fcn.00410b30
lea eax, [ebp - 0x4f0]
mov byte [ebp - 4], 0x15
push 0
push eax
call fcn.00425fa0
mov byte [ebp - 4], 0x13
add esp, 8
mov ecx, dword [ebp - 0x4dc]
cmp ecx, 7
jbe 0x409c76
mov edx, dword [ebp - 0x4f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409c6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409c6c
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
push 0xb0
lea eax, [ebp - 0x304]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x304]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00412f30
mov eax, dword [ebp - 0x304]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x304]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x308], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x304]
mov eax, dword [ebp - 0x304]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x409d17
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error:_Khong_the_tao_file
call fcn.0040fab0
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.0040ff50
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_____]
mov byte [ebp - 0x4c5], 0
jmp 0x40a227
push 0xe0
lea eax, [ebp - 0x4c4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x60]
mov dword [ebp - fcn.0041a100], 0x430bfc
mov dword [ebp - 0x584], eax
lea ecx, [ebp - 0x588]
add esp, 0xc
mov dword [ebp - 0x5b8], 0
lea eax, [ebp - 0x588]
mov dword [ebp - 0x58c], 0
mov dword [ebp - 0x564], eax
lea eax, [ebp - 0x5b0]
push eax
call fcn.0041a100
mov ecx, dword [ebp - 0x564]
mov dword [ebp - 0x58c], eax
test ecx, ecx
je 0x409d9f
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x588]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x564], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x508]
xorps xmm0, xmm0
mov byte [ebp - 0x4c5], 0
push 0xc
push str.Content_Type
movlpd qword [ebp - 0x560], xmm0
mov dword [ebp - 0x254], 0x400000
movups xmmword [ebp - 0x508], xmm0
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x4f4], 0
call fcn.00410dd0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x4f0]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x4e0], 0
push str.application_octet_stream
movups xmmword [ebp - 0x4f0], xmm0
mov dword [ebp - 0x4dc], 0
call fcn.00410dd0
mov byte [ebp - 4], 0x1a
lea esi, [ebp - 0x508]
push 0x40
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
call fcn.00429739
add esp, 4
mov dword [ebp - 0x4cc], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x4d4], eax
lea eax, [ebp - 0x4d8]
mov byte [ebp - 4], 0x1b
cmp esi, eax
je 0x409e96
mov edi, dword [ebp - 0x4cc]
push esi
push edi
lea ecx, [ebp - 0x4d4]
call fcn.00417e80
add esi, 0x30
lea eax, [ebp - 0x4d8]
cmp esi, eax
jne 0x409e76
mov edi, dword [ebp - 0x4d8]
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x53c]
call fcn.0040cbb0
lea eax, [ebp - 0x524]
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x53c]
push eax
push ecx
lea ecx, [ebp - 0x558]
call fcn.00402090
mov esi, eax
push 0x1c0
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x1e
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::constructor_void_]
push esi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x1f
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_cpr::Url_const__]
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_std::map_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____struct_cpr::CaseInsensitiveCompare__class_std::allocator_struct_std::pair_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______const__]
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_cpr::ReserveSize_const__]
lea eax, [ebp - 0x4c5]
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_cpr::VerifySsl_const__]
lea eax, [ebp - 0x560]
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_cpr::Timeout_const__]
lea eax, [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_cpr::ProgressCallback_const__]
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.cpr.dll_public:_class_cpr::Response___thiscall_cpr::Session::Download_class_std::basic_ofstream_char__struct_std::char_traits_char____]
lea ecx, [ebp - 0x250]
call fcn.00412140
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x540]
cmp ecx, 0xf
jbe 0x409fc3
mov edx, dword [ebp - 0x554]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409fb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409fb9
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 - 0x544], 0
mov dword [ebp - 0x540], 0xf
mov byte [ebp - 0x554], 0
push fcn.0040c950
push 1
push 0x18
lea eax, [ebp - 0x53c]
mov byte [ebp - 4], 0x22
push eax
call fcn.00429769
mov eax, dword [ebp - 0x4d4]
push dword [eax + 4]
lea eax, [ebp - 0x4d4]
push eax
mov ecx, eax
call fcn.00417870
push 0x40
push dword [ebp - 0x4d4]
call fcn.00429acf
add esp, 8
push fcn.0040a470
push 1
push 0x30
lea eax, [ebp - 0x508]
mov byte [ebp - 4], 0x24
push eax
call fcn.00429769
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x58c]
test ecx, ecx
je 0x40a062
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x5b0]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x58c], 0
cmp dword [ebp - 0x4bc], 0xc8
je 0x40a0b5
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Co_loi_khi_tai_file
call fcn.0040fab0
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x40a089
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00416b60
add esp, 4
mov edx, 0x42e9a4
mov ecx, eax
call fcn.0040fab0
push dword [ebp - 0x4bc]
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_]
jmp 0x40a1be
lea ecx, [ebp - 0x300]
call fcn.0040e400
test eax, eax
jne 0x40a0dd
mov eax, dword [ebp - 0x304]
lea ecx, [ebp - 0x304]
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_]
push ecx
lea eax, [ebp - 0x524]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f630
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0x27
call fcn.0040a720
mov byte [ebp - 4], 0x25
mov esi, eax
mov ecx, dword [ebp - 0x510]
cmp ecx, 0xf
jbe 0x40a13e
mov edx, dword [ebp - 0x524]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a134
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a134
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.DOWNLOAD_CRC
call fcn.0040fab0
push esi
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_int_]
mov edx, 0x42f11c
mov ecx, eax
call fcn.0040fab0
mov ecx, dword [ebp - 0x50c]
push dword [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___unsigned_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_____]
mov eax, dword [ebp - 0x50c]
cmp esi, dword [eax]
je 0x40a1d4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.File_tai
call fcn.0040fab0
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x40a1a5
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00416b60
add esp, 4
mov edx, str._da_bi_hong
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_____]
mov byte [ebp - 0x4c5], 0
jmp 0x40a21c
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 [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x40a1ef
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00416b60
add esp, 4
mov edx, str._thanh_cong
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_____]
mov byte [ebp - 0x4c5], 1
lea ecx, [ebp - 0x4c4]
call fcn.00407e10
mov eax, dword [ebp - 0x304]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x304]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x308], eax
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x2b4], 0
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
je 0x40a295
mov eax, dword [ebp - 0x2f4]
lea ecx, [ebp - 0x2c4]
cmp dword [eax], ecx
jne 0x40a295
mov edx, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2b0]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x2e4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2d4]
mov dword [eax], edx
cmp byte [ebp - 0x2b8], 0
je 0x40a2a9
lea ecx, [ebp - 0x300]
call fcn.0040e400
lea ecx, [ebp - 0x300]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2fc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x29c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40a307
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a2fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a401
push ecx
push edx
call fcn.00429acf
add esp, 8
mov ecx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 0xf
jbe 0x40a352
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a348
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a401
push ecx
push edx
call fcn.00429acf
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40a38c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a382
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a401
push ecx
push edx
call fcn.00429acf
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x3e4]
call fcn.00407e10
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x40a3db
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a3d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a401
push ecx
push edx
call fcn.00429acf
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x40a411
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a407
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a407
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 al, byte [ebp - 0x4c5]
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
call fcn.00401590
int3