Function at 0x448b90
Capabilities:
Connect to http server
Create http request
Delete file
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d76a6
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x50e018]
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]
xor ebx, ebx
mov edi, edx
xor esi, esi
mov dword [ebp - 0x398], ebx
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x394], ecx
cmp dword [edi + 0x80], esi
je 0x448c37
lea edx, [ebp - 0x388]
push edx
push esi
push 0x26
push esi
mov dword [ebp - 0x388], esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x448c25
mov eax, dword [ebp - 0x388]
push eax
call fcn.004a64f8
add esp, 4
lea ecx, [ebp - 0x388]
push ecx
mov esi, eax
push esi
push 0x26
push ebx
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test esi, esi
jne 0x448c37
mov dword [edi + 0xc], 3
xor eax, eax
jmp 0x4493ec
cmp dword [edi + 0x80], ebx
je 0x448c7d
mov eax, dword [esi + 8]
push 3
push eax
lea eax, [ebp - 0x2cc]
lea edx, [ebp - 0x2c8]
push eax
mov dword [ebp - 0x2cc], edx
call fcn.00449870
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2cc]
mov ebx, 1
mov dword [ebp - 0x398], ebx
mov dword [ebp - 0x390], ecx
jmp 0x448c83
mov dword [ebp - 0x390], ebx
cmp dword [edi + 0x80], 0
je 0x448cb5
mov eax, dword [esi + 4]
push 3
push eax
lea eax, [ebp - 0x384]
lea edx, [ebp - 0x380]
push eax
mov dword [ebp - 0x384], edx
call fcn.00449870
mov eax, dword [ebp - 0x384]
or ebx, 2
jmp 0x448cb7
xor eax, eax
mov edx, dword [edi + 0x80]
mov ecx, dword [ebp - 0x390]
push 0
neg edx
push ecx
sbb edx, edx
push eax
and edx, 3
push edx
push str.Mozilla_5E.0__Windows_NT_5.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_27.0.1453.116_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [edi], eax
test bl, 2
je 0x448cfe
mov eax, dword [ebp - 0x384]
lea ecx, [ebp - 0x380]
and ebx, 0xfffffffd
cmp eax, ecx
je 0x448cfe
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x448d24
mov eax, dword [ebp - 0x2cc]
lea edx, [ebp - 0x2c8]
cmp eax, edx
je 0x448d24
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp dword [edi + 0x80], 0
je 0x448d3b
test esi, esi
je 0x448d3b
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp dword [edi], 0
jne 0x448d4e
mov dword [edi + 0xc], 2
xor eax, eax
jmp 0x4493ec
mov bl, byte [0x5130bf]
lea eax, [ebp - 0x300]
push eax
call fcn.00404920
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x300]
mov ecx, dword [ecx + 4]
push 0
push 0
lea ecx, [ebp + ecx - 0x300]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov esi, 3
mov byte [ebp - 0x257], bl
mov dword [ebp - 0x250], esi
mov byte [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
lea edx, [ebp - 0x2f0]
push str._if_Http_Download_Mgr__server:
push edx
mov dword [ebp - 4], 2
call fcn.00405c70
mov eax, dword [ebp - 0x38c]
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x448dcc
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00405c70
add esp, 8
lea ecx, [ebp - 0x300]
mov dword [ebp - 4], 0xffffffff
call fcn.00458570
mov bl, byte [0x5130bf]
lea ecx, [ebp - 0x300]
push ecx
call fcn.00404920
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x300]
mov ecx, dword [edx + 4]
push 0
push 0
lea ecx, [ebp + ecx - 0x300]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x257], bl
mov dword [ebp - 0x250], esi
mov byte [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
lea eax, [ebp - 0x2f0]
push str._if_port:
push eax
mov dword [ebp - 4], 4
call fcn.00405c70
mov ecx, dword [ebp + 0x10]
add esp, 8
push ecx
lea ecx, [ebp - 0x2f0]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [ebp - 0x300]
mov dword [ebp - 4], 0xffffffff
call fcn.00458570
mov bl, byte [0x5130bf]
lea edx, [ebp - 0x300]
push edx
call fcn.00404920
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
push 0
push 0
lea ecx, [ebp + ecx - 0x300]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x257], bl
mov dword [ebp - 0x250], esi
mov byte [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x2f0]
push str._if_protocol:
push ecx
mov dword [ebp - 4], 6
call fcn.00405c70
mov esi, dword [ebp + 0xc]
add esp, 8
push esi
lea ecx, [ebp - 0x2f0]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [ebp - 0x300]
mov dword [ebp - 4], 0xffffffff
call fcn.00458570
mov bl, byte [0x5130bf]
lea edx, [ebp - 0x300]
push edx
call fcn.00404920
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
push 0
push 0
lea ecx, [ebp + ecx - 0x300]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x257], bl
mov dword [ebp - 0x250], 3
mov byte [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x2f0]
push str._if_strObject:
push ecx
mov dword [ebp - 4], 8
call fcn.00405c70
mov ebx, dword [ebp - 0x394]
add esp, 8
cmp dword [ebx + 0x14], 0x10
jb 0x448f83
mov eax, dword [ebx]
jmp 0x448f85
mov eax, ebx
push eax
lea edx, [ebp - 0x2f0]
push edx
call fcn.00405c70
add esp, 8
lea ecx, [ebp - 0x300]
mov dword [ebp - 4], 0xffffffff
call fcn.00458570
mov eax, dword [ebp - 0x38c]
cmp dword [eax + 0x14], 0x10
jb 0x448fb5
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov edx, dword [edi]
push edi
push 0
push 3
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [edi + 4], eax
test eax, eax
jne 0x448fdf
mov dword [edi + 0xc], 6
jmp 0x4493ec
sub esi, 0x100b
neg esi
sbb esi, esi
and esi, 0x7f800000
lea ecx, [esi + 0x4800000]
mov esi, 0x10
cmp dword [ebx + 0x14], esi
jb 0x449001
mov ebx, dword [ebx]
push edi
push ecx
push 0
push 0
push 0
push ebx
push 0x4e4ecc
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [edi + 8], eax
test eax, eax
jne 0x449038
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x449038
mov dword [edi + 0xc], 5
xor eax, eax
jmp 0x4493ec
cmp dword [edi + 0x80], 0
je 0x449097
mov ecx, dword [edi + 0x58]
cmp dword [edi + 0x5c], esi
lea eax, [edi + 0x48]
jb 0x44904e
mov eax, dword [eax]
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
inc ecx
push ecx
push eax
mov eax, dword [edi + 8]
push 0x2b
push eax
call ebx
test eax, eax
jne 0x44906f
mov dword [edi + 0xc], 7
jmp 0x4493ec
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], esi
lea eax, [edi + 0x64]
jb 0x44907c
mov eax, dword [eax]
inc ecx
push ecx
mov ecx, dword [edi + 8]
push eax
push 0x2c
push ecx
call ebx
test eax, eax
jne 0x449097
mov dword [edi + 0xc], 8
jmp 0x4493ec
push str..tmp
lea edx, [edi + 0x10]
push edx
lea eax, [ebp - 0x22c]
push eax
call fcn.00449940
add esp, 0xc
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x22c]
cmp dword [ebp - 0x218], esi
jae 0x4490ca
lea eax, [ebp - 0x22c]
push 0
push eax
call dword [sym.imp.MSVCR100.dll__access]
add esp, 8
test eax, eax
jne 0x44914c
cmp dword [edi + 0x84], eax
je 0x44914c
sub esp, 0x1c
lea edx, [ebp - 0x22c]
mov ecx, esp
mov dword [ebp - 0x394], esp
push edx
call fcn.00402a60
call fcn.00449530
mov esi, eax
test esi, esi
je 0x44916d
push 0x1ff
lea eax, [ebp - 0x20f]
push 0
push eax
mov byte [ebp - 0x210], 0
call sub.MSVCR100.dll_memset
push esi
push str.Range:bytes_d__r_n
lea edx, [ebp - 0x210]
call fcn.00435cc0
mov edx, dword [edi + 8]
add esp, 0x14
push 0xa0000000
push 0xffffffffffffffff
lea ecx, [ebp - 0x210]
push ecx
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
jmp 0x44916d
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x218], esi
jae 0x44916a
lea eax, [ebp - 0x22c]
mov byte [eax], 0
mov eax, dword [edi + 8]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4492be
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3e5
je 0x4492be
call esi
mov ebx, eax
lea eax, [ebx - 0x2ee2]
cmp eax, 0x2a
ja case.0x4491b4.12003
movzx ecx, byte [eax + 0x44942c]
jmp dword [ecx*4 + 0x44940c]
lea ecx, [ebp - 0x22c]
mov dword [edi + 0xc], 0x25b
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
lea ecx, [ebp - 0x22c]
mov dword [edi + 0xc], 0x265
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
lea ecx, [ebp - 0x22c]
mov dword [edi + 0xc], 0x25c
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
lea ecx, [ebp - 0x22c]
mov dword [edi + 0xc], 0x261
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
lea ecx, [ebp - 0x22c]
mov dword [edi + 0xc], 0x262
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
lea ecx, [ebp - 0x22c]
mov dword [edi + 0xc], 0x25f
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
lea ecx, [ebp - 0x22c]
mov dword [edi + 0xc], 0x25e
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
push 0
push 0
push 0
lea edx, [ebp - 0x300]
push edx
call fcn.00405200
mov ecx, str.Http_Download_Mgr__system_error_code:
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.00405280
push ebx
lea ecx, [eax + 0x10]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 9
call fcn.00458570
lea ecx, [ebp - 0x22c]
mov dword [edi + 0xc], 9
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
lea esi, [ebp - 0x248]
call fcn.00449470
mov bl, 0xb
push 0
mov byte [ebp - 4], bl
movzx eax, byte [0x5130bf]
push 3
push eax
lea ecx, [ebp - 0x450]
push ecx
call fcn.00405200
mov ecx, str._if_Http_Download_Mgr__http_response_code:
mov esi, eax
mov byte [ebp - 4], 0xc
call fcn.00405280
mov esi, eax
lea eax, [ebp - 0x248]
call fcn.004052b0
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], bl
call fcn.00458570
mov esi, dword [ebp - 0x238]
mov eax, esi
cmp esi, 3
jb 0x449323
mov eax, 3
mov ecx, dword [ebp - 0x248]
mov ebx, 0x10
cmp dword [ebp - 0x234], ebx
jae 0x44933c
lea ecx, [ebp - 0x248]
push eax
push 0x4ec9ec
push ecx
call fcn.00404530
add esp, 0xc
test eax, eax
jne 0x44935e
cmp esi, 3
jb 0x44935e
cmp esi, 3
setne al
test eax, eax
je 0x4493d1
push 0x4ec9f0
lea ecx, [ebp - 0x248]
call fcn.00414560
test eax, eax
je 0x4493d1
cmp dword [ebp - 0x21c], 0
jbe 0x449396
mov eax, dword [ebp - 0x22c]
cmp dword [ebp - 0x218], ebx
jae 0x44938f
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x248]
cmp dword [ebp - 0x234], ebx
jae 0x4493aa
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
lea ecx, [ebp - 0x248]
mov dword [edi + 0xc], eax
call fcn.004054e0
lea ecx, [ebp - 0x22c]
call fcn.004054e0
xor eax, eax
jmp 0x4493ec
lea ecx, [ebp - 0x248]
call fcn.004054e0
lea ecx, [ebp - 0x22c]
call fcn.004054e0
mov eax, 1
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.004a665a
mov esp, ebp
pop ebp
ret 0xc