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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470a70
mov eax, dword fs:[0]
push eax
sub esp, 0x354
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
xor eax, eax
mov dword [ebp - 0x3c], 0
push eax
push 0x481780
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.0040c1a0
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 0x42c40a
call fcn.0040a990
lea ecx, [ebp - 0x4c]
call fcn.0040a8e0
movups xmm0, xmmword [ebp - 0x23c]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x22c]
movq qword [ebp - 0x3c], xmm0
jmp 0x42c506
call fcn.0040a990
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.0042d920
mov byte [ebp - 4], 2
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x42c479
xor eax, eax
mov dword [ebp - 0x214], esi
push eax
push 0x481780
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
call fcn.0040c1a0
jmp 0x42c497
call fcn.00459452
xor edx, edx
mov ecx, dword [ebp - 0x28]
div esi
lea eax, [edx + edx*2]
lea eax, [ecx + eax*8]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040a990
lea ecx, [ebp - 0x28]
call fcn.0040bc60
lea ecx, [ebp - 0x4c]
call fcn.0040a8e0
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 0x42c503
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c4f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d05d
push edx
push ecx
call fcn.00447495
add esp, 8
lea esi, [edi + 0x70]
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 0x42c722
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416ed0
mov byte [ebp - 4], 3
mov eax, 0x1c
mov dword [ebp - 0x1f8], eax
xor ecx, ecx
mov dword [ebp - 0x1f4], 0xf800c7
mov dword [ebp - 0x1f0], 0xdb00fc
mov dword [ebp - 0x1ec], 0xe100e0
mov dword [ebp - 0x1e8], 0xd400e6
mov dword [ebp - 0x1e4], 0xf700f7
mov dword [ebp - 0x1e0], 0xfe00f4
mov dword [ebp - 0x1dc], 0xe900ff
mov dword [ebp - 0x1d8], 0xf300be
mov dword [ebp - 0x1d4], 0xd200c1
mov dword [ebp - 0x1d0], 0x8300d6
mov dword [ebp - 0x1cc], 0xd700c1
mov dword [ebp - 0x1c8], 0xc800d4
mov dword [ebp - 0x1c4], 0x8900da
mov dword [ebp - 0x1c0], 0x8b0090
mov dword [ebp - 0x1bc], 0xac
nop
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x1f4], ax
inc ecx
mov eax, dword [ebp - 0x1f8]
cmp ecx, eax
jb 0x42c600
xor ecx, ecx
lea edx, [ebp - 0x1f4]
mov word [ebp + eax*2 - 0x1f4], cx
lea ecx, [ebp - 0xec]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
mov edx, dword [0x48d810]
mov dword [ebp - 0x1b4], edx
test edx, edx
jne 0x42c68c
push 0x20
call fcn.004470ea
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x1b4], 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 - 0x360]
push eax
call fcn.0042d080
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1b8], eax
test esi, esi
je 0x42c6cd
mov edx, eax
nop dword [eax]
lea eax, [ecx + 0x90]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x42c6b0
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.0042a1d0
mov dword [ebp - 0x1b8], eax
mov esi, dword [eax]
lea edi, [eax + 4]
test esi, esi
je 0x42c707
mov edx, eax
lea eax, [ecx + 0x90]
xor word [edi + ecx*2], ax
inc ecx
mov esi, dword [edx]
cmp ecx, esi
jb 0x42c6f0
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 0x42cb55
cmp dword [esi], 2
mov eax, 0x100
mov ecx, 0x800100
mov dword [ebp - 0x18], 0x48218c
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 0x42c85a
sub eax, 1
je 0x42c81f
sub eax, 1
je 0x42c7f3
push 0xb0
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416ed0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.0041c840
call fcn.00424c40
mov esi, eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d190
mov ecx, eax
call fcn.0041c3a0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a1d0
mov ecx, eax
call fcn.0041c3a0
lea ecx, [ebp - 0xfc]
push ecx
push ecx
push 0x12f
push eax
push 0
mov ecx, esi
call fcn.00426840
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0
call fcn.00416d10
lea esi, [edi + 0x70]
jmp 0x42c864
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], 0xd400d8
mov dword [ebp - 0x24], 0xd700d3
mov dword [ebp - 0x20], 0x94
call fcn.0041c3a0
mov dword [ebp - 0x1b4], eax
jmp 0x42c864
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 4
mov dword [ebp - 0x218], 0xde00c0
mov dword [ebp - 0x214], 0xc700c1
mov dword [ebp - 0x210], 0x94
call fcn.0041c3a0
mov dword [ebp - 0x1b4], eax
jmp 0x42c864
mov dword [ebp - 0x1b4], 0x482194
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call fcn.00428190
cmp dword [eax + 0x14], 8
jb 0x42c87a
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 0x42c8d8
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c8ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d062
push edx
push ecx
call fcn.00447495
add esp, 8
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x42ca8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416ed0
mov byte [ebp - 4], 5
mov eax, 0x20
mov dword [ebp - 0x200], eax
xor ecx, ecx
mov dword [ebp - 0x1fc], 0xf800c7
mov dword [ebp - 0x1f8], 0xdb00fc
mov dword [ebp - 0x1f4], 0xe100e0
mov dword [ebp - 0x1f0], 0xd800e6
mov dword [ebp - 0x1ec], 0xfc00e8
mov dword [ebp - 0x1e8], 0xc900f4
mov dword [ebp - 0x1e4], 0xec00f9
mov dword [ebp - 0x1e0], 0xfa00eb
mov dword [ebp - 0x1dc], 0xd500d3
mov dword [ebp - 0x1d8], 0xcf0082
mov dword [ebp - 0x1d4], 0xd600c5
mov dword [ebp - 0x1d0], 0x8700d2
mov dword [ebp - 0x1cc], 0xdb00cd
mov dword [ebp - 0x1c8], 0xc400d8
mov dword [ebp - 0x1c4], 0x8d00de
mov dword [ebp - 0x1c0], 0x8f0094
mov dword [ebp - 0x1bc], 0xb0
nop dword [eax + eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x1fc], ax
inc ecx
mov eax, dword [ebp - 0x200]
cmp ecx, eax
jb 0x42c9d0
xor ecx, ecx
lea edx, [ebp - 0x1fc]
mov word [ebp + eax*2 - 0x1fc], cx
lea ecx, [ebp - 0xec]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
call fcn.00424c40
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d2a0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
test edx, edx
je 0x42ca42
nop dword [eax]
lea eax, [ecx + 0x90]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x42ca30
xor eax, eax
mov word [esi + edx*2 + 4], ax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a1d0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x42ca73
lea eax, [ecx + 0x90]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x42ca62
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 0x42cb55
cmp byte [edi + 0x26], 0
jne 0x42cb73
cmp dword [esi], 2
jne 0x42cb73
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 0x42cb73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416ed0
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 6
push eax
call fcn.0042d3b0
mov ecx, eax
call fcn.0041c3a0
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
call fcn.00424c40
mov esi, eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d4e0
mov ecx, eax
call fcn.0041c3a0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a1d0
mov ecx, eax
call fcn.0041c3a0
lea ecx, [ebp - 0xfc]
push ecx
push ecx
push 0x14a
push eax
mov ecx, esi
push 0
call fcn.00426840
lea ecx, [ebp - 0xfc]
call fcn.00416d10
mov byte [ebp - 0x1ad], 0
jmp 0x42d006
push 0xb0
lea eax, [ebp - 0x1ac]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0x1ac]
call fcn.00416ed0
mov byte [ebp - 4], 7
mov eax, 6
mov dword [ebp - 0x220], eax
xor ecx, ecx
mov dword [ebp - 0x21c], 0xfe00d8
mov dword [ebp - 0x218], 0xe700e1
mov dword [ebp - 0x214], 0xb500ae
mov dword [ebp - 0x210], 0x96
nop dword [eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x21c], ax
inc ecx
mov eax, dword [ebp - 0x220]
cmp ecx, eax
jb 0x42cbd0
xor ecx, ecx
lea edx, [ebp - 0x21c]
mov word [ebp + eax*2 - 0x21c], cx
lea ecx, [ebp - 0x19c]
call fcn.0041cb60
push dword [ebp - 0x1b8]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0040a990
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.0041d150
mov byte [ebp - 4], 7
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x42cc6e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cc64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d067
push edx
push ecx
call fcn.00447495
add esp, 8
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00416e10
cmp dword [eax + 0x14], 8
jb 0x42cc88
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 0x42cce1
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ccd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d06c
push edx
push ecx
call fcn.00447495
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x42ce4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416ed0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x26
mov dword [ebp - 0x208], 0xf800c7
mov dword [ebp - 0x204], 0xdb00fc
mov dword [ebp - 0x200], 0xe100e0
mov dword [ebp - 0x1fc], 0xd600e6
mov dword [ebp - 0x1f8], 0xfd00fc
mov dword [ebp - 0x1f4], 0xfe00c8
mov dword [ebp - 0x1f0], 0xe800ed
mov dword [ebp - 0x1ec], 0xec00fb
mov dword [ebp - 0x1e8], 0xe900d4
mov dword [ebp - 0x1e4], 0xc200c7
mov dword [ebp - 0x1e0], 0xc000c0
mov dword [ebp - 0x1dc], 0xd400d4
mov dword [ebp - 0x1d8], 0xc50088
mov dword [ebp - 0x1d4], 0xd800cb
mov dword [ebp - 0x1d0], 0x8d00d8
mov dword [ebp - 0x1cc], 0xdd00cb
mov dword [ebp - 0x1c8], 0xde00c2
mov dword [ebp - 0x1c4], 0x9300c0
mov dword [ebp - 0x1c0], 0x95008e
mov dword [ebp - 0x1bc], 0xb6
call fcn.0041c3a0
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
call fcn.00424c40
mov esi, eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d5f0
mov ecx, eax
call fcn.0041c3a0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a1d0
mov ecx, eax
call fcn.0041c3a0
lea ecx, [ebp - 0xfc]
push ecx
push ecx
push 0x155
jmp 0x42cfd6
cmp dword [edi + 0x6c], 1
jne 0x42cff4
cmp dword [edi + 0xdc], 8
lea eax, [edi + 0xc8]
jb 0x42ce65
mov eax, dword [eax]
push 0xa0000000
push 0xffffffffffffffff
push eax
push dword [edi + 0x20]
call esi
test eax, eax
jne 0x42cff4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.00449480
add esp, 4
lea ecx, [ebp - 0xfc]
call fcn.00416ed0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x26
mov dword [ebp - 0x208], 0xf800c7
mov dword [ebp - 0x204], 0xdb00fc
mov dword [ebp - 0x200], 0xe100e0
mov dword [ebp - 0x1fc], 0xd600e6
mov dword [ebp - 0x1f8], 0xfd00fc
mov dword [ebp - 0x1f4], 0xfe00c8
mov dword [ebp - 0x1f0], 0xe800ed
mov dword [ebp - 0x1ec], 0xec00fb
mov dword [ebp - 0x1e8], 0xe900d4
mov dword [ebp - 0x1e4], 0xc200c7
mov dword [ebp - 0x1e0], 0xc000c0
mov dword [ebp - 0x1dc], 0xd400d4
mov dword [ebp - 0x1d8], 0xc50088
mov dword [ebp - 0x1d4], 0xd800cb
mov dword [ebp - 0x1d0], 0x8d00d8
mov dword [ebp - 0x1cc], 0xdd00cb
mov dword [ebp - 0x1c8], 0xde00c2
mov dword [ebp - 0x1c4], 0x9300c0
mov dword [ebp - 0x1c0], 0x95008e
mov dword [ebp - 0x1bc], 0xb6
call fcn.0041c3a0
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.0041cb60
push dword [edi + 0x68]
mov ecx, eax
call fcn.0041c590
call fcn.00424c40
mov esi, eax
lea eax, [ebp - 0x360]
push eax
call fcn.0042d700
mov ecx, eax
call fcn.0041c3a0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042a1d0
mov ecx, eax
call fcn.0041c3a0
lea ecx, [ebp - 0xfc]
push ecx
push ecx
push 0x15e
push eax
push 0
mov ecx, esi
call fcn.00426840
lea ecx, [ebp - 0xfc]
call fcn.00416d10
mov byte [ebp - 0x1ad], 0
jmp 0x42cffb
mov byte [ebp - 0x1ad], 1
lea ecx, [ebp - 0x1ac]
call fcn.00416d10
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x42d03c
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d032
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d071
push edx
push ecx
call fcn.00447495
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.00446e47
mov esp, ebp
pop ebp
ret
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
int3