Function at 0x40d420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460725
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4780bc]
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 esi, dword [ebp + 0x20]
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 1
call fcn.00415120
mov ebx, eax
test ebx, ebx
jne 0x40d477
push eax
push 0x462c8f
mov ecx, esi
call fcn.004038d0
xor bl, bl
jmp 0x40d6c4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
push 0xfffffffffffffff5
mov byte [ebp - 4], 3
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]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x2712
push ebx
call fcn.004185d0
push 1
push 0x51
push ebx
call fcn.004185d0
add esp, 0x18
mov dword [ebp - 0x1c], 0xdeddc5c1
mov dword [ebp - 0x18], 0xc7c0c3
xor ecx, ecx
mov byte [ebp - 0x14], 1
nop dword [eax]
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 7
jb 0x40d510
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x14], 0
push eax
push 0x2722
push ebx
call fcn.004185d0
push str.bratvapubgm.com
push 0x27c1
push ebx
call fcn.004185d0
push 0x40c080
push 0x4efb
push ebx
call fcn.004185d0
push 0x478930
push 0x2749
push ebx
call fcn.004185d0
push 0
push 0x2b
push ebx
call fcn.004185d0
push 1
push 0x40
push ebx
call fcn.004185d0
add esp, 0x48
lea eax, [ebp + 0x24]
cmp dword [ebp + 0x38], 0x10
cmovae eax, dword [ebp + 0x24]
push eax
push 0x271f
push ebx
call fcn.004185d0
push 0x40e330
push 0x4e2b
push ebx
call fcn.004185d0
lea eax, [ebp - 0x34]
push eax
push 0x2711
push ebx
call fcn.004185d0
push 0x40c140
push 0x4e6f
push ebx
call fcn.004185d0
lea eax, [ebp - 0x4c]
push eax
push 0x272d
push ebx
call fcn.004185d0
push ebx
call fcn.00415160
add esp, 0x40
mov edi, eax
push ebx
call fcn.00415100
add esp, 4
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], 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov ecx, dword [ebp - 0x50]
test edi, edi
je 0x40d61e
push 0
push 0x462c8f
call fcn.004038d0
xor bl, bl
jmp 0x40d638
lea eax, [ebp - 0x34]
cmp ecx, eax
je 0x40d636
cmp dword [ebp - 0x20], 0x10
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.004038d0
mov bl, 1
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x40d66c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d662
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d72c
push ecx
push edx
call fcn.0045e420
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x40d6b2
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d6a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d72c
push ecx
push edx
call fcn.0045e420
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 0x40d6f4
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d6ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d72c
push ecx
push edx
call fcn.0045e420
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 0x40d73c
mov edx, dword [ebp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d732
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d732
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045e420
add esp, 8
mov al, bl
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.0045e42e
mov esp, ebp
pop ebp
ret