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

Disassembly:
push 0xffffffffffffffff
push 0x447f43
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x34], eax
mov dword [ebp + 0xec], ebx
mov dword [esp + 0x54], vtable.RC::RCInternetSession.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x44], esi
push 4
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0xb0], ebx
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 2
push esi
mov dword [esp + 0x2c], 0xbb8
call edi
push 4
lea edx, [esp + 0x20]
push edx
push 3
push esi
mov dword [esp + 0x2c], 5
call edi
xor edi, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 1
call fcn.0042e4a0
cmp esi, ebx
mov byte [esp + 0xa8], 2
mov dword [esp + 0x3c], ebx
je 0x42e985
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x42e958
lea eax, [esp + 0x68]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x38], edi
jne 0x42e97e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x3c], eax
cmp edi, ebx
setne al
cmp al, bl
jne 0x42e9cf
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0xec], eax
jb 0x42e9a3
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00433114
add esp, 4
cmp edi, ebx
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
je 0x42e9c1
push edi
call ebp
cmp esi, ebx
je 0x42e9c8
push esi
call ebp
xor al, al
jmp 0x42ec2a
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
push 0xb
push str.action_type
lea eax, [esp + 0x50]
mov byte [esp + 0xb0], 5
call fcn.00410690
push 1
push 0x44feec
lea eax, [esp + 0x50]
call fcn.00410690
push 0xd
push str.check_version
lea eax, [esp + 0x50]
call fcn.00410690
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x4c]
mov edi, 0x10
cmp dword [esp + 0x60], edi
jae 0x42ea57
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x24]
push edx
push eax
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x8c]
call fcn.0040f0d0
test al, al
jne 0x42eb4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x60], edi
mov dword [ebp + 0xec], eax
jb 0x42ea99
mov eax, dword [esp + 0x4c]
push eax
call fcn.00433114
add esp, 4
mov ebp, 8
cmp dword [esp + 0x98], ebp
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x42eac7
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov edi, 7
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
je 0x42eb06
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push edx
push ecx
call fcn.00410ba0
mov edx, dword [esp + 0x30]
push edx
call fcn.00433114
add esp, 0xc
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jb 0x42eb25
mov eax, dword [esp + 0x68]
push eax
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x7c], edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
je 0x42eb43
push eax
call edi
push esi
call edi
xor al, al
jmp 0x42ec2a
mov ebp, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x84]
call fcn.004102b0
cmp dword [ebp + 0x14], ebx
setne byte [esp + 0x1b]
cmp dword [esp + 0x60], edi
jb 0x42eb79
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00433114
add esp, 4
mov ebp, 8
cmp dword [esp + 0x98], ebp
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x42eba7
mov edx, dword [esp + 0x84]
push edx
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov edi, 7
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
je 0x42ebe6
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.00410ba0
mov eax, dword [esp + 0x30]
push eax
call fcn.00433114
add esp, 0xc
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jb 0x42ec05
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x7c], edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
je 0x42ec23
push eax
call edi
push esi
call edi
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004337a7
add esp, 0x98
ret 8