Function at 0x4082b0
Capabilities:
Encode data using xor

Disassembly:
push 0x1d0
mov eax, 0x4369c8
call fcn.0041daaa
mov dword [ebp - 0x198], edx
mov ebx, ecx
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x1c4], ebx
xor ecx, ecx
mov dword [ebp - 0x194], ecx
mov edi, ebx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x50]
push 0x44180c
mov dword [ebp - 0x194], 1
call fcn.004043cb
pop ecx
mov dword [ebp - 4], 1
lea edi, [ebp - 0x1c0]
cmp byte [0x4418e9], 0
mov esi, str.s_Yw_CHWS_
push 0x33
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
je 0x408340
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x1c0], dl
inc ecx
cmp ecx, 0xe
jl 0x40832a
mov esi, str.SEVV_b
lea edi, [ebp - 0x1b0]
push 0x33
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x1b0], dl
inc ecx
cmp ecx, 0xd
jl 0x408354
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a0], eax
call fcn.004090d1
mov esi, str.s_Y_
mov dword [ebp - 0x19c], eax
lea edi, [ebp - 0x30]
xor ecx, ecx
push 0x33
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xf
jl 0x4083a9
mov esi, str.SEVV_b
lea edi, [ebp - 0x20]
push 0x33
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xd
jl 0x4083cd
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x3c], 0xf
lea edx, [ebp - 0x190]
lea ecx, [ebp - 0x50]
cmova ecx, dword [ebp - 0x50]
push edx
push ecx
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x408565
test byte [ebp - 0x190], 0x10
je 0x4084e9
lea ecx, [ebp - 0x164]
cmp byte [ecx], 0x2e
jne 0x408439
movzx eax, byte [ecx + 1]
test al, al
je 0x408548
lea edx, [ebp - 0x164]
mov edi, 0x441810
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x408459
inc ecx
cmp ecx, 3
jne 0x408446
xor eax, eax
jmp 0x40845e
sbb eax, eax
or eax, 1
test eax, eax
je 0x408548
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x1dc]
push 0x441158
call fcn.004043cb
pop ecx
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00404734
push eax
lea ecx, [ebp - 0x38]
call fcn.0040412a
or dword [ebp - 0x194], 4
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 4
call fcn.004026b1
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004082b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push 0x18
pop ecx
cdq
idiv ecx
mov ecx, ebx
push eax
push dword [ebp - 0x20]
push dword [ebx + 4]
call fcn.004094aa
lea ecx, [ebp - 0x20]
call fcn.0040425d
jmp 0x40853c
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x1dc]
push 0x441158
call fcn.004043cb
pop ecx
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00404734
push eax
lea ecx, [ebp - 0x38]
call fcn.0040412a
or dword [ebp - 0x194], 2
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 8
call fcn.004026b1
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00408d8d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004026b1
lea eax, [ebp - 0x190]
push eax
push esi
call dword [ebp - 0x1a0]
test eax, eax
jne 0x408415
push esi
call dword [ebp - 0x19c]
lea ecx, [ebp - 0x50]
call fcn.004026b1
mov eax, ebx
call fcn.0041da59
ret