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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473088
mov eax, dword fs:[0]
push eax
sub esp, 0x370
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 - 0x204], edi
call fcn.0042c9d0
test al, al
je 0x42bfaf
cmp dword [edi + 0x70], 2
lea eax, [edi + 0x70]
mov dword [ebp - 0x21c], eax
jne 0x42b890
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 0x42af10
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 0x42bd56
xor eax, eax
mov dword [ebp - 0x88], 0
push eax
push 0x484cb0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.0040c030
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x38]
mov esi, dword [edi + 0x34]
mov dword [ebp - 0x1fc], eax
cmp esi, eax
je 0x42bb4a
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x44]
call fcn.0040a820
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a820
mov byte [ebp - 4], 2
mov ecx, 2
mov dword [ebp - 0x210], ecx
xor eax, eax
mov dword [ebp - 0x20c], 0xb100b7
mov dword [ebp - 0x208], 0xbc
nop
lea ecx, [eax + 0xba]
xor word [ebp + eax*2 - 0x20c], cx
inc eax
mov ecx, dword [ebp - 0x210]
cmp eax, ecx
jb 0x42b930
xor eax, eax
mov word [ebp + ecx*2 - 0x20c], ax
lea eax, [ebp - 0x44]
push 0x4853ec
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0041fc10
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.00419450
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 0x42b9d0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00419450
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.00419450
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x42ba8a
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ba80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c448
push edx
push ecx
call fcn.0044945e
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x42bace
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bac4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c448
push edx
push ecx
call fcn.0044945e
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 0x42bb2f
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bb25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c448
push edx
push ecx
call fcn.0044945e
add esp, 8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00408b80
add esi, 0x30
cmp esi, dword [ebp - 0x1fc]
jne 0x42b8f0
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 0x42bd09
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.0044b7d0
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416e00
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 6
push eax
call fcn.0042c450
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x42bbda
mov edi, eax
lea eax, [ecx + 0xba]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42bbc0
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.0041caa0
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c560
mov edx, dword [0x491778]
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x42bc42
push 0x20
call fcn.004490b3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x200], 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 - 0x37c]
push eax
call fcn.0042c510
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 0x42bc8a
mov edx, dword [ebp - 0x1fc]
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xba]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42bc70
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 - 0x2e4]
push eax
call fcn.0042a870
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 0x42bce1
mov edx, dword [ebp - 0x200]
mov edi, eax
lea eax, [ecx + 0xba]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42bcc1
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.00426e30
lea ecx, [ebp - 0x148]
call fcn.00416c40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x42bd50
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bd46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c448
push edx
push ecx
call fcn.0044945e
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 0x42bfb6
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.0044b7d0
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416e00
mov dword [ebp - 4], 7
mov eax, 0x1a
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov dword [ebp - 0x4c], 0xd200ed
mov dword [ebp - 0x48], 0xf500d2
mov dword [ebp - 0x44], 0xcb00ca
mov dword [ebp - 0x40], 0x9200b0
mov dword [ebp - 0x3c], 0xad00a7
mov dword [ebp - 0x38], 0x9700a0
mov dword [ebp - 0x34], 0xb600a3
mov dword [ebp - 0x30], 0xac00bd
mov dword [ebp - 0x2c], 0xbf00b9
mov dword [ebp - 0x28], 0xa800ec
mov dword [ebp - 0x24], 0xbd00bc
mov dword [ebp - 0x20], 0xa300bf
mov dword [ebp - 0x1c], 0xf300e8
mov dword [ebp - 0x18], 0xd4
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x42be11
xor ecx, ecx
lea edx, [ebp - 0x4c]
mov word [ebp + eax*2 - 0x4c], cx
lea ecx, [ebp - 0x138]
call fcn.0041caa0
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c560
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0x9b0096
xor ecx, ecx
mov dword [ebp - 0x210], 0xcf00c9
mov dword [ebp - 0x20c], 0x8500d2
mov dword [ebp - 0x208], 0xc100e0
nop dword [eax]
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42be80
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041caa0
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.004277f0
mov edx, dword [0x491778]
mov dword [ebp - 0x204], edx
test edx, edx
jne 0x42bf0e
push 0x20
call fcn.004490b3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x204], edx
xor eax, eax
mov dword [ebp - 0x200], 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 - 0x37c]
push eax
call fcn.0042c640
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1fc], eax
test esi, esi
je 0x42bf4d
mov edx, eax
nop
lea eax, [ecx + 0xba]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42bf30
mov edx, dword [ebp - 0x204]
mov eax, dword [ebp - 0x1fc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042a870
mov dword [ebp - 0x200], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42bf87
mov edx, eax
lea eax, [ecx + 0xba]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42bf70
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.00426e30
lea ecx, [ebp - 0x148]
call fcn.00416c40
xor al, al
jmp 0x42c42d
push 0
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x42c216
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.0044b7d0
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00416e00
mov dword [ebp - 4], 8
mov eax, 0x1e
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xd200ed
mov dword [ebp - 0x50], 0xf500d2
mov dword [ebp - 0x4c], 0xcb00ca
mov dword [ebp - 0x48], 0x9300b0
mov dword [ebp - 0x44], 0xa000a7
mov dword [ebp - 0x40], 0xac00a1
mov dword [ebp - 0x3c], 0xa200b0
mov dword [ebp - 0x38], 0xac009a
mov dword [ebp - 0x34], 0xbb00b9
mov dword [ebp - 0x30], 0xa300a3
mov dword [ebp - 0x2c], 0xaa00bd
mov dword [ebp - 0x28], 0xb400f0
mov dword [ebp - 0x24], 0xa100a0
mov dword [ebp - 0x20], 0xa700bb
mov dword [ebp - 0x1c], 0xf700ec
mov dword [ebp - 0x18], 0xd8
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x42c070
xor ecx, ecx
lea edx, [ebp - 0x54]
mov word [ebp + eax*2 - 0x54], cx
lea ecx, [ebp - 0x138]
call fcn.0041caa0
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c560
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0x9b0096
xor ecx, ecx
mov dword [ebp - 0x210], 0xcf00c9
mov dword [ebp - 0x20c], 0x8500d2
mov dword [ebp - 0x208], 0xc100e0
nop dword [eax + eax]
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42c0e0
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041caa0
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.004277f0
mov edx, dword [0x491778]
mov dword [ebp - 0x204], edx
test edx, edx
jne 0x42c16e
push 0x20
call fcn.004490b3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x204], edx
xor eax, eax
mov dword [ebp - 0x200], 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 - 0x37c]
push eax
call fcn.0042c770
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1fc], eax
test esi, esi
je 0x42c1ad
mov edx, eax
nop
lea eax, [ecx + 0xba]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42c190
mov edx, dword [ebp - 0x204]
mov eax, dword [ebp - 0x1fc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042a870
mov dword [ebp - 0x200], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42c1e7
mov edx, eax
lea eax, [ecx + 0xba]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42c1d0
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.00426e30
lea ecx, [ebp - 0x148]
call fcn.00416c40
xor al, al
jmp 0x42c42d
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 0x42c423
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.0044b7d0
add esp, 4
lea ecx, [ebp - 0x1f8]
call fcn.00416e00
mov dword [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x50], 0x1b
mov dword [ebp - 0x4c], 0xd200ed
mov dword [ebp - 0x48], 0xf500d2
mov dword [ebp - 0x44], 0xcb00ca
mov dword [ebp - 0x40], 0x9000b0
mov dword [ebp - 0x3c], 0xa600b7
mov dword [ebp - 0x38], 0xbc00b6
mov dword [ebp - 0x34], 0xa2008e
mov dword [ebp - 0x30], 0xad00a9
mov dword [ebp - 0x2c], 0xb900af
mov dword [ebp - 0x28], 0xed00bf
mov dword [ebp - 0x24], 0xbd00ab
mov dword [ebp - 0x20], 0xbe00a2
mov dword [ebp - 0x1c], 0xe900a0
mov dword [ebp - 0x18], 0xd500f4
nop
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x42c2e0
xor ecx, ecx
lea edx, [ebp - 0x4c]
mov word [ebp + eax*2 - 0x4c], cx
lea ecx, [ebp - 0x1e8]
call fcn.0041caa0
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c560
mov edi, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x214], 0x9b0096
xor ecx, ecx
mov dword [ebp - 0x210], 0xcf00c9
mov dword [ebp - 0x20c], 0x8500d2
mov dword [ebp - 0x208], 0xc100e0
nop dword [eax + eax]
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x42c350
xor ecx, ecx
lea edx, [ebp - 0x214]
mov word [ebp + eax*2 - 0x214], cx
mov ecx, edi
call fcn.0041caa0
mov edx, dword [ebp - 0x21c]
mov ecx, eax
call fcn.004277f0
call fcn.00424b40
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x37c]
push eax
call fcn.0042c8a0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
test edx, edx
je 0x42c3c2
nop
lea eax, [ecx + 0xba]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42c3b0
xor eax, eax
mov word [esi + edx*2 + 4], ax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042a870
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x42c3f3
lea eax, [ecx + 0xba]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x42c3e2
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.00426e30
lea ecx, [ebp - 0x1f8]
call fcn.00416c40
xor al, al
jmp 0x42c42d
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.00448dec
mov esp, ebp
pop ebp
ret
call fcn.0044e6c9
int3