Function at 0x40608e
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea edx, [ecx + 0x159]
add ebx, 0xffffe112
lea eax, [edx - 0x83f]
xor ecx, 0x525
mov dword [esp + 0x10], ebx
push edi
lea ebp, [esi - 0x1eee]
mov dword [esp + 0x28], ecx
xor esi, 0xd9a
mov dword [esp + 0x20], ebp
cmp ebp, eax
je 0x406363
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x3c]
add ecx, 0xfff9f575
mov eax, dword [edi + 0x9c]
add edx, ecx
imul edx, dword [edi + 0x4c]
mov ecx, dword [edi + 0xe8]
xor dword [edi + 0xa4], ecx
mov dword [edi + 0x4c], edx
mov ebx, dword [eax + ebp]
add ebp, 4
mov eax, dword [0x79d454]
imul ebx, dword [eax + 0x58]
mov eax, dword [eax + 0xa0]
xor eax, dword [edi + 8]
add eax, 0x1c748
add dword [edi + 0x74], eax
mov eax, dword [0x7bb31c]
xor eax, ecx
xor eax, edx
mov edx, ebx
xor eax, 0x108085
shr edx, 0x10
mov dword [edi + 0x4c], eax
mov eax, dword [0x79d454]
mov eax, dword [eax + 0x104]
sub eax, 0xeef84
imul eax, dword [edi + 0xa0]
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0x60]
sub eax, dword [edi + 0xe0]
mov ecx, dword [0x79d454]
add eax, 0x1a
or dword [ecx + 0xe0], eax
mov ecx, dword [0x79d454]
mov eax, dword [edi + 0x2c]
xor eax, 0xd
sub dword [ecx + 0x4c], eax
xor eax, eax
mov ecx, dword [0x79d454]
inc eax
sub eax, dword [edi + 0x60]
add dword [ecx + 0x10], eax
mov eax, dword [0x79d454]
mov ecx, dword [eax + 0xb4]
mov eax, dword [eax + 0x5c]
mov byte [ecx + eax], dl
mov edx, ebx
mov eax, dword [0x79d454]
shr edx, 8
inc dword [eax + 0x5c]
mov eax, dword [0x79d454]
mov ecx, dword [eax + 0xb4]
mov eax, dword [eax + 0x5c]
mov byte [ecx + eax], dl
mov eax, dword [0x79d454]
inc dword [eax + 0x5c]
mov ecx, dword [0x7bb304]
mov eax, dword [0x7bb35c]
mov byte [ecx + eax], bl
mov eax, dword [0x79d454]
inc dword [0x7bb304]
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x80]
add eax, 0xffe8f182
add eax, ecx
imul eax, dword [edi + 0xf8]
mov dword [edi + 0xf8], eax
cmp ebp, 0xbe040
jl 0x4060dc
cmp dword [edi + 0x8c], 0xd9f9
jbe 0x40621d
mov eax, dword [edi + 4]
xor eax, dword [edi + 0xa4]
mov dword [edi + 0x58], eax
add esi, 0x3a6
mov dword [edi + 0x9c], 0x60ed38
xor ebp, ebp
mov eax, dword [edi + 0x4c]
add dword [edi + 0xa0], eax
mov eax, dword [0x7bb344]
mov ecx, dword [edi + 0x5c]
mov ebx, dword [eax + ebp]
add ebp, 4
imul ebx, dword [edi + 0x58]
mov eax, dword [0x7bb35c]
mov edx, ebx
shr edx, 0x18
mov byte [eax + ecx], dl
mov edx, ebx
inc dword [edi + 0x5c]
mov ecx, dword [0x79d454]
mov eax, dword [edi + 0x8c]
xor eax, dword [edi + 0x3c]
sub eax, 0xb2ee1
shr edx, 0x10
add dword [ecx + 0xb0], eax
mov eax, dword [0x79d454]
mov eax, dword [eax + 0x104]
add eax, dword [edi + 0x10c]
xor eax, 0x2d1001
or dword [0x7bb2ac], eax
mov ecx, dword [edi + 0x5c]
mov eax, dword [edi + 0xb4]
mov byte [ecx + eax], dl
mov edx, ebx
inc dword [edi + 0x5c]
mov eax, dword [edi + 0xdc]
sub eax, dword [edi + 8]
add dword [edi + 0x10c], eax
mov eax, dword [0x79d454]
shr edx, 8
mov ecx, dword [eax + 0xb4]
mov eax, dword [eax + 0x5c]
mov byte [ecx + eax], dl
mov eax, dword [0x79d454]
inc dword [eax + 0x5c]
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x5c]
xor eax, 1
sub dword [edi + 0x8c], eax
mov eax, dword [edi + 0xb4]
mov byte [ecx + eax], bl
inc dword [edi + 0x5c]
cmp ebp, 0x20e38
jl 0x40622f
mov eax, dword [0x7bb2b0]
cmp eax, dword [edi + 0xc8]
jb 0x406315
mov eax, dword [edi + 0x2c]
add eax, 0x950b
xor dword [0x7bb39c], eax
jmp 0x40631c
mov dword [edi + 0x58], 0x643a5
mov eax, dword [0x79d454]
mov ebp, dword [esp + 0x20]
xor dword [eax + 0x58], 0x1e759
mov eax, dword [0x7bb3a0]
cmp eax, dword [edi + 0xe8]
jb 0x406349
mov eax, dword [edi + 0x60]
sub eax, 0x48cf89c
xor dword [edi + 0x58], eax
jmp 0x4064ba
mov eax, dword [0x79d454]
mov eax, dword [eax + 0x104]
xor eax, 0x23aa6
mov dword [0x7bb340], eax
jmp 0x4064ba
mov eax, dword [0x7bb2f4]
or eax, 0x1eee
cmp dword [0x7bb358], eax
jne 0x40647f
mov eax, dword [0x79d454]
mov eax, dword [eax + 0xfc]
add eax, ebp
cmp ebp, eax
jbe 0x406464
mov eax, dword [0x7bb34c]
imul eax, dword [0x7bb340]
push eax
push 0x1901
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 8]
or eax, dword [0x7bb358]
imul eax, dword [edi + 0x98]
push eax
mov eax, dword [edi + 0x24]
imul eax, esi
push eax
mov eax, dword [edi + 0xc8]
imul eax, esi
imul eax, ebx
push eax
mov eax, dword [edi + 0xa0]
and eax, dword [edi + 0x6c]
push eax
push edi
call fcn.0040715f
mov eax, dword [esp + 0x3c]
add esp, 0x14
add eax, 0x1f5f
or eax, dword [0x7bb380]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x98]
add eax, 0x1b25
or eax, dword [0x7bb340]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
mov ecx, dword [edi + 0xb0]
mov eax, ebp
mov edx, dword [edi + 0x14]
and eax, 0x1db8
or ecx, dword [edi + 0x74]
add edx, ebp
push eax
lea eax, [ebx + 0x1db8]
and ecx, ebp
push eax
mov eax, dword [esp + 0x30]
or edx, 0x171a
push ecx
push edx
add eax, 0x18f2
push eax
push 0x7bb2a8
call fcn.004046e7
add esp, 0x18
add eax, esi
add eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + ebx]
or dword [edi + 0xc4], eax
jmp 0x4064ba
mov edi, dword [esp + 0x2c]
lea eax, [ebp - 0x1901]
or eax, edx
imul eax, dword [edi + 0x98]
mov dword [edi + 0x98], eax
jmp 0x4064ba
mov edi, dword [esp + 0x2c]
mov edx, ebp
mov eax, dword [edi + 0x60]
and eax, dword [0x7bb374]
and eax, esi
cmp ebp, eax
je 0x4064ba
mov ecx, dword [0x7bb310]
add ebx, 0x22cf
xor ecx, ebx
add edx, 2
mov dword [0x7bb310], ecx
mov eax, dword [edi + 0x60]
and eax, dword [0x7bb374]
and eax, esi
cmp edx, eax
jne 0x4064a0
lea eax, [ebp + 0x18f2]
cmp esi, eax
jge 0x40673f
xor ebp, ebp
mov dword [0x7bb344], 0x706b78
mov ebx, ebp
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0xf4]
add ecx, 0xfffc00c7
add eax, ecx
imul eax, dword [edi + 0x4c]
push 0x54
mov dword [edi + 0x4c], eax
mov eax, dword [0x7bb3b4]
mov ecx, dword [0x7bb2b0]
add eax, 0xfffe38b8
sub ecx, dword [edi + 0xa0]
add eax, ecx
mov dword [0x7bb3b4], eax
mov eax, dword [0x79d454]
mov esi, dword [edi + 0x2c]
mov eax, dword [eax + 0x10]
sub eax, 0x54
xor dword [edi + 0x8c], eax
lea eax, [esi - 0xd]
or dword [edi + 0x60], eax
mov eax, dword [0x7bb344]
mov ecx, dword [ebx + eax]
xor eax, eax
inc eax
add ebx, 4
sub eax, dword [0x7bb34c]
add dword [edi + 0x74], eax
mov eax, 0x108085
sub eax, dword [edi + 0x74]
add dword [edi + 4], eax
lea eax, [esi - 0xd]
add dword [edi + 0xe0], eax
mov eax, dword [0x79d454]
mov edx, dword [eax + 0x58]
mov eax, dword [edi + 0x8c]
sub eax, 0xd24ba
imul edx, ecx
xor eax, esi
mov dword [edi + 0x2c], eax
mov eax, dword [0x79d454]
mov ecx, dword [eax + 0x5c]
mov eax, dword [edi + 0xb4]
mov byte [ecx + eax], dl
mov eax, dword [0x79d454]
pop ecx
inc dword [eax + 0x5c]
mov eax, dword [0x79d454]
sub ecx, dword [eax + 0x10]
sub ecx, dword [0x7bb2f4]
add dword [0x7bb34c], ecx
mov eax, dword [0x7bb388]
add eax, 0xffffffe5
or dword [edi + 0xa0], eax
mov eax, dword [0x7bb2ac]
mov edx, dword [0x79d454]
add eax, 0xffde790f
add eax, dword [edi + 0xf8]
xor dword [edx + 0xe0], eax
mov eax, dword [edi + 0xe8]
add dword [edi + 0xf4], eax
mov eax, dword [edi + 0x80]
sub eax, 0x170e2b
xor dword [0x7bb2c4], eax
cmp ebx, 0x922b0
jl 0x4064d6
mov eax, dword [0x79d454]
mov eax, dword [eax + 0x2c]
xor eax, dword [edi + 0x1c]
add eax, 0xc3608
mov dword [0x7bb300], eax
mov eax, dword [0x7bb370]
cmp eax, dword [edi + 0xa0]
jae 0x406624
mov eax, dword [edi + 0x10c]
sub eax, dword [0x7bb390]
add eax, 0x6829cbdb
xor dword [edi + 0x58], eax
mov dword [0x7bb344], 0x5dabc0
mov edx, dword [edi + 0xb0]
sub edx, dword [edi + 0x10]
mov ebx, dword [edi + 0x58]
add edx, 0x54
push 0x31
pop eax
sub eax, dword [0x7bb2c4]
add dword [edi + 0xa4], eax
mov eax, dword [edi + 0x9c]
push 0xd
mov ecx, dword [eax + ebp]
add ebp, 4
mov eax, dword [edi + 0xf4]
sub eax, dword [0x7bb2ac]
sub eax, 0x3ff2d
mov dword [edi + 0xb0], edx
add dword [edi + 0x8c], eax
mov eax, dword [edi + 0x104]
xor eax, dword [edi + 0x3c]
xor eax, 0xeef85
imul ebx, ecx
mov dword [edi + 0x3c], eax
mov ecx, dword [edi + 0x5c]
pop eax
sub eax, dword [edi + 0x2c]
sub eax, dword [edi + 8]
mov edx, ebx
add dword [edi + 0x60], eax
mov eax, dword [edi + 0xb4]
shr edx, 8
mov byte [ecx + eax], dl
xor eax, eax
inc dword [edi + 0x5c]
inc eax
sub eax, dword [0x7bb34c]
add dword [edi + 0xf4], eax
mov eax, dword [0x79d454]
mov ecx, dword [eax + 0x5c]
mov eax, dword [edi + 0xb4]
mov byte [ecx + eax], bl
mov eax, dword [0x79d454]
inc dword [eax + 0x5c]
mov eax, dword [0x79d454]
mov eax, dword [eax + 0xa4]
dec eax
add eax, dword [edi + 0x60]
imul eax, dword [edi + 4]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x10]
xor eax, dword [edi + 0x98]
xor eax, dword [edi + 0x60]
xor eax, 0x179d67
mov dword [edi + 0x10], eax
mov edx, dword [0x79d454]
mov eax, dword [0x7bb30c]
add eax, 0xffde790f
add eax, dword [edx + 0xf8]
mov dword [0x7bb30c], eax
mov eax, dword [edx + 0xc8]
mov edx, dword [edi + 0xb0]
sub eax, 3
add dword [edi + 8], eax
mov ecx, edx
xor ecx, 0xa1739
add dword [edi + 0x64], ecx
cmp ebp, 0x33120
jl 0x406634
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor eax, 0x15a3
pop ebx
ret