Function at 0x455842
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
cmp dword [ebx + 0x74], 4
push edi
mov edi, ecx
mov esi, dword [edi + 0x54]
mov dword [ebp - 4], esi
jne 0x455865
or esi, 0x800000
mov dword [ebp - 4], esi
movzx eax, word [ebx + 0x78]
push 0
push 0
push dword [ebx + 0x70]
push dword [ebx + 0x30]
push dword [ebx + 0x20]
push eax
push dword [ebx + 0x10]
push dword [edi + 4]
call dword [sym.imp.WININET.DLL_InternetConnectW]
mov dword [edi], eax
test eax, eax
jne 0x45589d
push eax
push 0xdeadbeef
push 0xb
mov ecx, edi
call fcn.004562c9
jmp 0x45598c
xor ecx, ecx
push ecx
push esi
push ecx
push ecx
push ecx
push dword [ebx + 0x60]
push ecx
push eax
call dword [sym.imp.WININET.DLL_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x4558c2
push eax
push 0xdeadbeef
push 0xc
jmp 0x455976
cmp byte [ebp + 0xc], 0
je 0x4558d1
push ebx
push esi
mov ecx, edi
call fcn.00456323
test dword [ebp - 4], 0x1000
je 0x455906
push 4
pop ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x1f
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.WININET.DLL_InternetQueryOptionW]
or dword [ebp + 0xc], 0x100
push ebx
lea eax, [ebp + 0xc]
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.DLL_InternetSetOptionW]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.DLL_HttpSendRequestW]
test eax, eax
je 0x45596e
push esi
call fcn.00455804
cmp eax, 0xc8
jne 0x45596e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 5
push esi
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], 0x20
call dword [sym.imp.WININET.DLL_HttpQueryInfoW]
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x24]
push eax
call fcn.00422d3a
pop ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov ecx, edi
cmp byte [ebp + 0x10], bl
je 0x455968
push esi
call fcn.0045612b
jmp 0x45597d
push 1
push ebx
push ebx
jmp 0x455978
push ebx
push 0xdeadbeef
push 0xd
mov ecx, edi
call fcn.004562c9
mov bl, al
test esi, esi
je 0x45598a
push esi
call dword [sym.imp.WININET.DLL_InternetCloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x456015
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
inc ebx
push edi
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x456030
movzx eax, word [edi + 0x8c]
jmp 0x456034
movzx eax, word [edi + 0x58]
movsx ecx, ax
lea edx, [edi + 0xb0]
cmp dword [ebp + 8], ebx
je 0x456045
lea edx, [edi + 0x7c]
mov eax, dword [edi + 0xc0]
xor esi, esi
push esi
cmp ecx, ebx
jne 0x456057
push esi
push esi
push ebx
jmp 0x45606a
cmp ecx, 2
jne 0x456067
push 0x4b4d90
push dword [edx]
push 3
jmp 0x45606a
push esi
push esi
push esi
push eax
call dword [sym.imp.WININET.DLL_InternetOpenW]
mov dword [edi + 4], eax
cmp eax, esi
jne 0x45607c
xor al, al
jmp 0x45609c
cmp byte [edi + 0xdc], 0
je 0x45609a
push 8
lea ecx, [ebp - 8]
push ecx
push 0x32
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
call dword [sym.imp.WININET.DLL_InternetSetOptionW]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4