Function at 0x42b1a0
Capabilities:
Encode data using xor
Read http header
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4709d8
mov eax, dword fs:[0]
push eax
sub esp, 0x384
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 - 0x204], edi
call fcn.0042c370
test al, al
je 0x42b94f
cmp dword [edi + 0x70], 2
lea eax, [edi + 0x70]
mov dword [ebp - 0x21c], eax
jne 0x42b230
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0x14]
push 4
push eax
push 0x2d
push dword [edi + 0x20]
mov dword [ebp - 0x14], edi
call esi
push 0
push 0x10000
push 0x42a8b0
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xa8
push eax
push 0x54
push dword [edi + 0x20]
call esi
mov eax, dword [edi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, dword [edi + 0x38]
je 0x42b6f6
xor eax, eax
mov dword [ebp - 0x88], 0
push eax
push 0x481780
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.0040c1a0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x38]
mov esi, dword [edi + 0x34]
mov dword [ebp - 0x1fc], eax
cmp esi, eax
je 0x42b4ea
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x44]
call fcn.0040a990
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a990
mov byte [ebp - 4], 2
mov ecx, 2
mov dword [ebp - 0x210], ecx
xor eax, eax
mov dword [ebp - 0x20c], 0x9b009d
mov dword [ebp - 0x208], 0x92
nop
lea ecx, [eax + 0x90]
xor word [ebp + eax*2 - 0x20c], cx
inc eax
mov ecx, dword [ebp - 0x210]
cmp eax, ecx
jb 0x42b2d0
xor eax, eax
mov word [ebp + ecx*2 - 0x20c], ax
lea eax, [ebp - 0x44]
push 0x481f0c
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0041fcd0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00419520
mov dword [ebp - 0x224], 0
xor ecx, ecx
mov dword [ebp - 0x220], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b370
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00419520
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [ebp - 0x24c], xmm1
mov word [eax], cx
movq qword [ebp - 0x23c], xmm0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
push dword [ebp - 0x23c]
movd eax, xmm1
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.00419520
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x42b42a
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b420
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bde8
push edx
push ecx
call fcn.00447495
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x42b46e
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b464
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bde8
push edx
push ecx
call fcn.00447495
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
cmp edx, 8
jb 0x42b4cf
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b4c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bde8
push edx
push ecx
call fcn.00447495
add esp, 8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00408ad0
add esi, 0x30
cmp esi, dword [ebp - 0x1fc]
jne 0x42b290
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
push 0x21000000
cmovae eax, dword [ebp - 0x98]
push 0xffffffffffffffff
push eax
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x42b6a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416ed0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 6
push eax
call fcn.0042bdf0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x42b57a
mov edi, eax
lea eax, [ecx + 0x90]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42b560
mov edi, dword [ebp - 0x204]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov word [eax + edx*2], cx
mov edx, eax
lea ecx, [ebp - 0x138]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
mov edx, dword [0x48d810]
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x42b5e2
push 0x20
call fcn.004470ea
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x200], 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 - 0x390]
push eax
call fcn.0042beb0
mov dword [ebp - 0x200], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x1fc], ecx
xor ecx, ecx
test esi, esi
je 0x42b62a
mov edx, dword [ebp - 0x1fc]
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0x90]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42b610
mov edi, dword [ebp - 0x204]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1fc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2f8]
push eax
call fcn.0042a1d0
mov esi, eax
mov dword [ebp - 0x200], esi
lea eax, [esi + 4]
mov esi, dword [esi]
mov dword [ebp - 0x1fc], eax
test esi, esi
je 0x42b681
mov edx, dword [ebp - 0x200]
mov edi, eax
lea eax, [ecx + 0x90]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42b661
mov edi, dword [ebp - 0x204]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1fc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x148]
push ecx
push ecx
push 0xb3
push eax
push 0
mov ecx, edx
call fcn.00426840
lea ecx, [ebp - 0x148]
call fcn.00416d10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x42b6f0
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b6e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bde8
push edx
push ecx
call fcn.00447495
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
push 0
sub eax, ecx
push eax
push eax
push ecx
push 0
push 0
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x42b956
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416ed0
mov dword [ebp - 4], 7
mov eax, 0x1a
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov dword [ebp - 0x4c], 0xf800c7
mov dword [ebp - 0x48], 0xdb00fc
mov dword [ebp - 0x44], 0xe100e0
mov dword [ebp - 0x40], 0xc400e6
mov dword [ebp - 0x3c], 0xf700fd
mov dword [ebp - 0x38], 0xc900fe
mov dword [ebp - 0x34], 0xec00f9
mov dword [ebp - 0x30], 0xfa00eb
mov dword [ebp - 0x2c], 0xd500d3
mov dword [ebp - 0x28], 0xc60082
mov dword [ebp - 0x24], 0xd700d6
mov dword [ebp - 0x20], 0xd500c9
mov dword [ebp - 0x1c], 0x890092
mov dword [ebp - 0x18], 0xaa
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x42b7b1
xor ecx, ecx
lea edx, [ebp - 0x4c]
mov word [ebp + eax*2 - 0x4c], cx
lea ecx, [ebp - 0x138]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0xb100bc
xor ecx, ecx
mov dword [ebp - 0x210], 0xe100e7
mov dword [ebp - 0x20c], 0xaf00f8
mov dword [ebp - 0x208], 0x9700b6
nop dword [eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42b820
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041cb60
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.00427200
mov edx, dword [0x48d810]
mov dword [ebp - 0x204], edx
test edx, edx
jne 0x42b8ae
push 0x20
call fcn.004470ea
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x204], edx
xor eax, eax
mov dword [ebp - 0x200], 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 - 0x390]
push eax
call fcn.0042bfe0
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1fc], eax
test esi, esi
je 0x42b8ed
mov edx, eax
nop
lea eax, [ecx + 0x90]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42b8d0
mov edx, dword [ebp - 0x204]
mov eax, dword [ebp - 0x1fc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2f8]
push eax
call fcn.0042a1d0
mov dword [ebp - 0x200], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42b927
mov edx, eax
lea eax, [ecx + 0x90]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42b910
mov edx, dword [ebp - 0x204]
xor eax, eax
mov word [edi + esi*2], ax
lea eax, [ebp - 0x148]
push eax
push ecx
push 0xc1
push edi
push 0
mov ecx, edx
call fcn.00426840
lea ecx, [ebp - 0x148]
call fcn.00416d10
xor al, al
jmp 0x42bdcd
push 0
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x42bbb6
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416ed0
mov dword [ebp - 4], 8
mov eax, 0x1e
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xf800c7
mov dword [ebp - 0x50], 0xdb00fc
mov dword [ebp - 0x4c], 0xe100e0
mov dword [ebp - 0x48], 0xc500e6
mov dword [ebp - 0x44], 0xfa00fd
mov dword [ebp - 0x40], 0xf200ff
mov dword [ebp - 0x3c], 0xf800ea
mov dword [ebp - 0x38], 0xfa00cc
mov dword [ebp - 0x34], 0xd100d3
mov dword [ebp - 0x30], 0xcd00cd
mov dword [ebp - 0x2c], 0xc000d7
mov dword [ebp - 0x28], 0xc20086
mov dword [ebp - 0x24], 0xdb00da
mov dword [ebp - 0x20], 0xd900c5
mov dword [ebp - 0x1c], 0x8d0096
mov dword [ebp - 0x18], 0xae
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x42ba10
xor ecx, ecx
lea edx, [ebp - 0x54]
mov word [ebp + eax*2 - 0x54], cx
lea ecx, [ebp - 0x138]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0xb100bc
xor ecx, ecx
mov dword [ebp - 0x210], 0xe100e7
mov dword [ebp - 0x20c], 0xaf00f8
mov dword [ebp - 0x208], 0x9700b6
nop dword [eax + eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42ba80
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041cb60
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.00427200
mov edx, dword [0x48d810]
mov dword [ebp - 0x204], edx
test edx, edx
jne 0x42bb0e
push 0x20
call fcn.004470ea
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x204], edx
xor eax, eax
mov dword [ebp - 0x200], 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 - 0x390]
push eax
call fcn.0042c110
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1fc], eax
test esi, esi
je 0x42bb4d
mov edx, eax
nop
lea eax, [ecx + 0x90]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42bb30
mov edx, dword [ebp - 0x204]
mov eax, dword [ebp - 0x1fc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2f8]
push eax
call fcn.0042a1d0
mov dword [ebp - 0x200], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42bb87
mov edx, eax
lea eax, [ecx + 0x90]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42bb70
mov edx, dword [ebp - 0x204]
xor eax, eax
mov word [edi + esi*2], ax
lea eax, [ebp - 0x148]
push eax
push ecx
push 0xc9
push edi
push 0
mov ecx, edx
call fcn.00426840
lea ecx, [ebp - 0x148]
call fcn.00416d10
xor al, al
jmp 0x42bdcd
push 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 4
push eax
push 0
push 0x20000013
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x42bdc3
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0x1f8]
call fcn.00416ed0
mov dword [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x50], 0x1b
mov dword [ebp - 0x4c], 0xf800c7
mov dword [ebp - 0x48], 0xdb00fc
mov dword [ebp - 0x44], 0xe100e0
mov dword [ebp - 0x40], 0xc600e6
mov dword [ebp - 0x3c], 0xfc00ed
mov dword [ebp - 0x38], 0xe200e8
mov dword [ebp - 0x34], 0xf800d4
mov dword [ebp - 0x30], 0xfb00ff
mov dword [ebp - 0x2c], 0xd300c5
mov dword [ebp - 0x28], 0x8300d1
mov dword [ebp - 0x24], 0xd700c1
mov dword [ebp - 0x20], 0xc800d4
mov dword [ebp - 0x1c], 0x9300da
mov dword [ebp - 0x18], 0xab008a
nop
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x42bc80
xor ecx, ecx
lea edx, [ebp - 0x4c]
mov word [ebp + eax*2 - 0x4c], cx
lea ecx, [ebp - 0x1e8]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0xb100bc
xor ecx, ecx
mov dword [ebp - 0x210], 0xe100e7
mov dword [ebp - 0x20c], 0xaf00f8
mov dword [ebp - 0x208], 0x9700b6
nop dword [eax + eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42bcf0
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041cb60
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.00427200
call fcn.00424c40
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x390]
push eax
call fcn.0042c240
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
test edx, edx
je 0x42bd62
nop
lea eax, [ecx + 0x90]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42bd50
xor eax, eax
mov word [esi + edx*2 + 4], ax
lea eax, [ebp - 0x2f8]
push eax
call fcn.0042a1d0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x42bd93
lea eax, [ecx + 0x90]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x42bd82
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0x1f8]
push eax
push ecx
mov ecx, dword [ebp - 0x200]
push 0xdb
push esi
push 0
call fcn.00426840
lea ecx, [ebp - 0x1f8]
call fcn.00416d10
xor al, al
jmp 0x42bdcd
mov ax, word [ebp - 0x7c]
mov word [edi + 0x24], ax
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
call fcn.0044c379
int3