Function at 0x417430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x792a96
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x831184]
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, edx
mov edi, ecx
push 0x260
lea eax, [ebp - 0x294]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x5c
mov dword [ebp - 0x294], 0
add esp, 0xc
mov dword [ebp - 0x40], 0
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, 4
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2a8], eax
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x2a4], 0x8000f5
mov dword [ebp - 0x2a0], 0x860085
mov dword [ebp - 0x29c], 0xad
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x2a4], ax
inc ecx
mov eax, dword [ebp - 0x2a8]
cmp ecx, eax
jb 0x4174e0
xor ecx, ecx
mov dword [ebp - 0x2ac], 7
mov word [ebp + eax*2 - 0x2a4], cx
xor eax, eax
mov dword [ebp - 0x2b0], ecx
lea ecx, [ebp - 0x2a4]
mov word [ebp - 0x2c0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417525
sub ecx, edx
lea eax, [ebp - 0x2a4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c0]
call fcn.004044f0
push esi
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 1
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00403f00
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00402d10
lea ecx, [ebp - 0x2dc]
call fcn.00404220
lea ecx, [ebp - 0x2f4]
call fcn.00404490
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 6
call fcn.00404490
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00404120
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c0]
cmp dword [ebp - 0x2ac], 8
push ecx
cmovae eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x294]
push eax
call fcn.00415f30
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 6
mov esi, eax
call fcn.00404490
test esi, esi
je 0x4177bf
mov eax, dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x417644
mov eax, dword [ebp - 0x290]
shr eax, 4
and eax, 1
je 0x417644
cmp word [ebp - 0x264], 0x2e
jne 0x417644
mov ax, word [ebp - 0x262]
test ax, ax
je 0x417637
cmp ax, 0x2e
jne 0x417644
cmp word [ebp - 0x260], 0
jne 0x417644
mov eax, dword [ebp - 0x294]
test eax, eax
jmp 0x4177a8
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x294]
call fcn.00415c80
mov byte [ebp - 4], 8
mov edx, dword [eax]
xor eax, eax
mov word [ebp - 0x2c0], ax
mov eax, edx
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x298], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417684
sub eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x2c0]
sar eax, 1
push eax
push edx
call fcn.004044f0
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x34]
call fcn.00403b80
lea ecx, [ebp - 0x2c0]
call fcn.00404490
mov edx, dword [ebp - 0x2d0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4176e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x38], 0
je 0x4176fc
mov eax, dword [ebp - 0x290]
shr eax, 4
and eax, 1
jmp 0x4176fe
xor eax, eax
test eax, eax
jne 0x41778b
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.00404120
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00403f00
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2cc]
mov esi, dword [edi + 4]
push eax
cmp dword [edi + 8], esi
je 0x417761
mov ecx, esi
mov dword [ebp - 0x298], esi
call fcn.00404120
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x18]
push eax
call fcn.00403f00
add dword [edi + 4], 0x24
jmp 0x417769
push esi
mov ecx, edi
call fcn.0041bf90
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.00404220
lea ecx, [ebp - 0x2cc]
call fcn.00404490
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x41779a
push 0
lea edx, [ebp - 0x34]
mov ecx, edi
call fcn.00417430
add esp, 4
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x4177bf
cmp dword [ebp - 0x38], 0
je 0x4177bf
lea ecx, [ebp - 0x290]
push ecx
push eax
call esi
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x417603
lea ecx, [ebp - 0x1c]
call fcn.00404220
lea ecx, [ebp - 0x34]
call fcn.00404490
push dword [ebp - 0x40]
mov dword [ebp - 0x38], 0
call fcn.007906c5
mov eax, dword [ebp - 0x294]
add esp, 4
mov dword [ebp - 0x40], 0
test eax, eax
je 0x4177fe
cmp eax, 0xffffffff
je 0x4177fe
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
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.0076eb7e
mov esp, ebp
pop ebp
ret