Function at 0x40e4a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4620d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x47a0bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 4], 1
call fcn.004167a0
mov edi, eax
test edi, edi
jne 0x40e501
push eax
push 0x463c77
mov ecx, esi
call fcn.004031a0
mov byte [ebp - 0x1f5], 0
jmp 0x40eadc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov dword [ebp - 0x4c], 0
mov eax, 0x5b20
mov dword [ebp - 0x18], 0x32
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0xf
mov word [ebp - 0x4c], ax
mov byte [ebp - 0x4a], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xb0], 0xf
mov word [ebp - 0xc4], 0x3d
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], 0xf
mov word [ebp - 0xac], 0x3e
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 0xf
mov word [ebp - 0x94], 0x2d
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 0xf
mov word [ebp - 0x7c], 0x5d
lea eax, [ebp - 0x1f5]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1f6]
mov byte [ebp - 0x1f7], 1
push eax
lea eax, [ebp - 0x200]
mov dword [ebp - 0x200], 6
push eax
lea eax, [ebp - 0x1f7]
mov byte [ebp - 0x1f6], 1
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x1f5], 1
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00405e00
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 0xa
cmp ecx, 0x10
jb 0x40e6b3
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e6a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb44
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0xb
cmp ecx, 0x10
jb 0x40e6ee
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e6e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb44
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov ecx, dword [ebp - 0x98]
mov byte [ebp - 4], 0xc
cmp ecx, 0x10
jb 0x40e72c
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e722
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb44
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov byte [ebp - 4], 0xd
cmp ecx, 0x10
jb 0x40e76a
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e760
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb44
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 0xe
cmp ecx, 0x10
jb 0x40e7a2
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e798
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb44
push ecx
push edx
call fcn.0045fabc
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x2712
push edi
call fcn.00419c50
push 1
push 0x51
push edi
call fcn.00419c50
add esp, 0x18
mov dword [ebp - 0x1c], 0x90978f97
mov dword [ebp - 0x18], 0x8d8a8d
xor ecx, ecx
mov byte [ebp - 0x14], 1
nop word [eax + eax]
lea eax, [ecx - 7]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 7
jb 0x40e7e0
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x14], 0
push eax
push 0x2722
push edi
call fcn.00419c50
push str.bratvapubgm.com
push 0x27c1
push edi
call fcn.00419c50
push 0x403910
push 0x4efb
push edi
call fcn.00419c50
lea eax, [ebp - 0x1f4]
push eax
push 0x2749
push edi
call fcn.00419c50
push 0
push 0x2b
push edi
call fcn.00419c50
push 1
push 0x40
push edi
call fcn.00419c50
add esp, 0x48
lea eax, [ebp + 0x24]
cmp dword [ebp + 0x38], 0x10
cmovae eax, dword [ebp + 0x24]
push eax
push 0x271f
push edi
call fcn.00419c50
push 0x40f970
push 0x4e2b
push edi
call fcn.00419c50
lea eax, [ebp - 0x34]
push eax
push 0x2711
push edi
call fcn.00419c50
push 0x40cd90
push 0x4e6f
push edi
call fcn.00419c50
lea eax, [ebp - 0x64]
push eax
push 0x272d
push edi
call fcn.00419c50
push edi
call fcn.004167e0
add esp, 0x40
mov dword [ebp - 0x18], eax
push edi
call fcn.00416780
add esp, 4
cmp byte [ebp - 0x1c0], 0
je 0x40e9c6
lea eax, [ebp - 0xfc]
push eax
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x40eb75
mov byte [ebp - 0x1c8], al
lea eax, [ebp - 0xfc]
push eax
call sub.MSVCP140.dll__Mtx_unlock
lea eax, [ebp - 0xfc]
push eax
call sub.MSVCP140.dll__Mtx_lock
add esp, 8
test eax, eax
jne 0x40eb7b
mov byte [ebp - 0x1cc], al
lea eax, [ebp - 0xfc]
push eax
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
lea ecx, [ebp - 0x4c]
push 0x20
call fcn.00401530
movups xmm0, xmmword [str.Downloaded_Successfully]
mov edx, eax
mov dword [ebp - 0x3c], 0x17
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x38], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x463ca4]
mov dword [edx + 0x10], ecx
mov cx, word [0x463ca8]
mov word [edx + 0x14], cx
mov al, byte [0x463caa]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xf
push eax
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x40eb81
lea ecx, [ebp - 0x140]
call fcn.004014e0
movups xmm0, xmmword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1bc]
lea eax, [ebp - 0xfc]
push eax
movups xmmword [ebp - 0x140], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [ebp - 0x130], xmm0
cmp dword [ebp - 0x130], ecx
cmova ecx, dword [ebp - 0x130]
mov dword [ebp - 0x1bc], ecx
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
mov byte [ebp - 4], 0xe
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x200], 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1fc]
je 0x40ea17
push 0
push 0x463c77
call fcn.004031a0
mov byte [ebp - 0x1f5], 0
jmp 0x40ea36
lea eax, [ebp - 0x34]
cmp ecx, eax
je 0x40ea2f
cmp dword [ebp - 0x20], 0x10
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.004031a0
mov byte [ebp - 0x1f5], 1
lea eax, [ebp - 0xfc]
push eax
call sub.MSVCP140.dll__Mtx_destroy_in_situ
add esp, 4
lea ecx, [ebp - 0x1f0]
call fcn.004025d0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x40ea84
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ea7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb44
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0x10
jb 0x40eaca
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eac0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb44
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40eb0c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eb02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb44
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x40eb54
mov edx, dword [ebp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eb4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40eb4a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov al, byte [ebp - 0x1f5]
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.0045faca
mov esp, ebp
pop ebp
ret
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3