Function at 0x423dfc
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0x80
mov eax, 0x4874ef
call fcn.0046a1af
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x69], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push ebx
push ebx
mov dword [ebp - 4], ebx
mov eax, 0x4c2c2c
cmp dword [0x4c2c40], 8
push ebx
cmovae eax, dword [0x4c2c2c]
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x78], edi
test edi, edi
je 0x423ff3
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x74]
push 4
push eax
push 2
push edi
mov dword [ebp - 0x74], 0x493e0
call esi
push 4
lea eax, [ebp - 0x74]
push eax
push 6
push edi
call esi
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x14], 8
jb 0x423e8b
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x423fca
mov ecx, dword [ebp - 0x80]
cmp dword [ecx + 0x14], 8
jb 0x423eb1
mov ecx, dword [ecx]
push ebx
push 0x4400000
push ebx
push ebx
push ebx
push ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x423fa2
mov esi, dword [ebp - 0x84]
cmp byte [esi + 0x58], 0
je 0x423f3f
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x44]
call fcn.00424616
mov ecx, eax
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x423efd
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040d705
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0040d2b7
cmp dword [esi + 0x50], ebx
je 0x423f3f
lea ecx, [esi + 0x40]
push ecx
lea edx, [esi + 0x28]
lea ecx, [ebp - 0x44]
call fcn.00423d87
pop ecx
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 2
cmp ecx, eax
je 0x423f34
push 0xffffffffffffffff
push ebx
push eax
call fcn.0040d705
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0040d2b7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004245cd
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x84], edx
push eax
mov ecx, esi
call fcn.0042403c
jmp 0x423f92
mov dword [ebp - 4], ebx
push dword [ebp - 0x70]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x423fc3
mov esi, str.Request_cannot_be_completed.
push esi
call fcn.0040c357
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040d3f4
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov byte [ebp - 0x69], al
push dword [ebp - 0x7c]
call esi
jmp 0x423feb
mov esi, str.Cannot_connect_to_server.
push esi
call fcn.0040c357
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040d3f4
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov byte [ebp - 0x69], al
push edi
call esi
mov al, byte [ebp - 0x69]
jmp 0x42400b
mov esi, str.Cannot_initialize_library.
push esi
call fcn.0040c357
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040d3f4
mov al, 1
test al, al
je 0x424029
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0042375d
push 0x4b7e18
lea eax, [ebp - 0x68]
push eax
call fcn.0046a929
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040d225
call fcn.0046a101
ret 8