Function at 0x448b40
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x2804]
mov eax, 0x2804
call fcn.00435870
push 0xffffffffffffffff
push 0x4af7c2
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4e8008]
xor eax, ebp
mov dword [ebp + 0x2800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 4], 1
lea eax, [edi + 0x28]
push eax
mov edx, 0x4bcb40
mov dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040fc64
mov byte [ebp - 4], 2
lea eax, [ebp]
push 0x1000
push ebx
push eax
mov dword [ebp - 0x6c], 0x4bcb9c
mov dword [ebp - 0x68], ebx
call fcn.00415710
mov eax, dword [0x4e8960]
add esp, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x74]
xorps xmm0, xmm0
mov ecx, edi
push eax
movlpd qword [ebp - 0x74], xmm0
call fcn.004480b0
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
test eax, eax
jne 0x448c16
push 0x4bcba8
call fcn.00402ae6
mov byte [ebp - 4], 4
jmp 0x4492ab
push 0x4bcbf8
call fcn.00402ae6
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
push ebx
push ebx
push ebx
push ebx
push 0x4bcc34
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x448c64
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4bcc48
call fcn.00402ae6
mov byte [ebp - 4], 6
jmp 0x4492ab
push ecx
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp + 0x2400]
push eax
push ecx
lea eax, [ebp + 0x2000]
push eax
push dword [edi]
call fcn.00447ad0
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4bcc88
call fcn.00402ae6
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x2c]
lea eax, [ebp + 0x2400]
push eax
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x448cec
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4bccb4
call fcn.00402ae6
mov byte [ebp - 4], 8
jmp 0x4492ab
push 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
push ecx
push 6
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [edi + 0x14]
call fcn.00437ae6
test al, al
jne 0x4492b6
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4bccec
call fcn.00402ae6
mov byte [ebp - 4], 9
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
cmp dword [ebp - 0x2c], 0x1bb
mov eax, 0x4a00000
mov edx, 0x4200000
mov dword [ebp - 0x3c], ebx
cmove edx, eax
mov ecx, ebx
mov dword [ebp - 0x1c], edx
mov eax, ebx
test ecx, ecx
je 0x448d5d
test eax, eax
je 0x449215
push ebx
push edx
lea eax, [ebp - 0x6c]
inc ecx
push eax
push ebx
push ebx
lea eax, [ebp + 0x1000]
mov dword [ebp - 0x64], ecx
push eax
push 0x4bcd1c
push dword [ebp - 0x40]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x449291
lea eax, [ebp - 0x50]
mov dword [ebp - 0x28], ebx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x28], 0x3280
lea eax, [ebp - 0x28]
push 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x48]
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov dword [ebp - 0xa0], eax
mov ecx, esp
mov dword [ebp - 0xa8], 0x28
mov dword [ebp - 0xa4], ebx
mov eax, dword [eax - 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], esp
push 0x4bcd60
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ebx
call fcn.00402ae6
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0xa8]
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x449275
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x448e8f
push ecx
add eax, 0x10
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0xd
push esi
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00448820
test eax, eax
je 0x4492b6
lea ecx, [ebp - 0x14]
call fcn.00401159
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 4]
jne 0x448e58
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x448ed2
push ecx
add eax, 0x10
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0xe
push esi
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00448440
test eax, eax
je 0x4492b6
lea ecx, [ebp - 0x14]
call fcn.00401159
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0xc]
jne 0x448e9b
push esi
mov ecx, edi
call fcn.004483a0
test eax, eax
je 0x4492b6
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4bcdcc
call fcn.00402ae6
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
mov esi, dword [ebp - 0x20]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x14], ecx
push 1
push ebx
push ecx
mov dword [ebp - 0x10], esp
mov ecx, esp
test eax, eax
je 0x44925e
push 0x4bce34
call fcn.00402ae6
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
call fcn.00437bfa
push ebx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x30], ebx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x54], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x448fa6
push dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push 0x4bce6c
push eax
call fcn.0040240b
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x18]
add esp, 0xc
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push eax
push 0xfff
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [ebp - 0x34]
cmp esi, 0x1000
jae 0x44935c
mov eax, dword [0x4e8960]
mov byte [ebp + esi], bl
mov dword [ebp - 0x24], eax
test esi, esi
je 0x44900b
push esi
lea ecx, [ebp - 0x24]
call fcn.0040186f
test eax, eax
je 0x44900b
lea eax, [esi + 1]
push eax
push dword [ebp - 0x24]
lea eax, [ebp]
push esi
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
or ecx, 0xffffffff
test eax, eax
cmovns ecx, eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00402b92
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402d8e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004019df
lea eax, [ebp - 0x18]
mov edx, 0x4bcea0
push eax
lea ecx, [ebp - 0x58]
call fcn.0040fc64
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x18]
push eax
call fcn.00402d8e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004019df
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x18]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
cmp dword [ebp - 0x34], 0
jbe 0x44908a
mov al, byte [ebp]
cmp al, 0x30
jb 0x44908a
cmp al, 0x39
jbe 0x449179
cmp dword [ebp - 0x14], 0
je 0x449242
cmp dword [ebp - 0x30], 0x12e
jne 0x44920c
cmp dword [ebp - 0x3c], 0
jne 0x4491ed
xor eax, eax
mov esi, 0x800
inc eax
push esi
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x1800]
push ebx
push eax
call fcn.00415710
add esp, 0xc
mov dword [ebp - 0x60], esi
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1800]
push eax
push 0x21
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4491ce
push ecx
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp + 0x2400]
push eax
push ecx
lea eax, [ebp + 0x2000]
push eax
lea eax, [ebp + 0x1800]
push eax
call fcn.00447ad0
mov eax, dword [0x4e8960]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x1800]
push eax
lea eax, [ebp - 0x38]
push str.Redirecting_to__s
push eax
call fcn.0040240b
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x38]
add esp, 0xc
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1a
mov ecx, esi
call fcn.00437bfa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004019df
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
jmp 0x448d51
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4bced0
call fcn.00402ae6
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
lea eax, [ebp]
push eax
call fcn.00419007
pop ecx
cmp eax, 0xc8
je 0x449215
mov esi, dword [edi + 0x14]
push ebx
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Failed__HTTP_response_body_doesnt_start_with_code_200_.
call fcn.00402ae6
mov byte [ebp - 4], 0x17
jmp 0x4492ab
mov esi, dword [edi + 0x14]
push ebx
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Failed_to_redirect.
call fcn.00402ae6
mov byte [ebp - 4], 0x19
jmp 0x4492ab
mov esi, dword [edi + 0x14]
push ebx
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Multiple_redirects_are_not_allowed.
call fcn.00402ae6
mov byte [ebp - 4], 0x18
jmp 0x4492ab
cmp dword [ebp - 0x30], 0xc8
jne 0x449242
mov esi, dword [edi + 0x14]
push ebx
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Error_report_has_been_sent_OK_
call fcn.00402ae6
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
xor ebx, ebx
inc ebx
jmp 0x4492db
mov esi, dword [edi + 0x14]
push ebx
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Failed__HTTP_response_code_is_not_equal_to_200_.
call fcn.00402ae6
mov byte [ebp - 4], 0x1c
jmp 0x4492ab
push 0x4bcdfc
call fcn.00402ae6
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
jmp 0x4492b1
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4bcd90
call fcn.00402ae6
mov byte [ebp - 4], 0xc
jmp 0x4492ab
mov esi, dword [edi + 0x14]
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4bcd28
call fcn.00402ae6
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
mov esi, dword [edi + 0x14]
push ebx
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Error_sending_HTTP_request.
call fcn.00402ae6
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4492e9
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4492f7
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x449305
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [edi + 0x14]
mov eax, ebx
xor eax, 1
push eax
call fcn.00437b6e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004019df
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00401a38
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2800]
xor ecx, ebp
call fcn.00413912
add ebp, 0x2804
leave
ret
call fcn.00413abb
int3