Function at 0x407fa6
Capabilities:
Encode data using xor

Disassembly:
push 0x1d0
mov eax, 0x435725
call fcn.0041c69a
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 0x43f810
mov dword [ebp - 0x194], 1
call fcn.00404325
pop ecx
mov dword [ebp - 4], 1
lea edi, [ebp - 0x1c0]
cmp byte [0x43f915], 0
mov esi, str.rXSvBOzTRZ
push 0x31
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 0x408036
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x1c0], dl
inc ecx
cmp ecx, 0xe
jl 0x408020
mov esi, str._PDY_U_t_t
lea edi, [ebp - 0x1b0]
push 0x31
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, 0x34
xor byte [ebp + ecx - 0x1b0], dl
inc ecx
cmp ecx, 0xd
jl 0x40804a
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.00408d63
mov esi, str.rXSPHHHWS_
mov dword [ebp - 0x19c], eax
lea edi, [ebp - 0x30]
xor ecx, ecx
push 0x31
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, 0x34
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xf
jl 0x40809f
mov esi, str._PDY_U_t_t
lea edi, [ebp - 0x20]
push 0x31
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, 0x34
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xd
jl 0x4080c3
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 0x40825b
test byte [ebp - 0x190], 0x10
je 0x4081df
lea ecx, [ebp - 0x164]
cmp byte [ecx], 0x2e
jne 0x40812f
movzx eax, byte [ecx + 1]
test al, al
je 0x40823e
lea edx, [ebp - 0x164]
mov edi, 0x43f814
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x40814f
inc ecx
cmp ecx, 3
jne 0x40813c
xor eax, eax
jmp 0x408154
sbb eax, eax
or eax, 1
test eax, eax
je 0x40823e
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x1dc]
push 0x43f144
call fcn.00404325
pop ecx
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.0040464d
push eax
lea ecx, [ebp - 0x38]
call fcn.00404084
or dword [ebp - 0x194], 4
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 4
call fcn.00402636
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.00407fa6
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.0040913c
lea ecx, [ebp - 0x20]
call fcn.004041b7
jmp 0x408232
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x1dc]
push 0x43f144
call fcn.00404325
pop ecx
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.0040464d
push eax
lea ecx, [ebp - 0x38]
call fcn.00404084
or dword [ebp - 0x194], 2
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 8
call fcn.00402636
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00408a69
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00402636
lea eax, [ebp - 0x190]
push eax
push esi
call dword [ebp - 0x1a0]
test eax, eax
jne 0x40810b
push esi
call dword [ebp - 0x19c]
lea ecx, [ebp - 0x50]
call fcn.00402636
mov eax, ebx
call fcn.0041c649
ret