Function at 0x40afb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
push 0xd
pop ecx
mov esi, 0x42c260
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
push 0x25
xor ebx, ebx
pop ecx
mov eax, ebx
cmp cx, word [ebp - 0x44]
jne 0x40b000
mov edx, ecx
mov ecx, ebx
test dx, dx
je 0x40b000
cmp word [ebp + ecx - 0x44], bx
je 0x40b000
inc eax
lea ecx, [eax + eax]
movzx edx, word [ecx + 0x42ea00]
cmp dx, word [ebp + ecx - 0x44]
je 0x40afe2
mov esi, 0x42c310
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xc], 0x46
jne 0x40b02c
mov cl, 0x46
mov eax, ebx
test cl, cl
je 0x40b02c
cmp byte [ebp + eax - 0xc], bl
je 0x40b02c
mov cl, byte [eax + 0x42ebb9]
inc eax
cmp cl, byte [ebp + eax - 0xc]
je 0x40b015
mov ebx, dword [0x434314]
lea edi, [ebp - 0x30]
push 8
mov eax, ebx
mov esi, 0x42e728
pop ecx
and eax, 0xf202e585
lea edx, [ebx - 0x226ecf9e]
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x30], 0x64
mov dword [0x434304], edx
mov dword [ebp - 4], eax
jne 0x40b077
mov cl, 0x64
xor eax, eax
test cl, cl
je 0x40b077
cmp byte [ebp + eax - 0x30], 0
je 0x40b077
mov cl, byte [eax + 0x42e931]
inc eax
cmp cl, byte [ebp + eax - 0x30]
je 0x40b05f
mov ecx, dword [ebp - 4]
xor eax, eax
add ecx, 0x2f4d9b00
mov dword [0x434300], ecx
inc eax
cmp byte [eax + str.ForceRemove], 0
jne 0x40b088
cmp dword [ebp - 4], eax
jae 0x40b0a3
imul edx, ebx, 0x4d151105
mov dword [0x434304], edx
mov ebx, dword [0x434318]
xor eax, eax
xor ebx, 0x54c9dd47
inc eax
cmp byte [eax + str.device_or_resource_busy], 0
jne 0x40b0ab
mov dword [0x434318], ebx
cmp dword [ebp - 4], eax
jae 0x40b0da
sub eax, dword [ebp - 4]
mov ecx, dword [0x434314]
or ecx, 0xde3ba8e9
sub eax, 1
jne 0x40b0cf
mov esi, 0x42e014
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 8], 0x44
jne 0x40b108
mov cl, 0x44
xor eax, eax
test cl, cl
je 0x40b108
cmp byte [ebp + eax - 8], 0
je 0x40b108
mov cl, byte [eax + 0x42e9d1]
inc eax
cmp cl, byte [ebp + eax - 8]
je 0x40b0f0
xor eax, eax
inc eax
cmp byte [eax + str.device_or_resource_busy], 0
jne 0x40b10a
cmp eax, 0x1366
jne 0x40b129
xor ebx, 0x3acc709d
mov dword [0x434318], ebx
jmp 0x40b135
and edx, 0xbe774f47
mov dword [0x434304], edx
xor esi, esi
imul ecx, dword [0x434300], 0x7ae27525
inc esi
cmp byte [esi + str.device_or_resource_busy], 0
jne 0x40b141
mov eax, dword [ebp - 4]
jmp 0x40b160
cmp eax, 0x24d0
jne 0x40b15f
mov ecx, edx
xor ecx, 0xae3dccbd
inc eax
cmp eax, esi
jb 0x40b150
lea eax, [ecx + 0x6d951861]
mov dword [0x434314], eax
mov eax, 0x42e9d0
or ecx, 0x26add6d7
inc eax
cmp byte [eax], 0
jne 0x40b174
mov dword [0x434348], ecx
lea edi, [ebp - 0x48]
push 0xe
pop ecx
mov esi, 0x42d704
lea edx, [ebx - 0x263818ef]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov dword [0x434330], edx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x48], 0x64
jne 0x40b1fa
push 0x64
pop eax
test al, al
je 0x40b1c5
cmp byte [ebp + ebx - 0x48], 0
je 0x40b1c5
mov al, byte [ebx + 0x42e931]
inc ebx
cmp al, byte [ebp + ebx - 0x48]
je 0x40b1ad
mov ecx, dword [ebp - 4]
cmp ecx, ebx
jae 0x40b1fa
imul esi, dword [0x434318], 0x777f9193
mov eax, dword [0x434300]
cmp ecx, 0x1a1a
jne 0x40b1ee
imul eax, eax, 0xfdecbe20
mov dword [0x434314], eax
inc ecx
mov eax, esi
cmp ecx, ebx
jb 0x40b1db
mov dword [0x434300], eax
push 0x1f
pop ecx
mov esi, 0x42e748
lea edi, [ebp - 0xc4]
rep movsd dword es:[edi], dword [esi]
push 0x25
xor ebx, ebx
pop esi
mov eax, ebx
cmp si, word [ebp - 0xc4]
jne 0x40b274
mov ecx, ebx
test si, si
je 0x40b240
cmp word [ebp + ecx - 0xc4], bx
je 0x40b240
inc eax
lea ecx, [eax + eax]
movzx esi, word [ecx + 0x42ea00]
cmp si, word [ebp + ecx - 0xc4]
je 0x40b21c
mov ecx, dword [ebp - 4]
cmp ecx, eax
jae 0x40b274
mov esi, dword [0x434304]
cmp ecx, 0x1845
jne 0x40b25b
lea esi, [edx + 0x63ad9603]
mov edx, esi
xor edx, 0x4fa0cda5
inc ecx
cmp ecx, eax
jb 0x40b24d
mov dword [0x434330], edx
mov dword [0x434304], esi
pop edi
pop esi
mov eax, edx
pop ebx
leave
ret