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

Disassembly:
push 0x114
mov eax, 0x498aa5
call fcn.0047a3ff
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x101], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov edx, 0x2710
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xcc]
call fcn.0041f3fe
mov esi, eax
mov edx, 0x2715
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.0041f3fe
push 0x4ae978
lea edx, [eax + 0x18]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.00415607
pop ecx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.0041d756
pop ecx
cmp dword [eax + 0x14], 8
jb 0x430ce6
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
mov edi, eax
lea ecx, [ebp - 0x5c]
push 1
mov dword [ebp - 0x118], edi
call fcn.00415035
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.00415035
lea ecx, [ebp - 0x100]
call fcn.0041f857
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call fcn.0041f857
test edi, edi
je 0x430efa
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x10c]
push 4
push eax
push 2
push edi
mov dword [ebp - 0x10c], 0x927c0
call esi
push 4
lea eax, [ebp - 0x10c]
push eax
push 6
push edi
call esi
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x14], 8
jb 0x430d6a
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 - 0x110], eax
test eax, eax
je 0x430ecb
mov ecx, dword [ebp - 0x114]
cmp dword [ecx + 0x14], 8
jb 0x430d96
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 - 0x108], eax
test eax, eax
je 0x430e9d
mov esi, dword [ebp - 0x11c]
cmp byte [esi + 0x58], 0
je 0x430e2a
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x44]
call fcn.004316e9
mov ecx, eax
lea eax, [esi + 0x40]
mov byte [ebp - 4], 4
cmp eax, ecx
je 0x430de8
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.00414fa2
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00415035
cmp dword [esi + 0x50], ebx
je 0x430e2a
lea ecx, [esi + 0x40]
push ecx
lea edx, [esi + 0x28]
lea ecx, [ebp - 0x44]
call fcn.00430b41
pop ecx
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 5
cmp ecx, eax
je 0x430e1f
push 0xffffffffffffffff
push ebx
push eax
call fcn.00414fa2
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00415035
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 6
call fcn.004316a0
push edx
push eax
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00430f49
jmp 0x430e8a
mov dword [ebp - 4], ebx
push dword [ebp - 0x108]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x430ec1
mov esi, str.Request_cannot_be_completed.
push esi
call fcn.00412bda
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0041374a
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov byte [ebp - 0x101], al
push dword [ebp - 0x110]
call esi
jmp 0x430eef
mov esi, str.Cannot_connect_to_server.
push esi
call fcn.00412bda
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0041374a
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov byte [ebp - 0x101], al
push edi
call esi
mov al, byte [ebp - 0x101]
jmp 0x430f12
mov esi, str.Cannot_initialize_library.
push esi
call fcn.00412bda
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0041374a
mov al, 1
test al, al
je 0x430f36
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x98]
call fcn.00430595
push 0x4c29e0
lea eax, [ebp - 0x98]
push eax
call fcn.0047a950
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00413694
call fcn.0047a351
ret 8