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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471068
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x48c084]
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.0042c460
test al, al
je 0x42ba3f
cmp dword [edi + 0x70], 2
lea eax, [edi + 0x70]
mov dword [ebp - 0x21c], eax
jne 0x42b320
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 0x42a9a0
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 0x42b7e6
xor eax, eax
mov dword [ebp - 0x88], 0
push eax
push 0x4827b0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.0040c290
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x38]
mov esi, dword [edi + 0x34]
mov dword [ebp - 0x1fc], eax
cmp esi, eax
je 0x42b5da
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x44]
call fcn.0040aa80
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aa80
mov byte [ebp - 4], 2
mov ecx, 2
mov dword [ebp - 0x210], ecx
xor eax, eax
mov dword [ebp - 0x20c], 0xb300b5
mov dword [ebp - 0x208], 0xba
nop
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x20c], cx
inc eax
mov ecx, dword [ebp - 0x210]
cmp eax, ecx
jb 0x42b3c0
xor eax, eax
mov word [ebp + ecx*2 - 0x20c], ax
lea eax, [ebp - 0x44]
push 0x482f3c
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0041fdc0
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.00419610
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 0x42b460
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00419610
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.00419610
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x42b51a
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b510
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bed8
push edx
push ecx
call fcn.00447b45
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x42b55e
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b554
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bed8
push edx
push ecx
call fcn.00447b45
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 0x42b5bf
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b5b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bed8
push edx
push ecx
call fcn.00447b45
add esp, 8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00408ad0
add esi, 0x30
cmp esi, dword [ebp - 0x1fc]
jne 0x42b380
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 0x42b799
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416fc0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 6
push eax
call fcn.0042bee0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x42b66a
mov edi, eax
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42b650
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.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
mov edx, dword [0x48e810]
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x42b6d2
push 0x20
call fcn.0044779a
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x200], edx
mov dword [0x48e810], 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.0042bfa0
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 0x42b71a
mov edx, dword [ebp - 0x1fc]
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42b700
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.0042a2c0
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 0x42b771
mov edx, dword [ebp - 0x200]
mov edi, eax
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42b751
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.00426930
lea ecx, [ebp - 0x148]
call fcn.00416e00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x42b7e0
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b7d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bed8
push edx
push ecx
call fcn.00447b45
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 0x42ba46
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416fc0
mov dword [ebp - 4], 7
mov eax, 0x1a
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov dword [ebp - 0x4c], 0xd000ef
mov dword [ebp - 0x48], 0xf300d4
mov dword [ebp - 0x44], 0xc900c8
mov dword [ebp - 0x40], 0xec00ce
mov dword [ebp - 0x3c], 0xaf00a5
mov dword [ebp - 0x38], 0x9100a6
mov dword [ebp - 0x34], 0xb400a1
mov dword [ebp - 0x30], 0xa200b3
mov dword [ebp - 0x2c], 0xbd00bb
mov dword [ebp - 0x28], 0xae00ea
mov dword [ebp - 0x24], 0xbf00be
mov dword [ebp - 0x20], 0xbd00a1
mov dword [ebp - 0x1c], 0xf100ea
mov dword [ebp - 0x18], 0xd2
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x42b8a1
xor ecx, ecx
lea edx, [ebp - 0x4c]
mov word [ebp + eax*2 - 0x4c], cx
lea ecx, [ebp - 0x138]
call fcn.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0x990094
xor ecx, ecx
mov dword [ebp - 0x210], 0xc900cf
mov dword [ebp - 0x20c], 0x8700d0
mov dword [ebp - 0x208], 0xbf009e
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42b910
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041cc50
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.004272f0
mov edx, dword [0x48e810]
mov dword [ebp - 0x204], edx
test edx, edx
jne 0x42b99e
push 0x20
call fcn.0044779a
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x204], edx
xor eax, eax
mov dword [ebp - 0x200], edx
mov dword [0x48e810], 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.0042c0d0
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1fc], eax
test esi, esi
je 0x42b9dd
mov edx, eax
nop
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42b9c0
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.0042a2c0
mov dword [ebp - 0x200], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42ba17
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42ba00
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.00426930
lea ecx, [ebp - 0x148]
call fcn.00416e00
xor al, al
jmp 0x42bebd
push 0
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x42bca6
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416fc0
mov dword [ebp - 4], 8
mov eax, 0x1e
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xd000ef
mov dword [ebp - 0x50], 0xf300d4
mov dword [ebp - 0x4c], 0xc900c8
mov dword [ebp - 0x48], 0xed00ce
mov dword [ebp - 0x44], 0xa200a5
mov dword [ebp - 0x40], 0xaa00a7
mov dword [ebp - 0x3c], 0xa000b2
mov dword [ebp - 0x38], 0xa20094
mov dword [ebp - 0x34], 0xb900bb
mov dword [ebp - 0x30], 0xa500a5
mov dword [ebp - 0x2c], 0xa800bf
mov dword [ebp - 0x28], 0xaa00ee
mov dword [ebp - 0x24], 0xa300a2
mov dword [ebp - 0x20], 0xa100bd
mov dword [ebp - 0x1c], 0xf500ee
mov dword [ebp - 0x18], 0xd6
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x42bb00
xor ecx, ecx
lea edx, [ebp - 0x54]
mov word [ebp + eax*2 - 0x54], cx
lea ecx, [ebp - 0x138]
call fcn.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0x990094
xor ecx, ecx
mov dword [ebp - 0x210], 0xc900cf
mov dword [ebp - 0x20c], 0x8700d0
mov dword [ebp - 0x208], 0xbf009e
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42bb70
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041cc50
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.004272f0
mov edx, dword [0x48e810]
mov dword [ebp - 0x204], edx
test edx, edx
jne 0x42bbfe
push 0x20
call fcn.0044779a
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x204], edx
xor eax, eax
mov dword [ebp - 0x200], edx
mov dword [0x48e810], 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.0042c200
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1fc], eax
test esi, esi
je 0x42bc3d
mov edx, eax
nop
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42bc20
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.0042a2c0
mov dword [ebp - 0x200], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42bc77
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42bc60
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.00426930
lea ecx, [ebp - 0x148]
call fcn.00416e00
xor al, al
jmp 0x42bebd
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 0x42beb3
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0x1f8]
call fcn.00416fc0
mov dword [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x50], 0x1b
mov dword [ebp - 0x4c], 0xd000ef
mov dword [ebp - 0x48], 0xf300d4
mov dword [ebp - 0x44], 0xc900c8
mov dword [ebp - 0x40], 0xee00ce
mov dword [ebp - 0x3c], 0xa400b5
mov dword [ebp - 0x38], 0xba00b0
mov dword [ebp - 0x34], 0xa0008c
mov dword [ebp - 0x30], 0xa300a7
mov dword [ebp - 0x2c], 0xbb00ad
mov dword [ebp - 0x28], 0xeb00b9
mov dword [ebp - 0x24], 0xbf00a9
mov dword [ebp - 0x20], 0xa000bc
mov dword [ebp - 0x1c], 0xeb00a2
mov dword [ebp - 0x18], 0xd300f2
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x42bd70
xor ecx, ecx
lea edx, [ebp - 0x4c]
mov word [ebp + eax*2 - 0x4c], cx
lea ecx, [ebp - 0x1e8]
call fcn.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0x990094
xor ecx, ecx
mov dword [ebp - 0x210], 0xc900cf
mov dword [ebp - 0x20c], 0x8700d0
mov dword [ebp - 0x208], 0xbf009e
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42bde0
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041cc50
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.004272f0
call fcn.00424d30
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x390]
push eax
call fcn.0042c330
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
test edx, edx
je 0x42be52
nop
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42be40
xor eax, eax
mov word [esi + edx*2 + 4], ax
lea eax, [ebp - 0x2f8]
push eax
call fcn.0042a2c0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x42be83
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x42be72
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.00426930
lea ecx, [ebp - 0x1f8]
call fcn.00416e00
xor al, al
jmp 0x42bebd
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.004474f7
mov esp, ebp
pop ebp
ret
call fcn.0044ca29
int3