Function at 0x42e570
Capabilities:
Encode data using xor
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473216
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x48f088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x178], edi
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x42e5bc
push eax
call esi
mov dword [edi + 0x20], 0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x42e5cd
push eax
call esi
mov dword [edi + 0x1c], 0
lea eax, [edi + 0x18]
mov dword [ebp - 0x174], eax
mov eax, dword [eax]
test eax, eax
je 0x42e5eb
push eax
call esi
mov eax, dword [ebp - 0x174]
mov dword [eax], 0
xor eax, eax
mov word [edi + 0xe0], 0x100
mov word [edi + 0x24], ax
lea eax, [edi + 0x68]
mov dword [eax], 0
mov esi, dword [edi + 0x34]
mov dword [ebp - 0x17c], eax
mov eax, dword [edi + 0x38]
cmp esi, eax
je 0x42e62c
mov edi, eax
mov ecx, esi
call fcn.00408b80
add esi, 0x30
cmp esi, edi
jne 0x42e615
mov edi, dword [ebp - 0x178]
mov esi, dword [edi + 0x34]
mov dword [edi + 0x38], esi
cmp dword [edi + 0x14], 8
jb 0x42e637
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 0x174]
mov dword [ecx], eax
test eax, eax
jne 0x42e846
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x17c]
push 0xb0
push 0
mov dword [esi], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0044b7d0
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.00416e00
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x1b0], 0x17
mov dword [ebp - 0x1ac], 0xd200ed
mov dword [ebp - 0x1a8], 0xf500d2
mov dword [ebp - 0x1a4], 0xcb00ca
mov dword [ebp - 0x1a0], 0x8e00b0
mov dword [ebp - 0x19c], 0xa600b2
mov dword [ebp - 0x198], 0xe500aa
mov dword [ebp - 0x194], 0xa600aa
mov dword [ebp - 0x190], 0xbd00bb
mov dword [ebp - 0x18c], 0xae00ea
mov dword [ebp - 0x188], 0xbf00be
mov dword [ebp - 0x184], 0xbd00a1
mov dword [ebp - 0x180], 0xd100f0
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x1ac], ax
inc ecx
mov eax, dword [ebp - 0x1b0]
cmp ecx, eax
jb 0x42e710
xor ecx, ecx
lea edx, [ebp - 0x1ac]
mov word [ebp + eax*2 - 0x1ac], cx
lea ecx, [ebp - 0xb0]
call fcn.0041caa0
push dword [esi]
mov ecx, eax
call fcn.0041c560
mov edx, dword [0x491778]
mov dword [ebp - 0x174], edx
test edx, edx
jne 0x42e79e
push 0x20
call fcn.004490b3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x174], edx
xor eax, eax
mov dword [ebp - 0x178], edx
mov dword [0x491778], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042ea40
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x17c], eax
test esi, esi
je 0x42e7dd
mov edx, eax
nop
lea eax, [ecx + 0xba]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42e7c0
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x17c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x244]
push eax
call fcn.0042a870
mov dword [ebp - 0x178], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42e817
mov edx, eax
lea eax, [ecx + 0xba]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42e800
mov edx, dword [ebp - 0x174]
xor eax, eax
mov word [edi + esi*2], ax
lea eax, [ebp - 0xc0]
push eax
push ecx
push 0x2a5
push edi
push 0
mov ecx, edx
call fcn.00426e30
lea ecx, [ebp - 0xc0]
call fcn.00416c40
xor al, al
jmp 0x42ea25
push 0x7530
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x42ea23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x17c]
push 0xb0
push 0
mov dword [esi], eax
lea eax, [ebp - 0x170]
push eax
call fcn.0044b7d0
add esp, 4
lea ecx, [ebp - 0x170]
call fcn.00416e00
mov dword [ebp - 4], 1
mov eax, 0x1e
mov dword [ebp - 0x1c0], eax
xor ecx, ecx
mov dword [ebp - 0x1bc], 0xd200ed
mov dword [ebp - 0x1b8], 0xf500d2
mov dword [ebp - 0x1b4], 0xcb00ca
mov dword [ebp - 0x1b0], 0x9200b0
mov dword [ebp - 0x1ac], 0xb700a7
mov dword [ebp - 0x1a8], 0xac0090
mov dword [ebp - 0x1a4], 0xa200ab
mov dword [ebp - 0x1a0], 0xbc00a7
mov dword [ebp - 0x19c], 0xb800be
mov dword [ebp - 0x198], 0xa100ec
mov dword [ebp - 0x194], 0xbc00af
mov dword [ebp - 0x190], 0xf100a4
mov dword [ebp - 0x18c], 0xa100b7
mov dword [ebp - 0x188], 0xba00a6
mov dword [ebp - 0x184], 0xf700a4
mov dword [ebp - 0x180], 0xd8
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x1bc], ax
inc ecx
mov eax, dword [ebp - 0x1c0]
cmp ecx, eax
jb 0x42e950
xor ecx, ecx
lea edx, [ebp - 0x1bc]
mov word [ebp + eax*2 - 0x1bc], cx
lea ecx, [ebp - 0x160]
call fcn.0041caa0
push dword [esi]
mov ecx, eax
call fcn.0041c560
call fcn.00424b40
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042eb50
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
test edx, edx
je 0x42e9c2
nop
lea eax, [ecx + 0xba]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42e9b0
xor eax, eax
mov word [esi + edx*2 + 4], ax
lea eax, [ebp - 0x244]
push eax
call fcn.0042a870
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x42e9f3
lea eax, [ecx + 0xba]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x42e9e2
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0x170]
push eax
push ecx
mov ecx, dword [ebp - 0x178]
push 0x2ac
push esi
push 0
call fcn.00426e30
lea ecx, [ebp - 0x170]
call fcn.00416c40
xor al, al
jmp 0x42ea25
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dec
mov esp, ebp
pop ebp
ret