Function at 0x42c460
Capabilities:
Encode data using xor
Prepare http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471100
mov eax, dword fs:[0]
push eax
sub esp, 0x354
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
xor eax, eax
mov dword [ebp - 0x3c], 0
push eax
push 0x4827b0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.0040c290
lea esi, [edi + 0x70]
mov dword [ebp - 4], 0
cmp dword [esi], 2
lea eax, [esi + 8]
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x1b8], eax
push eax
jne 0x42c4fa
call fcn.0040aa80
lea ecx, [ebp - 0x4c]
call fcn.0040a9d0
movups xmm0, xmmword [ebp - 0x23c]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x22c]
movq qword [ebp - 0x3c], xmm0
jmp 0x42c601
call fcn.0040aa80
mov byte [ebp - 4], 1
lea edx, [ebp - 0x23c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.0042da20
mov byte [ebp - 4], 2
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1b4], eax
jne 0x42c573
xor eax, eax
mov dword [ebp - 0x214], 0
push eax
push 0x4827b0
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
call fcn.0040c290
jmp 0x42c595
call fcn.00459b02
xor edx, edx
mov ecx, dword [ebp - 0x28]
div dword [ebp - 0x1b4]
lea eax, [edx + edx*2]
lea eax, [ecx + eax*8]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040aa80
lea ecx, [ebp - 0x28]
call fcn.0040bd50
lea ecx, [ebp - 0x4c]
call fcn.0040a9d0
movups xmm0, xmmword [ebp - 0x224]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x214]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x228]
movq qword [ebp - 0x3c], xmm0
cmp edx, 8
jb 0x42c601
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c5f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d15d
push edx
push ecx
call fcn.00447b45
add esp, 8
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
movzx eax, word [edi + 0x74]
cmovae ecx, dword [ebp - 0x4c]
push 0
push eax
push ecx
push dword [edi + 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [edi + 0x1c], eax
test eax, eax
jne 0x42c822
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416fc0
mov byte [ebp - 4], 3
mov eax, 0x1c
mov dword [ebp - 0x1f8], eax
xor ecx, ecx
mov dword [ebp - 0x1f4], 0xd000ef
mov dword [ebp - 0x1f0], 0xf300d4
mov dword [ebp - 0x1ec], 0xc900c8
mov dword [ebp - 0x1e8], 0xfc00ce
mov dword [ebp - 0x1e4], 0xaf00af
mov dword [ebp - 0x1e0], 0xa600ac
mov dword [ebp - 0x1dc], 0xb100a7
mov dword [ebp - 0x1d8], 0xab00e6
mov dword [ebp - 0x1d4], 0xba00a9
mov dword [ebp - 0x1d0], 0xeb00be
mov dword [ebp - 0x1cc], 0xbf00a9
mov dword [ebp - 0x1c8], 0xa000bc
mov dword [ebp - 0x1c4], 0xf100a2
mov dword [ebp - 0x1c0], 0xf300e8
mov dword [ebp - 0x1bc], 0xd4
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1f4], ax
inc ecx
mov eax, dword [ebp - 0x1f8]
cmp ecx, eax
jb 0x42c700
xor ecx, ecx
lea edx, [ebp - 0x1f4]
mov word [ebp + eax*2 - 0x1f4], cx
lea ecx, [ebp - 0xec]
call fcn.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
mov edx, dword [0x48e810]
mov dword [ebp - 0x1b4], edx
test edx, edx
jne 0x42c78c
push 0x20
call fcn.0044779a
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x1b4], 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 - 0x360]
push eax
call fcn.0042d180
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1b8], eax
test esi, esi
je 0x42c7cd
mov edx, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42c7b0
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1b8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a2c0
mov dword [ebp - 0x1b8], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42c807
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42c7f0
mov edx, dword [ebp - 0x1b4]
xor eax, eax
mov word [edi + esi*2], ax
lea eax, [ebp - 0xfc]
push eax
push ecx
push 0x119
push edi
mov ecx, edx
jmp 0x42cc55
cmp dword [esi], 2
mov eax, 0x100
mov ecx, 0x800100
mov dword [ebp - 0x18], 0x4831bc
cmove eax, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x1b4], 0
sub eax, 0
je 0x42c95a
sub eax, 1
je 0x42c91f
sub eax, 1
je 0x42c8f3
push 0xb0
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416fc0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.0041c930
call fcn.00424d30
mov esi, eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d290
mov ecx, eax
call fcn.0041c490
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a2c0
mov ecx, eax
call fcn.0041c490
lea ecx, [ebp - 0xfc]
push ecx
push ecx
push 0x12f
push eax
push 0
mov ecx, esi
call fcn.00426930
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.00416e00
lea esi, [edi + 0x70]
jmp 0x42c964
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], 0xfc00f0
mov dword [ebp - 0x24], 0xff00fb
mov dword [ebp - 0x20], 0xbc
call fcn.0041c490
mov dword [ebp - 0x1b4], eax
jmp 0x42c964
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 4
mov dword [ebp - 0x218], 0xf600e8
mov dword [ebp - 0x214], 0xef00e9
mov dword [ebp - 0x210], 0xbc
call fcn.0041c490
mov dword [ebp - 0x1b4], eax
jmp 0x42c964
mov dword [ebp - 0x1b4], 0x4831c4
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call fcn.00428280
cmp dword [eax + 0x14], 8
jb 0x42c97a
mov eax, dword [eax]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x1b4]
push dword [edi + 0x1c]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x228]
mov dword [edi + 0x20], eax
cmp edx, 8
jb 0x42c9d8
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c9ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d162
push edx
push ecx
call fcn.00447b45
add esp, 8
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x42cb8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416fc0
mov byte [ebp - 4], 5
mov eax, 0x20
mov dword [ebp - 0x200], eax
xor ecx, ecx
mov dword [ebp - 0x1fc], 0xd000ef
mov dword [ebp - 0x1f8], 0xf300d4
mov dword [ebp - 0x1f4], 0xc900c8
mov dword [ebp - 0x1f0], 0xf000ce
mov dword [ebp - 0x1ec], 0xa400b0
mov dword [ebp - 0x1e8], 0x9100ac
mov dword [ebp - 0x1e4], 0xb400a1
mov dword [ebp - 0x1e0], 0xa200b3
mov dword [ebp - 0x1dc], 0xbd00bb
mov dword [ebp - 0x1d8], 0xa700ea
mov dword [ebp - 0x1d4], 0xbe00ad
mov dword [ebp - 0x1d0], 0xef00ba
mov dword [ebp - 0x1cc], 0xa300b5
mov dword [ebp - 0x1c8], 0xbc00a0
mov dword [ebp - 0x1c4], 0xf500a6
mov dword [ebp - 0x1c0], 0xf700ec
mov dword [ebp - 0x1bc], 0xd8
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1fc], ax
inc ecx
mov eax, dword [ebp - 0x200]
cmp ecx, eax
jb 0x42cad0
xor ecx, ecx
lea edx, [ebp - 0x1fc]
mov word [ebp + eax*2 - 0x1fc], cx
lea ecx, [ebp - 0xec]
call fcn.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
call fcn.00424d30
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d3a0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
test edx, edx
je 0x42cb42
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42cb30
xor eax, eax
mov word [esi + edx*2 + 4], ax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a2c0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x42cb73
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x42cb62
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0xfc]
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
push 0x13e
push esi
jmp 0x42cc55
cmp byte [edi + 0x26], 0
jne 0x42cc73
cmp dword [esi], 2
jne 0x42cc73
push 4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1100
push ecx
push 0x1f
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x42cc73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416fc0
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 6
push eax
call fcn.0042d4b0
mov ecx, eax
call fcn.0041c490
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
call fcn.00424d30
mov esi, eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d5e0
mov ecx, eax
call fcn.0041c490
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a2c0
mov ecx, eax
call fcn.0041c490
lea ecx, [ebp - 0xfc]
push ecx
push ecx
push 0x14a
push eax
mov ecx, esi
push 0
call fcn.00426930
lea ecx, [ebp - 0xfc]
call fcn.00416e00
mov byte [ebp - 0x1ad], 0
jmp 0x42d106
push 0xb0
lea eax, [ebp - 0x1ac]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0x1ac]
call fcn.00416fc0
mov byte [ebp - 4], 7
mov eax, 6
mov dword [ebp - 0x220], eax
xor ecx, ecx
mov dword [ebp - 0x21c], 0xd600f0
mov dword [ebp - 0x218], 0xcf00c9
mov dword [ebp - 0x214], 0x9d0086
mov dword [ebp - 0x210], 0xbe
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x21c], ax
inc ecx
mov eax, dword [ebp - 0x220]
cmp ecx, eax
jb 0x42ccd0
xor ecx, ecx
lea edx, [ebp - 0x21c]
mov word [ebp + eax*2 - 0x21c], cx
lea ecx, [ebp - 0x19c]
call fcn.0041cc50
push dword [ebp - 0x1b8]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0040aa80
mov byte [ebp - 4], 8
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
mov ecx, esi
push dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x34]
call fcn.0041d240
mov byte [ebp - 4], 7
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x42cd6e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cd64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d167
push edx
push ecx
call fcn.00447b45
add esp, 8
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00416f00
cmp dword [eax + 0x14], 8
jb 0x42cd88
mov eax, dword [eax]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push 0xa0000000
push 0xffffffffffffffff
push eax
push dword [edi + 0x20]
call esi
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x1c], eax
cmp edx, 8
jb 0x42cde1
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cdd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d16c
push edx
push ecx
call fcn.00447b45
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x42cf4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416fc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x26
mov dword [ebp - 0x208], 0xd000ef
mov dword [ebp - 0x204], 0xf300d4
mov dword [ebp - 0x200], 0xc900c8
mov dword [ebp - 0x1fc], 0xfe00ce
mov dword [ebp - 0x1f8], 0xa500a4
mov dword [ebp - 0x1f4], 0xa60090
mov dword [ebp - 0x1f0], 0xb000b5
mov dword [ebp - 0x1ec], 0xb400a3
mov dword [ebp - 0x1e8], 0x8100bc
mov dword [ebp - 0x1e4], 0xaa00af
mov dword [ebp - 0x1e0], 0xa800a8
mov dword [ebp - 0x1dc], 0xbc00bc
mov dword [ebp - 0x1d8], 0xbd00f0
mov dword [ebp - 0x1d4], 0xa000b3
mov dword [ebp - 0x1d0], 0xf500a0
mov dword [ebp - 0x1cc], 0xa500b3
mov dword [ebp - 0x1c8], 0xb600aa
mov dword [ebp - 0x1c4], 0xfb00a8
mov dword [ebp - 0x1c0], 0xfd00e6
mov dword [ebp - 0x1bc], 0xde
call fcn.0041c490
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
call fcn.00424d30
mov esi, eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d6f0
mov ecx, eax
call fcn.0041c490
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a2c0
mov ecx, eax
call fcn.0041c490
lea ecx, [ebp - 0xfc]
push ecx
push ecx
push 0x155
jmp 0x42d0d6
cmp dword [edi + 0x6c], 1
jne 0x42d0f4
cmp dword [edi + 0xdc], 8
lea eax, [edi + 0xc8]
jb 0x42cf65
mov eax, dword [eax]
push 0xa0000000
push 0xffffffffffffffff
push eax
push dword [edi + 0x20]
call esi
test eax, eax
jne 0x42d0f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449b30
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416fc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x26
mov dword [ebp - 0x208], 0xd000ef
mov dword [ebp - 0x204], 0xf300d4
mov dword [ebp - 0x200], 0xc900c8
mov dword [ebp - 0x1fc], 0xfe00ce
mov dword [ebp - 0x1f8], 0xa500a4
mov dword [ebp - 0x1f4], 0xa60090
mov dword [ebp - 0x1f0], 0xb000b5
mov dword [ebp - 0x1ec], 0xb400a3
mov dword [ebp - 0x1e8], 0x8100bc
mov dword [ebp - 0x1e4], 0xaa00af
mov dword [ebp - 0x1e0], 0xa800a8
mov dword [ebp - 0x1dc], 0xbc00bc
mov dword [ebp - 0x1d8], 0xbd00f0
mov dword [ebp - 0x1d4], 0xa000b3
mov dword [ebp - 0x1d0], 0xf500a0
mov dword [ebp - 0x1cc], 0xa500b3
mov dword [ebp - 0x1c8], 0xb600aa
mov dword [ebp - 0x1c4], 0xfb00a8
mov dword [ebp - 0x1c0], 0xfd00e6
mov dword [ebp - 0x1bc], 0xde
call fcn.0041c490
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.0041cc50
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c680
call fcn.00424d30
mov esi, eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d800
mov ecx, eax
call fcn.0041c490
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a2c0
mov ecx, eax
call fcn.0041c490
lea ecx, [ebp - 0xfc]
push ecx
push ecx
push 0x15e
push eax
push 0
mov ecx, esi
call fcn.00426930
lea ecx, [ebp - 0xfc]
call fcn.00416e00
mov byte [ebp - 0x1ad], 0
jmp 0x42d0fb
mov byte [ebp - 0x1ad], 1
lea ecx, [ebp - 0x1ac]
call fcn.00416e00
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x42d13c
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d132
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d171
push edx
push ecx
call fcn.00447b45
add esp, 8
mov al, byte [ebp - 0x1ad]
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
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
int3