Function at 0x4241c0
Capabilities:
Check http status code
Connect to http server
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e34bd
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c0], eax
xor eax, eax
mov dword [ebp - 0x2bc], eax
mov esi, edx
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2b4], 0xffffffff
lea ebx, [esi + 0x20]
mov edi, 8
mov dword [ebp - 4], eax
cmp dword [ebx + 0x14], edi
jb 0x424225
mov eax, dword [ebx]
jmp 0x424227
mov eax, ebx
push 0x180
push 0x20
push 0x8101
push eax
lea edx, [ebp - 0x2b4]
push edx
call fcn.0045dbaa
add esp, 0x14
test eax, eax
je 0x4245ce
push 0x9c40
mov ecx, 0x536e48
call fcn.0044af00
test al, al
je 0x4245b0
mov dword [ebp - 0x368], 0x513850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x2bc], 1
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
call fcn.004016a0
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x364]
push ecx
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], 0
call fcn.00401660
push eax
mov dword [ebp - 4], 3
call fcn.00404a20
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c0]
add esp, 4
test eax, eax
je 0x42431c
push 0
lea ecx, [ebp - 0x2c8]
mov edi, eax
call fcn.0044752e
mov eax, dword [edi + 4]
test eax, eax
je 0x4242fa
cmp eax, 0xffffffff
jae 0x4242fa
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x2c8]
not esi
call fcn.00447556
and esi, edi
je 0x42431c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0x20
call eax
cmp dword [ebp - 0x2e0], 0
mov byte [ebp - 0x2d8], al
jne 0x424351
mov eax, dword [ebp - 0x30c]
or eax, 4
push 0
push eax
lea ecx, [ebp - 0x318]
call fcn.00401560
mov esi, 4
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x368]
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x364]
mov dword [ebp + edx - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.004045c0
mov edi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x364], edi
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], esi
mov byte [ebp - 4], 6
cmp dword [ebx + 0x14], 8
jb 0x42439f
mov ebx, dword [ebx]
push 3
lea eax, [ebp - 0x2ac]
push ebx
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], eax
call fcn.00409340
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x2b0]
call fcn.0045c584
mov ecx, dword [eax]
push ecx
push ecx
push str.__error:
push ecx
push esi
push ecx
lea edx, [ebp - 0x368]
push str.SmartDownload::doPostDownload_error_opening_destination_file:
push edx
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
add esp, 0xc
mov ecx, eax
call fcn.00414820
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x2ac]
cmp eax, ecx
je 0x42441e
push eax
call fcn.004587c5
add esp, 4
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x368]
call fcn.004031f0
push 0x5c
push str.SmartDownloadJob.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 8
call fcn.0044af10
cmp dword [ebp - 0x210], 0x10
jb 0x424463
mov eax, dword [ebp - 0x224]
push eax
call fcn.00458691
add esp, 4
mov edx, dword [ebp - 0x368]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x2c8], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [ebp - 0x324], 1
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x364], edi
je 0x4244af
mov edx, dword [ebp - 0x354]
mov eax, dword [edx]
push eax
call fcn.00458691
add esp, 4
mov eax, dword [ebp - 0x354]
mov dword [eax], 0
mov ecx, dword [ebp - 0x344]
mov dword [ecx], 0
mov edx, dword [ebp - 0x334]
mov dword [edx], 0
mov eax, dword [ebp - 0x350]
mov dword [eax], 0
mov ecx, dword [ebp - 0x340]
mov dword [ecx], 0
mov edx, dword [ebp - 0x330]
mov dword [edx], 0
and dword [ebp - 0x324], 0xfffffffe
mov dword [ebp - 0x328], 0
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x32c]
mov edi, eax
test eax, eax
je 0x424570
mov ebx, dword [eax]
test ebx, ebx
je 0x424567
push 0
lea ecx, [ebp - 0x2b8]
call fcn.0044752e
mov eax, dword [ebx + 4]
test eax, eax
je 0x424545
cmp eax, 0xffffffff
jae 0x424545
dec eax
mov dword [ebx + 4], eax
mov esi, dword [ebx + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x2b8]
not esi
call fcn.00447556
and esi, ebx
je 0x424567
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push edi
call fcn.00458691
add esp, 4
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
call fcn.00447beb
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x368]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x318]
mov dword [ebp + ecx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00447a81
add esp, 4
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x4245c4
push eax
call fcn.0045d2ed
add esp, 4
mov eax, 4
jmp 0x424f75
xor eax, eax
xor ecx, ecx
push 0x9e
push ecx
lea edx, [ebp - 0x116]
push edx
mov word [ebp - 0x38], ax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
mov word [ebp - 0x118], cx
call fcn.00458cc0
add esp, 0xc
xor eax, eax
push 0xee
push eax
lea ecx, [ebp - 0x206]
push ecx
mov word [ebp - 0x208], ax
call fcn.00458cc0
add esp, 0xc
push 0x3c
lea edx, [ebp - 0x3a4]
push 0
push edx
call fcn.00458cc0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x208]
add esp, 0xc
lea ecx, [ebp - 0x118]
mov edx, 0x50
mov dword [ebp - 0x378], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x3a4], 0x3c
mov dword [ebp - 0x39c], 0x14
mov dword [ebp - 0x398], 3
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x390], 0x50
mov word [ebp - 0x38c], dx
mov dword [ebp - 0x374], 0x78
cmp dword [esi + 0x14], edi
jb 0x4246ad
mov ecx, dword [esi]
jmp 0x4246af
mov ecx, esi
lea edx, [ebp - 0x3a4]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x42483c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x9c40
mov ecx, 0x536e48
mov edi, eax
call fcn.0044af00
test al, al
je 0x42481e
push 1
push 2
lea ecx, [ebp - 0x368]
call fcn.004030f0
mov bl, 0xb
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00408940
lea ecx, [ebp - 0x2ac]
push 3
mov dword [ebp - 0x2b0], ecx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00409340
push edi
push ecx
push str.__error:
push ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2b0]
push edx
push ecx
lea eax, [ebp - 0x368]
push str.Bad_URL:
push eax
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
add esp, 0xc
mov ecx, eax
call fcn.0040d470
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x2ac]
cmp eax, ecx
je 0x424779
push eax
call fcn.004587c5
add esp, 4
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x368]
call fcn.004031f0
push 0x74
push str.SmartDownloadJob.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 0xd
call fcn.0044af10
cmp dword [ebp - 0x210], 0x10
jb 0x4247be
mov eax, dword [ebp - 0x224]
push eax
call fcn.00458691
add esp, 4
mov edx, dword [ebp - 0x368]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0xe
call fcn.00403220
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x368]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x318]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00447a81
add esp, 4
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x424832
push eax
call fcn.0045d2ed
add esp, 4
mov eax, 3
jmp 0x424f75
mov ecx, dword [ebp - 0x2c0]
mov eax, dword [ecx + 0x58]
mov edx, dword [ebp - 0x38c]
push 0
push 0
push 3
push 0
push 0
push edx
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [ebp - 0x2bc], edi
mov byte [ebp - 4], 0xf
test edi, edi
je 0x424a0f
mov edx, dword [ebp - 0x378]
push 0
push 0x840c0300
push 0x534e10
push 0
push 0
push edx
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
mov dword [ebp - 0x2c8], ebx
mov byte [ebp - 4], 0x10
test ebx, ebx
jne 0x424a2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x9c40
mov ecx, 0x536e48
mov ebx, eax
call fcn.0044af00
test al, al
je 0x424a08
push 1
push 2
lea ecx, [ebp - 0x368]
call fcn.004030f0
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.00408940
lea ecx, [ebp - 0x2ac]
push 3
mov dword [ebp - 0x2b0], ecx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00409340
push ebx
push ecx
push str.__error:
push ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x2b0]
push edx
push ecx
lea eax, [ebp - 0x368]
push str.HttpOpenRequest_failed:
push eax
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
add esp, 0xc
mov ecx, eax
call fcn.0040d470
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x2ac]
cmp eax, ecx
je 0x424960
push eax
call fcn.004587c5
add esp, 4
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x368]
call fcn.004031f0
push 0x86
push str.SmartDownloadJob.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 0x13
call fcn.0044af10
cmp dword [ebp - 0x210], 0x10
jb 0x4249a8
mov eax, dword [ebp - 0x224]
push eax
call fcn.00458691
add esp, 4
mov edx, dword [ebp - 0x368]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x14
call fcn.00403220
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x368]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x318]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00447a81
add esp, 4
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x424a23
push eax
call fcn.0045d2ed
add esp, 4
mov eax, 5
jmp 0x424f75
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2b8]
push ecx
push edx
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x424b6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x9c40
mov ecx, 0x536e48
mov dword [ebp - 0x2b8], eax
call fcn.0044af00
test al, al
je 0x424b5d
push 1
push 2
lea ecx, [ebp - 0x368]
call fcn.004030f0
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.00408940
lea ecx, [ebp - 0x2ac]
push 3
mov dword [ebp - 0x2b0], ecx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00409340
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2b0]
push edx
push ecx
push str.__error:
push ecx
push eax
push ecx
lea ecx, [ebp - 0x368]
push str.HttpSendRequest_failed:
push ecx
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
add esp, 0xc
mov ecx, eax
call fcn.0040d470
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2ac]
cmp eax, edx
je 0x424b06
push eax
call fcn.004587c5
add esp, 4
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x368]
call fcn.004031f0
push 0x8d
push str.SmartDownloadJob.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 0x17
call fcn.0044af10
cmp dword [ebp - 0x210], 0x10
jb 0x424b4e
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00458691
add esp, 4
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0x10
call fcn.00401b70
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
jmp 0x424a0f
push 0
lea edx, [ebp - 0x2cc]
push edx
lea eax, [ebp - 0x74]
push eax
push 0x13
push ebx
mov dword [ebp - 0x2cc], 0x3c
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp eax, 1
jne 0x424ce3
lea ecx, [ebp - 0x74]
push ecx
call fcn.0045bd34
add esp, 4
cmp eax, 0x194
jne 0x424bd4
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x424bca
push eax
call fcn.0045d2ed
add esp, 4
mov eax, 7
jmp 0x424f75
cmp eax, 0xc8
jne 0x424ce3
push 0
lea edx, [ebp - 0x2cc]
push edx
lea eax, [ebp - 0x74]
push eax
push 5
push ebx
mov dword [ebp - 0x2cc], 0x3c
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp eax, 1
je 0x424d0d
push 0x9c40
mov ecx, 0x536e48
call fcn.0044af00
test al, al
je 0x424ce3
push 1
push 2
lea ecx, [ebp - 0x368]
call fcn.004030f0
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00408940
lea ecx, [ebp - 0x2ac]
push 3
mov dword [ebp - 0x2b0], ecx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00409340
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x2b0]
push edx
push ecx
lea eax, [ebp - 0x368]
push str.HttpQueryInfoA_for_contenet_length_failed:
push eax
call fcn.00404c20
add esp, 0xc
push eax
call fcn.00404c20
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x2ac]
add esp, 8
cmp eax, ecx
je 0x424c99
push eax
call fcn.004587c5
add esp, 4
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x368]
call fcn.004031f0
push 0xa8
push str.SmartDownloadJob.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 0x1a
call fcn.0044af10
lea ecx, [ebp - 0x224]
call fcn.00475a20
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0x10
call fcn.00401b70
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x424d03
push eax
call fcn.0045d2ed
add esp, 4
mov eax, 6
jmp 0x424f75
lea eax, [ebp - 0x74]
push eax
call fcn.0045bd3f
add esp, 4
add dword [esi + 0x48], eax
mov dword [ebp - 0x2c4], 0
adc dword [esi + 0x4c], edx
lea esp, [esp]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
lea ecx, [ebp - 0x2c4]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x424da0
mov eax, dword [ebp - 0x2c4]
test eax, eax
je 0x424f4d
mov ecx, dword [esi + 0x40]
mov edx, dword [ebp - 0x2b4]
push eax
push ecx
push edx
call fcn.0045e2c7
add esp, 0xc
cmp eax, dword [ebp - 0x2c4]
jne 0x424e5f
mov edi, dword [ebp - 0x2c0]
call fcn.0040bf70
cmp al, 1
je 0x424f20
cmp dword [ebp - 0x2c4], 0
je 0x424f4d
mov edi, dword [ebp - 0x2bc]
jmp 0x424d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x9c40
mov ecx, 0x536e48
mov esi, eax
call fcn.0044af00
test al, al
je 0x424e35
push 1
push 2
lea ecx, [ebp - 0x368]
call fcn.004030f0
push esi
push ecx
lea eax, [ebp - 0x368]
push str.SmartDownload::doPostDownload_failed_with:
push eax
mov byte [ebp - 4], 0x1b
call fcn.00404c20
add esp, 0xc
mov ecx, eax
call fcn.0040d470
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x368]
call fcn.004031f0
push 0xb5
push str.SmartDownloadJob.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 0x1c
call fcn.0044af10
lea ecx, [ebp - 0x224]
call fcn.00475a20
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0x10
call fcn.00401b70
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x424e55
push eax
call fcn.0045d2ed
add esp, 4
mov eax, 8
jmp 0x424f75
call fcn.0045c584
mov esi, dword [eax]
push 0x9c40
mov ecx, 0x536e48
call fcn.0044af00
test al, al
je 0x424ef3
push 1
push 2
lea ecx, [ebp - 0x368]
call fcn.004030f0
push esi
push ecx
lea edx, [ebp - 0x368]
push str.SmartDownload::doPostDownload_error_while_writing_to_destination_file:
push edx
mov byte [ebp - 4], 0x1d
call fcn.00404c20
add esp, 0xc
mov ecx, eax
call fcn.00414820
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x368]
call fcn.004031f0
push 0xc0
push str.SmartDownloadJob.cpp
push eax
push 0x9c40
mov ecx, 0x536e48
mov byte [ebp - 4], 0x1e
call fcn.0044af10
lea ecx, [ebp - 0x224]
call fcn.00475a20
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0x10
call fcn.00401b70
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov ecx, dword [ebp - 0x2bc]
push ecx
call esi
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x424f19
push eax
call fcn.0045d2ed
add esp, 4
mov eax, 9
jmp 0x424f75
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov edx, dword [ebp - 0x2bc]
push edx
call esi
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x424f46
push eax
call fcn.0045d2ed
add esp, 4
mov eax, 0x11
jmp 0x424f75
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov eax, dword [ebp - 0x2bc]
push eax
call esi
mov eax, dword [ebp - 0x2b4]
cmp eax, 0xffffffff
je 0x424f73
push eax
call fcn.0045d2ed
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004587b6
mov esp, ebp
pop ebp
ret 8