Function at 0x424c36
Capabilities:
Connect to http server
Create http request
Get http content length

Disassembly:
mov eax, 0x467d40
call fcn.00452544
sub esp, 0x8b4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.fs::OpenInetRequestWithStatusCheck_1544
mov esi, ecx
call fcn.004508dd
pop ecx
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x18], 0x10
mov eax, dword [edi + 0x30]
jb 0x424c72
mov ecx, dword [edi + 4]
jmp 0x424c75
lea ecx, [edi + 4]
push eax
push ecx
push str.fs::OpenInetRequestWithStatusCheck_1544
push str.___s__url_s_len_post__d_
push ebx
call fcn.00441366
add esp, 0x14
push edi
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 1
call fcn.00401540
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
mov dword [edi + 0xdc], ebx
call fcn.00421748
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x424cba
mov eax, dword [eax + 4]
jmp 0x424cbd
add eax, 4
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push 1
lea ecx, [ebp - 0x34]
mov dword [esi], eax
call fcn.0041b05c
mov eax, dword [esi]
cmp eax, ebx
jne 0x424d1c
push 0x471e5a
lea ecx, [ebp - 0x34]
call fcn.0041be0b
lea eax, [ebp - 0x34]
push eax
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0041be2d
mov esi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Cant_open_internet:_err_d
push esi
call fcn.0041b692
add esp, 0xc
mov ecx, eax
jmp fcn.0041be69
cmp dword [ebp - 0x8c], 0x10
mov ecx, dword [ebp - 0xa0]
jae 0x424d31
lea ecx, [ebp - 0xa0]
push esi
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x424d59
push 0xc351
push edi
push str.Cant_connect_internet
jmp 0x424f5a
cmp dword [ebp - 0xa8], 4
mov dword [ebp - 0x18], 0x84000900
jne 0x424d70
mov dword [ebp - 0x18], 0x84800900
cmp dword [edi + 0x30], ebx
mov edx, 0x473128
je 0x424d7f
mov edx, str.POST
cmp dword [ebp - 0x70], 0x10
mov ecx, dword [ebp - 0x84]
jae 0x424d91
lea ecx, [ebp - 0x84]
push esi
push dword [ebp - 0x18]
push ebx
push ebx
push ebx
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x424db4
push ebx
push edi
push str.Cant_open_request
jmp 0x424f5a
push str.Connection:_Close_r_n
lea ecx, [ebp - 0x60]
call fcn.0041be0b
mov byte [ebp - 4], 5
cmp dword [edi + 0x30], ebx
je 0x424dd7
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x60]
call fcn.0041532a
lea eax, [ebp - 0xa4]
push eax
call fcn.0042c260
test al, al
pop ecx
je 0x424e17
push str._COOKIE_
lea ecx, [ebp - 0x34]
call fcn.0041be0b
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 6
call fcn.0042c291
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0041b05c
cmp dword [esi + 0xc], ebx
jbe 0x424ef8
cmp byte [edi + 0x80], bl
je 0x424ef8
mov eax, dword [edi + 0x98]
cmp eax, ebx
ja 0x424e46
cmp dword [edi + 0xb4], ebx
jbe 0x424ef8
cmp eax, ebx
jbe 0x424e4e
lea eax, [edi + 0x84]
jmp 0x424e54
lea eax, [edi + 0xa0]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041bf87
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x424e6d
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0xc]
push str.__request_range__lu__by__s
push ebx
call fcn.00441366
xor eax, eax
mov byte [ebp - 0x8c0], bl
mov ecx, 0xff
lea edi, [ebp - 0x8bf]
rep stosd dword es:[edi], eax
add esp, 0x10
push dword [esi + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x8c0]
push str.Range:_bytes_lu__r_n
push eax
call fcn.004515d5
add esp, 0xc
lea eax, [ebp - 0x8c0]
push eax
lea ecx, [ebp - 0x60]
call fcn.0041532a
push str.If_Range:
lea ecx, [ebp - 0x60]
call fcn.0041532a
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x60]
call fcn.0041aaa5
push 0x477bdc
lea ecx, [ebp - 0x60]
call fcn.0041532a
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0041b05c
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x48], 0x10
mov ecx, dword [ebp - 0x5c]
jae 0x424f04
lea ecx, [ebp - 0x5c]
mov eax, dword [esi + 8]
push 0x20000000
push dword [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
push ebx
jne 0x424f24
push edi
push str.Cant_add_request_headers
jmp 0x424f5a
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0041b05c
call fcn.004252d6
lea eax, [edi + 0x1c]
push eax
push edi
push esi
lea ecx, [edi + 0xdc]
call fcn.00424986
add esp, 0xc
cmp al, bl
jne 0x424f5f
push 0xc352
push edi
push str.Cant_send_request
call fcn.00425184
mov eax, dword [esi + 8]
push ebx
lea ecx, [ebp - 0x14]
push ecx
lea edi, [esi + 0x10]
push edi
push 0x20000005
push eax
mov dword [edi], ebx
mov dword [ebp - 0x14], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push dword [edi]
push str.__part_length:__d_bytes
push ebx
call fcn.00441366
xor eax, eax
mov byte [ebp - 0x4c0], bl
mov ecx, 0xff
lea edi, [ebp - 0x4bf]
rep stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
push ebx
lea ecx, [ebp - 0x14]
push ecx
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea ecx, [ebp - 0x4c0]
push ecx
mov byte [eax + 0x80], 1
mov eax, dword [esi + 8]
push 0x36
push eax
mov dword [ebp - 0x14], 0x400
call edi
test eax, eax
je 0x424fec
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c0]
push eax
add ecx, 0x84
call fcn.0041b834
mov eax, dword [ebp + 8]
cmp dword [eax + 0x98], ebx
jne 0x42502b
mov eax, dword [esi + 8]
push ebx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x4c0]
push ecx
push 0xb
push eax
mov dword [ebp - 0x14], 0x400
call edi
test eax, eax
je 0x42502b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c0]
push eax
add ecx, 0xa0
call fcn.0041b834
lea eax, [ebp - 0x4c0]
push str.X_HTML_PackageType
push eax
mov dword [ebp - 0x14], 0x400
call fcn.00451890
mov eax, dword [esi + 8]
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x4c0]
push ecx
push 0xffff
push eax
call edi
test eax, eax
je 0x425075
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c0]
push eax
add ecx, 0xbc
call fcn.0041b834
cmp dword [esi + 0xc], ebx
jbe 0x4250f6
mov eax, dword [esi + 8]
push ebx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x4c0]
push ecx
push 0x35
push eax
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x40], 0x400
call edi
test eax, eax
je 0x4250e5
lea eax, [ebp - 0x4c0]
push eax
push str.___s
push ebx
call fcn.00441366
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c0]
push str.bytes__lu__lu__lu
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
call fcn.004515a1
add esp, 0x14
cmp eax, 3
jne 0x4250e5
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
push dword [esi + 0xc]
push str.__part_start:__d_byte
push ebx
call fcn.00441366
add esp, 0xc
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push eax
push str.__content_length:__d_bytes
push ebx
mov dword [ecx + 0x7c], eax
call fcn.00441366
add esp, 0xc
lea esi, [ebp - 0xa8]
call fcn.0040e50a
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x3c]
call fcn.0041ba42
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret