Function at 0x4024c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466318
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x47b400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
call fcn.0040d030
mov ebx, eax
test ebx, ebx
je 0x4027a3
mov edx, 0x47bd44
lea ecx, [ebp - 0x70]
call fcn.00402010
mov edx, 0x47bd2c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402010
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.004050e0
xor edi, edi
cmp dword [ebp - 0x60], edi
jbe 0x402574
nop dword [eax + eax]
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
mov ecx, 0x47bd5c
mov eax, edi
cmova esi, dword [ebp - 0x28]
cmp dword [0x47bd70], 0xf
cmova ecx, dword [0x47bd5c]
xor edx, edx
div dword [0x47bd6c]
mov al, byte [edx + ecx]
xor byte [esi + edi], al
inc edi
cmp edi, dword [ebp - 0x60]
jb 0x402540
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8c]
call fcn.004050e0
xor edi, edi
cmp dword [ebp - 0x48], edi
jbe 0x4025ca
nop
cmp dword [ebp - 0x78], 0xf
lea esi, [ebp - 0x8c]
mov ecx, 0x47bd5c
mov eax, edi
cmova esi, dword [ebp - 0x8c]
cmp dword [0x47bd70], 0xf
cmova ecx, dword [0x47bd5c]
xor edx, edx
div dword [0x47bd6c]
mov al, byte [edx + ecx]
xor byte [esi + edi], al
inc edi
cmp edi, dword [ebp - 0x48]
jb 0x402590
push dword [ebp - 0x74]
lea edx, [ebp - 0x8c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00405b40
mov ecx, dword [ebp - 0x78]
add esp, 4
cmp ecx, 0xf
jbe 0x40261b
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402611
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402611
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00464fb7
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 0x2712
push ebx
call fcn.00410f30
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
push 0x271f
push ebx
call fcn.00410f30
push 0x401760
push 0x4e2b
push ebx
call fcn.00410f30
push 0
push 0x2711
push ebx
call fcn.00410f30
push ebx
call fcn.0040d090
add esp, 0x34
test eax, eax
je 0x402696
push eax
call fcn.0040da90
add esp, 4
push eax
push str.curl_easy_perform___failed:__s_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401170
add esp, 0xc
push ebx
call fcn.0040d010
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 0xf
jbe 0x4026d3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4026c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402793
push ecx
push edx
call fcn.00464fb7
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x402719
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40270f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402793
push ecx
push edx
call fcn.00464fb7
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x40275b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402751
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402793
push ecx
push edx
call fcn.00464fb7
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0xf
jbe 0x4027a3
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402799
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402799
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00464fb7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464d28
mov esp, ebp
pop ebp
ret