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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b66
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x48b084]
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 0x42df7c
push eax
call esi
mov dword [edi + 0x20], 0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x42df8d
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 0x42dfab
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 0x42dfec
mov edi, eax
mov ecx, esi
call fcn.00408ad0
add esi, 0x30
cmp esi, edi
jne 0x42dfd5
mov edi, dword [ebp - 0x178]
mov esi, dword [edi + 0x34]
mov dword [edi + 0x38], esi
cmp dword [edi + 0x14], 8
jb 0x42dff7
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 0x42e206
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.00449480
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.00416ed0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x1b0], 0x17
mov dword [ebp - 0x1ac], 0xf800c7
mov dword [ebp - 0x1a8], 0xdb00fc
mov dword [ebp - 0x1a4], 0xe100e0
mov dword [ebp - 0x1a0], 0xd800e6
mov dword [ebp - 0x19c], 0xfc00e8
mov dword [ebp - 0x198], 0xbb00f4
mov dword [ebp - 0x194], 0xfc00f0
mov dword [ebp - 0x190], 0xeb00ed
mov dword [ebp - 0x18c], 0xc40080
mov dword [ebp - 0x188], 0xd100d0
mov dword [ebp - 0x184], 0xd700cb
mov dword [ebp - 0x180], 0xa70086
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x1ac], ax
inc ecx
mov eax, dword [ebp - 0x1b0]
cmp ecx, eax
jb 0x42e0d0
xor ecx, ecx
lea edx, [ebp - 0x1ac]
mov word [ebp + eax*2 - 0x1ac], cx
lea ecx, [ebp - 0xb0]
call fcn.0041cb60
push dword [esi]
mov ecx, eax
call fcn.0041c590
mov edx, dword [0x48d810]
mov dword [ebp - 0x174], edx
test edx, edx
jne 0x42e15e
push 0x20
call fcn.004470ea
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x174], edx
xor eax, eax
mov dword [ebp - 0x178], edx
mov dword [0x48d810], 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 - 0x250]
push eax
call fcn.0042e400
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x17c], eax
test esi, esi
je 0x42e19d
mov edx, eax
nop
lea eax, [ecx + 0x90]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42e180
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x17c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042a1d0
mov dword [ebp - 0x178], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42e1d7
mov edx, eax
lea eax, [ecx + 0x90]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42e1c0
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.00426840
lea ecx, [ebp - 0xc0]
call fcn.00416d10
xor al, al
jmp 0x42e3e5
push 0x7530
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x42e3e3
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.00449480
add esp, 4
lea ecx, [ebp - 0x170]
call fcn.00416ed0
mov dword [ebp - 4], 1
mov eax, 0x1e
mov dword [ebp - 0x1c0], eax
xor ecx, ecx
mov dword [ebp - 0x1bc], 0xf800c7
mov dword [ebp - 0x1b8], 0xdb00fc
mov dword [ebp - 0x1b4], 0xe100e0
mov dword [ebp - 0x1b0], 0xc400e6
mov dword [ebp - 0x1ac], 0xed00fd
mov dword [ebp - 0x1a8], 0xf200ce
mov dword [ebp - 0x1a4], 0xf800f1
mov dword [ebp - 0x1a0], 0xea00f1
mov dword [ebp - 0x19c], 0xd200d4
mov dword [ebp - 0x198], 0xcf0082
mov dword [ebp - 0x194], 0xd600c5
mov dword [ebp - 0x190], 0x8700d2
mov dword [ebp - 0x18c], 0xdb00cd
mov dword [ebp - 0x188], 0xc400d8
mov dword [ebp - 0x184], 0x8d00de
mov dword [ebp - 0x180], 0xae
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x1bc], ax
inc ecx
mov eax, dword [ebp - 0x1c0]
cmp ecx, eax
jb 0x42e310
xor ecx, ecx
lea edx, [ebp - 0x1bc]
mov word [ebp + eax*2 - 0x1bc], cx
lea ecx, [ebp - 0x160]
call fcn.0041cb60
push dword [esi]
mov ecx, eax
call fcn.0041c590
call fcn.00424c40
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x250]
push eax
call fcn.0042e510
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
test edx, edx
je 0x42e382
nop
lea eax, [ecx + 0x90]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42e370
xor eax, eax
mov word [esi + edx*2 + 4], ax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042a1d0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x42e3b3
lea eax, [ecx + 0x90]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x42e3a2
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.00426840
lea ecx, [ebp - 0x170]
call fcn.00416d10
xor al, al
jmp 0x42e3e5
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.00446e47
mov esp, ebp
pop ebp
ret