Function at 0x41b7a1
Capabilities:
Clear file content
Encode data using xor
Set file attributes

Disassembly:
sub esp, 0x48
push ebx
movzx eax, byte [0x42901c]
sub dword [0x429010], eax
push esi
adc dword [section..trtfd], 0x3a05
push edi
sub edi, 0x559a
sub esi, esi
mov dword [ebp - 0x20], esi
sub eax, 0x6d46
mov eax, dword [ebp - 0xc]
push 5
and dword [0x42b010], 0
mov edi, dword [0x42b010]
inc edi
mov dword [0x42b010], edi
cmp dword [0x42b010], 0x1e
jne 0x41b80c
push 0x4aeb
push 0x362c
push 0x611c
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp dword [0x42b010], 0x11
jb 0x41b7dd
and dword [0x429020], 0
jmp 0x41b835
mov edi, dword [0x429020]
inc edi
mov dword [0x429020], edi
cmp dword [0x429020], 0x1b
jae 0x41b8cf
cmp dword [0x429020], 5
jne 0x41b867
push 0x6d5d
push 0x6bd3
push 0x2a83
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
cmp dword [0x429020], 4
jne 0x41b881
mov edi, dword [0x429020]
inc edi
mov dword [0x429020], edi
jmp 0x41b828
mov dword [ebp - 0xc], eax
and dword [0x42d01c], 0
mov edi, dword [0x42d01c]
inc edi
mov dword [0x42d01c], edi
cmp dword [0x42d01c], 0x13
jne 0x41b906
push 0x8e10
push 0x424503
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [0x42d01c], 0x11
jb 0x41b8dc
pop edi
push 0x42410d
sub dword [0x42a018], 0x42b000
call dword [sym.imp.KERNEL32.dll_lstrlenA]
adc dword [0x42c014], 0x59ac
push esi
xor dword [0x42d018], 0x57bc
push 2
add dword [0x42a014], 0x11b6
push 1
push 2
and dword [0x42d004], 0x42a01c
push 1
and dword [0x42a004], 0x42b014
push 0x8678768
sbb dword [0x42901c], 0x42c014
push 0x87676776
sub dword [0x42a008], 0x42c014
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push 0x68
push 0xd
push 5
push 3
push 0x5468787
sub dword [0x429014], 0x2577
call dword [sym.imp.USER32.dll_MoveWindow]
xor dword [0x42c00c], 0x43e8
dec edi
mov dword [0x42d008], 0x724a
jne 0x41b914
push 0x424121
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
or dword [0x42b004], 0x42b00c
or eax, eax
je 0x41ba39
add dword [0x429008], edx
mov eax, dword [0x75687681]
and dword [0x429024], 0
mov ebx, dword [0x429024]
inc ebx
mov dword [0x429024], ebx
cmp dword [0x429024], 0x24
jne 0x41ba1b
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0x429024], 0x1e
jb 0x41b9f5
add dword [section..xlsdkf], ebx
imul eax, eax, 0x5463da19
mov dword [0x75687681], eax
not eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [0x42b010]
mov ebx, 0xf89c85b6
cmp eax, ebx
mov dword [0x42d01c], 0x2eca
jne 0x41ba9d
add dword [0x429018], 0x42a018
mov dword [0x424109], 0xf89c85b5
or dword [0x42b01c], 0x42c010
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408410
adc edi, edi
mov ecx, dword [0x423ff9]
mov ecx, dword [ecx + 0x1cc]
sbb esi, 0x7064
mov dword [ecx], eax
mov dword [ebp - 4], ebx
sub esi, 0xffff8fcd
mov dword [ebp - 8], 0xf89c85b5
and dword [section..xlsdkf], 0
jmp 0x41bacb
sub ecx, ecx
add ecx, dword [section..xlsdkf]
inc ecx
mov dword [section..xlsdkf], ecx
cmp dword [section..xlsdkf], 0x1d
jae 0x41bb21
cmp dword [section..xlsdkf], 9
jne 0x41baf8
push 0x42b01c
push dword [ebp - 0x1c]
push 0x42440f
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
cmp dword [section..xlsdkf], 8
jne 0x41bb12
mov ecx, dword [section..xlsdkf]
inc ecx
mov dword [section..xlsdkf], ecx
jmp 0x41babc
lea eax, [ebp - 0x28]
and dword [0x42c008], 0
mov edi, dword [0x42c008]
inc edi
mov dword [0x42c008], edi
cmp dword [0x42c008], 0x17
jne 0x41bb56
push 0x42a00c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
cmp dword [0x42c008], 0x10
jb 0x41bb2e
and dword [0x42900c], 0
jmp 0x41bb81
sub ecx, ecx
or ecx, dword [0x42900c]
inc ecx
mov dword [0x42900c], ecx
cmp dword [0x42900c], 0x1b
jae 0x41bc1c
cmp dword [0x42900c], 0x20
jne 0x41bba4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x41bb72
mov dword [ebp - 0x20], eax
movzx ecx, byte [0x429028]
xor ecx, dword [0x42c00c]
mov dword [0x429028], ecx
lea eax, [ebp - 0x2c]
and dword [0x429004], 0
jmp 0x41bc51
mov esi, dword [0x429004]
inc esi
mov dword [0x429004], esi
cmp dword [0x429004], 0x1e
jae 0x41bcf8
cmp dword [0x429004], 7
jne 0x41bc76
push 0x5e54
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [0x429004], 6
jne 0x41bc92
sub esi, esi
xor esi, dword [0x429004]
inc esi
mov dword [0x429004], esi
jmp 0x41bc44
mov dword [ebp - 0x1c], eax
mov eax, dword [0x423ff9]
mov eax, dword [eax + 0x1c8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov esi, 0x7510893
sub eax, esi
mov edi, 0x3272db
add eax, edi
mov dword [ecx], eax
mov eax, dword [0x424209]
cmp eax, 0x301ac8f5
jne 0x41bd4c
mov eax, dword [ebp - 4]
mov ecx, dword [0x423ff9]
mov ecx, dword [ecx + 0x198]
sub eax, esi
add eax, edi
mov dword [ecx], eax
mov eax, dword [ebp - 4]
sub eax, esi
add eax, edi
mov dword [0x424209], eax
mov eax, dword [0x423ff9]
mov eax, dword [eax + 0x18c]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, 0xf89c85ba
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x38], 0xf89c85be
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
sub edx, esi
sub ecx, esi
add ecx, edx
mov edx, dword [ebp - 8]
sub ebx, esi
sub edx, esi
add ebx, edi
lea ecx, [ecx + edx + 0x975891]
cmp ebx, ecx
ja 0x41bdf9
mov eax, dword [ebp - 8]
sub eax, esi
lea eax, [eax + ebx + 0x3272db]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, esi
lea eax, [ebp + eax + 0x3272e3]
push eax
mov eax, dword [0x423ff9]
push dword [eax + 0x1bc]
call fcn.0040843b
mov eax, dword [ebp - 8]
sub eax, esi
lea ebx, [ebx + eax + 0x3272db]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub ecx, esi
sub eax, esi
add eax, ecx
mov ecx, dword [ebp - 8]
sub ecx, esi
lea eax, [eax + ecx + 0x975891]
cmp ebx, eax
jbe 0x41bd9e
mov eax, 0xf89c85ba
mov ecx, dword [ebp + 0xc]
mov dword [0x423e7d], ecx
mov ecx, dword [ebp + 0x10]
mov dword [0x4240d1], ecx
mov ecx, dword [0x423e7d]
mov edx, dword [ebp - 0x20]
sub ecx, edi
sub ecx, esi
mov dword [edx], ecx
mov edx, dword [ebp - 0xc]
mov ecx, 0xf89c85b6
cmp edx, ecx
jne 0x41be4f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
or eax, eax
je 0x41bf64
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
lea eax, [ebp - 0x24]
jmp 0x41bf5b
mov edx, dword [ebp - 0x28]
cmp edx, 0xf89c85b5
je 0x41beb5
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x2c]
sub edx, esi
add edx, edi
cmp edx, ebx
je 0x41beb5
mov eax, dword [0x423ff9]
mov eax, dword [eax + 0x194]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
push dword [0x4240d1]
mov eax, dword [eax + ecx + 0x28]
push dword [0x423e7d]
add eax, ecx
mov ecx, dword [0x423ff9]
mov ecx, dword [ecx + 0x194]
push dword [ecx]
call eax
mov ecx, dword [0x423ff9]
mov ecx, dword [ecx + 0x1cc]
mov dword [ecx], eax
jmp 0x41bf64
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x30]
sub edx, esi
add edx, edi
cmp edx, ebx
jne 0x41bf1a
mov edx, dword [ebp - 4]
mov ebx, dword [0x423ff9]
mov ebx, dword [ebx + 0x198]
sub edx, esi
add edx, edi
cmp edx, dword [ebx]
jne 0x41bef7
push ecx
mov ecx, dword [ebp - 4]
sub ecx, esi
add ecx, edi
push ecx
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00416ab4
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0041bf86
mov eax, dword [ebp - 4]
sub eax, esi
add eax, edi
mov dword [0x42407d], eax
mov eax, dword [ebp - 4]
sub eax, esi
add eax, edi
mov dword [0x424075], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
or eax, eax
je 0x41bf64
mov dword [ebp - 0x3c], 0xf152c3d
mov dword [ebp - 0x40], 0x712ed08
mov dword [ebp - 0x44], 0x373fc2e
mov dword [ebp - 0x48], 0x72670a1e
call fcn.00411f4a
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
call fcn.0040f9a3
mov eax, dword [0x423ff9]
push 4
add eax, 0x1cc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040843b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret 0xc