Function at 0x40b572
Capabilities:
Reference http user-agent string

Disassembly:
push 0x870
push 0x486518
call fcn.0043f610
mov eax, dword [ebp + 8]
mov dword [ebp - 0x860], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x864], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x86c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x878], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x874], eax
push 5
pop ecx
mov esi, str.proxy.apgnapa.com:80
lea edi, [ebp - 0x138]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x400
xor ebx, ebx
push ebx
lea eax, [ebp - 0x63c]
push eax
call fcn.00440bf0
mov edi, 0x104
push edi
push ebx
lea eax, [ebp - 0x23c]
push eax
call fcn.00440bf0
push edi
push ebx
lea eax, [ebp - 0x740]
push eax
call fcn.00440bf0
push edi
push ebx
lea eax, [ebp - 0x120]
push eax
call fcn.00440bf0
mov dword [ebp - 0x868], ebx
mov dword [ebp - 0x858], ebx
push dword [ebp - 0x854]
call fcn.0042dd5b
add esp, 0x34
test eax, eax
je 0x40b641
push str.:7:PutFileHTTP___FAILED:_No_URL_address_was_provided.
call fcn.0040d324
pop ecx
xor eax, eax
jmp 0x40c8f5
mov esi, dword [ebp - 0x864]
push esi
call fcn.0044a680
pop ecx
cmp eax, 0x400
jb 0x40b66d
push esi
push esi
call fcn.0044a680
pop ecx
push eax
push str.:8:PutFileHTTP___FAILED:_The_provided_URL_is_too_long_at__d_bytes:__s
call fcn.0040d324
add esp, 0xc
jmp 0x40b63a
push edi
push dword [ebp - 0x860]
lea eax, [ebp - 0x23c]
push eax
call fcn.0042f204
lea eax, [ebp - 0x23c]
push eax
call fcn.0042e4f7
push dword [ebp - 0x860]
call fcn.0042dd5b
add esp, 0x14
test eax, eax
jne 0x40b6c7
lea eax, [ebp - 0x23c]
push eax
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x40b6c7
push edi
push dword [ebp - 0x860]
lea eax, [ebp - 0x23c]
push eax
call fcn.0042f204
add esp, 0xc
jmp 0x40b719
push edi
push esi
lea eax, [ebp - 0x23c]
push eax
call fcn.0042f204
lea eax, [ebp - 0x23c]
push eax
call fcn.0042e4f7
lea eax, [ebp - 0x23c]
push eax
call fcn.0042dd5b
add esp, 0x14
test eax, eax
je 0x40b705
push esi
push dword [ebp - 0x860]
push str.:7:PutFileHTTP___s_____s___FAILED:_No_file_name_was_provided.
jmp 0x40b663
push dword [ebp - 0x860]
lea eax, [ebp - 0x23c]
push eax
call fcn.0042dfe8
pop ecx
pop ecx
lea eax, [ebp - 0x23c]
push eax
call fcn.0042dd5b
pop ecx
test eax, eax
je 0x40b734
push str.:7:PutFileHTTP___FAILED:_No_file_name_was_provided.
jmp 0x40b634
mov esi, 0x400
push esi
push dword [ebp - 0x864]
lea eax, [ebp - 0x63c]
push eax
call fcn.0042f204
lea eax, [ebp - 0x63c]
push eax
call fcn.0042e5c3
lea eax, [ebp - 0x63c]
push eax
call fcn.0044a680
add esp, 0x14
mov al, byte [ebp + eax - 0x63d]
cmp al, 0x5c
je 0x40b776
cmp al, 0x2f
jne 0x40b7af
lea eax, [ebp - 0x23c]
push eax
call fcn.0044a680
mov ecx, esi
sub ecx, eax
push ecx
push dword [ebp - 0x864]
lea eax, [ebp - 0x63c]
push eax
call fcn.0042f204
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x63c]
push eax
call fcn.0042ca86
add esp, 0x18
push ebx
push ebx
lea eax, [ebp - 0x23c]
push eax
call fcn.00410d3c
add esp, 0xc
mov dword [ebp - 0x850], eax
test eax, eax
lea eax, [ebp - 0x23c]
jne 0x40b7f5
push eax
call fcn.0041007a
pop ecx
test eax, eax
lea eax, [ebp - 0x23c]
push eax
jne 0x40b7ee
push str.:4:PutFileHTTP___FAILED:_The_local_file___s__does_not_exist_
call fcn.0040d7f3
jmp 0x40b829
push str.:7:PutFileHTTP___FAILED:_The_size_of_the_local_file___s__is_zero_
jmp 0x40b824
push 0x5d0
mov edi, str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateCURL.c
push edi
push 0x4634fc
push eax
call fcn.00412892
add esp, 0x10
mov dword [ebp - 0x84c], eax
test eax, eax
jne 0x40b82f
lea eax, [ebp - 0x23c]
push eax
push str.:5:PutFileHTTP___FAILED:_Could_not_fopen_the_local_file___s_
call fcn.0040d324
pop ecx
jmp 0x40b639
push edi
push 0x5d7
push esi
call fcn.0041940b
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x848], esi
test esi, esi
jne 0x40b861
push str.:5:PutFileHTTP___FAILED:_CreateMessage___FAILED.
call fcn.0040d324
push dword [ebp - 0x84c]
call fcn.00412707
jmp 0x40b829
push 3
call fcn.0040cc0c
pop ecx
test eax, eax
je 0x40b88d
push str.:7:PutFileHTTP___encountered_a_problem:_curl_global_init___FAILED_
call fcn.0040d324
push dword [ebp - 0x84c]
call fcn.00412707
push esi
call fcn.004195d6
jmp 0x40b668
mov ecx, fcn.00405823
mov eax, dword [0x49e424]
test eax, eax
cmovne ecx, eax
call ecx
mov edi, eax
mov dword [ebp - 0x85c], edi
test edi, edi
jne 0x40b8d2
push str.:7:PutFileHTTP___FAILED:_curl_easy_init___FAILED.
call fcn.0040d324
push dword [ebp - 0x84c]
call fcn.00412707
push esi
call fcn.004195d6
add esp, 0xc
call fcn.0040cb3d
jmp 0x40b63a
push dword [ebp - 0x86c]
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x40b934
push dword [ebp - 0x870]
call fcn.0042dd5b
pop ecx
test eax, eax
lea eax, [ebp - 0x740]
jne 0x40b919
push dword [ebp - 0x870]
push dword [ebp - 0x86c]
push str._s:_s
push 0x104
push eax
call fcn.0042ef5e
add esp, 0x14
jmp 0x40b941
push dword [ebp - 0x86c]
push 0x4671c8
push 0x104
push eax
call fcn.0042ef5e
add esp, 0x10
jmp 0x40b941
lea eax, [ebp - 0x740]
push eax
call fcn.0042d261
pop ecx
lea eax, [ebp - 0x740]
push eax
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x40b989
lea eax, [ebp - 0x740]
push eax
push 0x2715
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 0xffffffffffffffee
push 0x6b
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
add esp, 0x18
mov eax, 0x40ca4f
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0__chromeframe_12.0.742.112_
push 0x2722
push edi
mov ecx, eax
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
mov eax, dword [ebp - 0x878]
mov dword [ebp - 0x880], eax
mov eax, dword [ebp - 0x874]
mov dword [ebp - 0x87c], eax
push ebx
push 0x2b
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 0x408a1c
push 0x4e58
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
lea eax, [ebp - 0x880]
push eax
push 0x2749
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 0x465c7b
push 0x272f
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 1
push 0x34
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
add esp, 0x48
push 1
push 0x3a
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 0xa
push 0x44
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 0x50
push 0x3b
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push ebx
push 0x65
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 1
push 0x4a
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 1
push 0x4b
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
add esp, 0x48
push ebx
lea eax, [ebp - 0x63c]
push eax
push edi
call fcn.00408a7c
mov dword [ebp - 0x854], eax
push 0x104
lea eax, [ebp - 0x120]
push eax
call fcn.00408d79
add esp, 0x14
test eax, eax
jne 0x40bb22
lea eax, [ebp - 0x120]
push eax
push 0x2714
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
add esp, 0xc
mov dword [ebp - 0x868], 1
jmp 0x40bb69
cmp dword [0x49e420], ebx
je 0x40bb63
push 0x104
push str.10.26.98.97:80
lea eax, [ebp - 0x120]
push eax
call fcn.0042f204
lea eax, [ebp - 0x120]
push eax
push 0x2714
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
add esp, 0x18
jmp 0x40bb69
mov dword [ebp - 0x868], ebx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x40bbc0
cmp eax, 0x2710
jae 0x40bb8b
push eax
push str.:6:PutFileHTTP___encountered_a_problem:_The_given_timeout___ld__is_unreasonable_
call fcn.0040d7f3
pop ecx
pop ecx
mov dword [ebp + 0x18], 0x2710
push dword [ebp + 0x18]
push 0x9b
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
add esp, 0xc
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x927c0
ja 0x40bc1d
mov eax, 0x1d4c0
cmp ecx, eax
cmovb eax, ecx
push eax
jmp 0x40bc22
mov eax, dword [ebp - 0x850]
cmp eax, 0x19000000
jbe 0x40bbd4
push 0x1b77400
jmp 0x40bc03
cmp eax, 0x12c00000
jbe 0x40bbe2
push 0x1499700
jmp 0x40bc03
cmp eax, 0xc800000
jbe 0x40bbf0
push 0x112a880
jmp 0x40bc03
cmp eax, 0x6400000
jbe 0x40bbfe
push 0xdbba00
jmp 0x40bc03
push 0xa4cb80
mov eax, dword [0x49e428]
push 0x9b
mov ecx, 0x40ca4f
test eax, eax
push edi
cmovne ecx, eax
call ecx
add esp, 0xc
push 0x2bf20
mov eax, dword [0x49e428]
push 0x9c
mov ecx, 0x40ca4f
test eax, eax
push edi
cmovne ecx, eax
call ecx
add esp, 0xc
push dword [ebp - 0x850]
push 0xe
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 1
push 0x2e
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push dword [ebp - 0x84c]
push 0x2719
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 0x40cacd
push 0x4e2c
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push esi
push 0x2711
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 0x40cb05
push 0x4e2b
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
add esp, 0x48
push 1
push 0x2d
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push 0x49e220
push 0x271a
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push esi
call fcn.00419746
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e42c]
test eax, eax
cmovne ecx, eax
call ecx
lea ecx, [ebp - 0x858]
push ecx
push eax
push edi
call fcn.00409496
add esp, 0x2c
mov esi, eax
cmp dword [ebp - 0x858], ebx
je 0x40bdac
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x848]
call fcn.00419746
pop ecx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40bd87
mov ecx, 0x40ca4f
push edi
mov eax, dword [0x49e42c]
test eax, eax
cmovne ecx, eax
call ecx
lea ecx, [ebp - 0x858]
push ecx
push eax
push edi
call fcn.00409496
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x40be04
push edi
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [ebp - 0x848]
call fcn.00409506
add esp, 0x14
test eax, eax
push 5
pop eax
cmovne esi, eax
test esi, esi
jne 0x40be04
push dword [ebp - 0x84c]
call fcn.0044549a
pop ecx
test eax, eax
jg 0x40be04
push 0x37
pop esi
push 0x200
push str.SEND_ERROR:_Proxy_connect_FAILED_but_returned_success.__KB
push 0x49e220
call fcn.0042f204
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x40bec6
test esi, esi
jne 0x40bece
mov dword [ebp - 0x850], ebx
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x848]
call fcn.004093e5
add esp, 0xc
test eax, eax
jne 0x40bec6
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x693
push str.:3:PFV__d_:_s_did_not_receive_a_checksum:__s
call fcn.0040d7f3
add esp, 0x10
cmp dword [ebp - 0x850], esi
je 0x40bec6
push 0x44
pop esi
push 0x693
push str.PutFileHTTP__:_The_CheckSum_failed.__KB_d:
push 0x200
push 0x49e220
call fcn.0042ef5e
push ebx
push ebx
push dword [ebp - 0x848]
call fcn.00419a0b
add esp, 0x1c
push dword [ebp - 0x848]
push 0x49e220
call fcn.0044a680
pop ecx
mov ecx, 0x200
sub ecx, eax
push ecx
push 0x49e220
call fcn.0044a680
pop ecx
add eax, 0x49e220
push eax
call fcn.00419789
add esp, 0xc
test esi, esi
je 0x40c863
cmp dword [0x49e420], 0
jne 0x40c863
cmp dword [ebp - 0x858], 0
jne 0x40c863
push 0x101
push ebx
lea eax, [ebp - 0x844]
push eax
call fcn.00440bf0
mov dword [ebp - 0x874], esi
push 0x101
push 0x49e220
lea eax, [ebp - 0x844]
push eax
call fcn.0042f204
add esp, 0x18
cmp dword [ebp - 0x868], 0
je 0x40c0ff
mov dword [ebp - 0x868], ebx
lea eax, [ebp - 0x120]
push eax
call fcn.0042d261
pop ecx
cmp dword [ebp - 0x854], 0
je 0x40bf5a
push ebx
push 0x3d
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0x2714
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push dword [ebp - 0x84c]
call fcn.0044b860
push dword [ebp - 0x848]
call fcn.00419746
add esp, 0x14
mov dword [ebp - 4], 1
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40bfc4
mov eax, 0x40ca4f
push edi
mov ecx, eax
mov eax, dword [0x49e42c]
test eax, eax
cmovne ecx, eax
call ecx
push ebx
push eax
push edi
call fcn.00409496
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x40c03d
push edi
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [ebp - 0x848]
call fcn.00409506
add esp, 0x14
test eax, eax
push 5
pop eax
cmovne esi, eax
test esi, esi
jne 0x40c03d
push dword [ebp - 0x84c]
call fcn.0044549a
pop ecx
test eax, eax
jg 0x40c03d
push 0x37
pop esi
push 0x200
push str.SEND_ERROR:_Proxy_connect_FAILED_but_returned_success.__KB2
push 0x49e220
call fcn.0042f204
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x40c0ff
test esi, esi
jne 0x40c0ff
mov dword [ebp - 0x850], ebx
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x848]
call fcn.004093e5
add esp, 0xc
test eax, eax
jne 0x40c0ff
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x6b7
push str.:3:PFV__d_:_s_did_not_receive_a_checksum:__s
call fcn.0040d7f3
add esp, 0x10
cmp dword [ebp - 0x850], esi
je 0x40c0ff
push 0x44
pop esi
push 0x6b7
push str.PutFileHTTP__:_The_CheckSum_failed.__KB_d:
push 0x200
push 0x49e220
call fcn.0042ef5e
push ebx
push ebx
push dword [ebp - 0x848]
call fcn.00419a0b
add esp, 0x1c
push dword [ebp - 0x848]
push 0x49e220
call fcn.0044a680
pop ecx
mov ecx, 0x200
sub ecx, eax
push ecx
push 0x49e220
call fcn.0044a680
pop ecx
add eax, 0x49e220
push eax
call fcn.00419789
add esp, 0xc
call fcn.0044a329
not eax
and eax, 1
mov dword [ebp - 0x858], eax
jne 0x40c2ea
mov dword [ebp - 0x858], ebx
test esi, esi
je 0x40c4ad
push dword [ebp - 0x854]
push 0x104
lea eax, [ebp - 0x120]
push eax
call fcn.00408f16
add esp, 0xc
test eax, eax
je 0x40c2ea
lea eax, [ebp - 0x120]
push eax
push 0x2714
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push dword [ebp - 0x84c]
call fcn.0044b860
push dword [ebp - 0x848]
call fcn.00419746
add esp, 0x14
mov dword [ebp - 4], 2
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40c1af
mov eax, 0x40ca4f
push edi
mov ecx, eax
mov eax, dword [0x49e42c]
test eax, eax
cmovne ecx, eax
call ecx
push ebx
push eax
push edi
call fcn.00409496
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x40c228
push edi
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [ebp - 0x848]
call fcn.00409506
add esp, 0x14
test eax, eax
push 5
pop eax
cmovne esi, eax
test esi, esi
jne 0x40c228
push dword [ebp - 0x84c]
call fcn.0044549a
pop ecx
test eax, eax
jg 0x40c228
push 0x37
pop esi
push 0x200
push str.SEND_ERROR:_Proxy_connect_FAILED_but_returned_success.__KB3
push 0x49e220
call fcn.0042f204
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x40c2ea
test esi, esi
jne 0x40c2f2
mov dword [ebp - 0x850], ebx
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x848]
call fcn.004093e5
add esp, 0xc
test eax, eax
jne 0x40c2ea
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x6da
push str.:3:PFV__d_:_s_did_not_receive_a_checksum:__s
call fcn.0040d7f3
add esp, 0x10
cmp dword [ebp - 0x850], esi
je 0x40c2ea
push 0x44
pop esi
push 0x6da
push str.PutFileHTTP__:_The_CheckSum_failed.__KB_d:
push 0x200
push 0x49e220
call fcn.0042ef5e
push ebx
push ebx
push dword [ebp - 0x848]
call fcn.00419a0b
add esp, 0x1c
push dword [ebp - 0x848]
push 0x49e220
call fcn.0044a680
pop ecx
mov ecx, 0x200
sub ecx, eax
push ecx
push 0x49e220
call fcn.0044a680
pop ecx
add eax, 0x49e220
push eax
call fcn.00419789
add esp, 0xc
test esi, esi
je 0x40c4ad
push 0x104
push str.10.26.98.97:80
lea eax, [ebp - 0x120]
push eax
call fcn.0042f204
lea eax, [ebp - 0x120]
push eax
push 0x2714
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push dword [ebp - 0x84c]
call fcn.0044b860
push dword [ebp - 0x848]
call fcn.00419746
add esp, 0x20
mov dword [ebp - 4], 3
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40c372
mov eax, 0x40ca4f
push edi
mov ecx, eax
mov eax, dword [0x49e42c]
test eax, eax
cmovne ecx, eax
call ecx
push ebx
push eax
push edi
call fcn.00409496
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x40c3eb
push edi
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [ebp - 0x848]
call fcn.00409506
add esp, 0x14
test eax, eax
push 5
pop eax
cmovne esi, eax
test esi, esi
jne 0x40c3eb
push dword [ebp - 0x84c]
call fcn.0044549a
pop ecx
test eax, eax
jg 0x40c3eb
push 0x37
pop esi
push 0x200
push str.SEND_ERROR:_Proxy_connect_FAILED_but_returned_success.__KB4
push 0x49e220
call fcn.0042f204
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x40c4ad
test esi, esi
jne 0x40c4ad
mov dword [ebp - 0x850], ebx
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x848]
call fcn.004093e5
add esp, 0xc
test eax, eax
jne 0x40c4ad
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x6f5
push str.:3:PFV__d_:_s_did_not_receive_a_checksum:__s
call fcn.0040d7f3
add esp, 0x10
cmp dword [ebp - 0x850], esi
je 0x40c4ad
push 0x44
pop esi
push 0x6f5
push str.PutFileHTTP__:_The_CheckSum_failed.__KB_d:
push 0x200
push 0x49e220
call fcn.0042ef5e
push ebx
push ebx
push dword [ebp - 0x848]
call fcn.00419a0b
add esp, 0x1c
push dword [ebp - 0x848]
push 0x49e220
call fcn.0044a680
pop ecx
mov ecx, 0x200
sub ecx, eax
push ecx
push 0x49e220
call fcn.0044a680
pop ecx
add eax, 0x49e220
push eax
call fcn.00419789
add esp, 0xc
cmp dword [ebp - 0x858], 0
jne 0x40c115
test esi, esi
je 0x40c863
push 0x104
push str.10.28.98.5:80
lea eax, [ebp - 0x120]
push eax
call fcn.0042f204
lea eax, [ebp - 0x120]
push eax
push 0x2714
push edi
mov ecx, 0x40ca4f
mov eax, dword [0x49e428]
test eax, eax
cmovne ecx, eax
call ecx
push dword [ebp - 0x84c]
call fcn.0044b860
push dword [ebp - 0x848]
call fcn.00419746
add esp, 0x20
mov dword [ebp - 4], 4
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40c542
mov eax, 0x40ca4f
push edi
mov ecx, eax
mov eax, dword [0x49e42c]
test eax, eax
cmovne ecx, eax
call ecx
push ebx
push eax
push edi
call fcn.00409496
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x40c5bb
push edi
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [ebp - 0x848]
call fcn.00409506
add esp, 0x14
test eax, eax
push 5
pop eax
cmovne esi, eax
test esi, esi
jne 0x40c5bb
push dword [ebp - 0x84c]
call fcn.0044549a
pop ecx
test eax, eax
jg 0x40c5bb
push 0x37
pop esi
push 0x200
push str.SEND_ERROR:_Proxy_connect_FAILED_but_returned_success.__KB5
push 0x49e220
call fcn.0042f204
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x40c67d
test esi, esi
jne 0x40c685
mov dword [ebp - 0x854], ebx
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x848]
call fcn.004093e5
add esp, 0xc
test eax, eax
jne 0x40c67d
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x710
push str.:3:PFV__d_:_s_did_not_receive_a_checksum:__s
call fcn.0040d7f3
add esp, 0x10
cmp dword [ebp - 0x854], esi
je 0x40c67d
push 0x44
pop esi
push 0x710
push str.PutFileHTTP__:_The_CheckSum_failed.__KB_d:
push 0x200
push 0x49e220
call fcn.0042ef5e
push ebx
push ebx
push dword [ebp - 0x848]
call fcn.00419a0b
add esp, 0x1c
push dword [ebp - 0x848]
push 0x49e220
call fcn.0044a680
pop ecx
mov ecx, 0x200
sub ecx, eax
push ecx
push 0x49e220
call fcn.0044a680
pop ecx
add eax, 0x49e220
push eax
call fcn.00419789
add esp, 0xc
test esi, esi
je 0x40c863
push 0x104
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0042f204
lea eax, [ebp - 0x120]
push eax
push 0x2714
push edi
mov eax, dword [0x49e428]
test eax, eax
mov ecx, 0x40ca4f
cmovne ecx, eax
call ecx
push dword [ebp - 0x84c]
call fcn.0044b860
push dword [ebp - 0x848]
call fcn.00419746
add esp, 0x20
mov dword [ebp - 4], 5
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40c707
mov ecx, 0x40ca4f
push edi
mov eax, dword [0x49e42c]
test eax, eax
cmovne ecx, eax
call ecx
push ebx
push eax
push edi
call fcn.00409496
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x40c77e
push edi
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [ebp - 0x848]
call fcn.00409506
add esp, 0x14
test eax, eax
push 5
pop eax
cmovne esi, eax
test esi, esi
jne 0x40c77e
push dword [ebp - 0x84c]
call fcn.0044549a
pop ecx
test eax, eax
jg 0x40c77e
push 0x37
pop esi
push 0x200
push str.SEND_ERROR:_Proxy_connect_FAILED_but_returned_success.__KB5
push 0x49e220
call fcn.0042f204
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x40c840
test esi, esi
jne 0x40c844
mov dword [ebp - 0x854], ebx
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x848]
call fcn.004093e5
add esp, 0xc
test eax, eax
jne 0x40c840
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x729
push str.:3:PFV__d_:_s_did_not_receive_a_checksum:__s
call fcn.0040d7f3
add esp, 0x10
cmp dword [ebp - 0x854], esi
je 0x40c840
push 0x44
pop esi
push 0x729
push str.PutFileHTTP__:_The_CheckSum_failed.__KB_d:
push 0x200
push 0x49e220
call fcn.0042ef5e
push ebx
push ebx
push dword [ebp - 0x848]
call fcn.00419a0b
add esp, 0x1c
push dword [ebp - 0x848]
push 0x49e220
call fcn.0044a680
pop ecx
mov ecx, 0x200
sub ecx, eax
push ecx
push 0x49e220
call fcn.0044a680
pop ecx
add eax, 0x49e220
push eax
call fcn.00419789
add esp, 0xc
test esi, esi
je 0x40c863
mov esi, dword [ebp - 0x874]
push 0x200
lea eax, [ebp - 0x844]
push eax
push 0x49e220
call fcn.0042f204
add esp, 0xc
push edi
mov ecx, fcn.0040ca4c
mov eax, dword [0x49e430]
test eax, eax
cmovne ecx, eax
call ecx
call fcn.0040cb3d
push dword [ebp - 0x84c]
call fcn.00412707
push dword [ebp - 0x848]
call fcn.004195d6
add esp, 0xc
test esi, esi
je 0x40c8dc
mov eax, dword [ebp - 0x878]
test eax, eax
je 0x40c8a9
cmp dword [eax], ebx
jne 0x40b63a
push 0x49e220
push esi
push dword [ebp + 0x18]
push dword [ebp - 0x870]
push dword [ebp - 0x86c]
push dword [ebp - 0x864]
push dword [ebp - 0x860]
push str.:5:PutFileHTTP___s_____s___user:__s___pswrd:__s____ld__FAILED:_curl_easy_perform___FAILED:_Error_d__s
call fcn.0040d7f3
add esp, 0x20
jmp 0x40b63a
cmp dword [ebp - 0x868], 0
jne 0x40c8f2
lea eax, [ebp - 0x120]
push eax
call fcn.0040c905
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret