Function at 0x432f30
Capabilities:
Encode data using xor
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e76fb
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x519220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], 0
cmp dword [edi + 4], ebx
jbe 0x432fb2
mov eax, ebx
lea esi, [ebp - 0x13c]
and eax, 1
mov ecx, edi
lea esi, [esi + eax*2]
call fcn.00404f70
movzx eax, word [eax + ebx*2]
push eax
call fcn.004af066
xor word [esi], ax
inc ebx
add esp, 4
cmp ebx, dword [edi + 4]
jb 0x432f81
mov esi, dword [ebp - 0x138]
mov eax, 4
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
mov word [ebp - 0x1a], ax
lea ecx, [ebp - 0x12c]
lea eax, [ebp - 0x128]
mov byte [ebp - 0x18], 1
push 1
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x130], 0
call fcn.00406110
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
cmove eax, dword [ebp - 0x12c]
xor ecx, ecx
mov word [eax + 4], cx
push 0x503200
lea eax, [ebp - 0x134]
mov dword [ebp - 4], ecx
push 0x50258c
push eax
call fcn.00405280
push str.mutex_file_
lea eax, [ebp - 0x134]
push 0x50258c
push eax
call fcn.00405280
push dword [ebp - 0x13c]
lea eax, [ebp - 0x134]
push str.0x_p
push eax
call fcn.00405280
mov ebx, dword [ebp - 0x140]
lea eax, [ebp - 0x128]
add esp, 0x24
cmp byte [ebp - 0x18], 0
cmove eax, dword [ebp - 0x12c]
add eax, 4
lea ecx, [ebx + 0x130]
push eax
push esi
call fcn.0043b030
test al, al
jne 0x4330f0
push 0x503228
mov ecx, esi
call fcn.004062d0
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4330c4
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x4330c4
push eax
call fcn.0049c7b1
add esp, 4
push 0x50327c
mov ecx, esi
call fcn.004062d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x433120
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x433120
push eax
call fcn.0049c7b1
add esp, 4
push ecx
push esi
lea ecx, [ebx + 0x130]
call fcn.0043b210
test al, al
je 0x4330c4
mov esi, dword [ebp + 0x10]
lea eax, [ebx + 0x130]
mov dword [ebx + 0x34c], eax
xor ecx, ecx
mov dword [ebx + 8], esi
mov eax, 0x4fcc10
nop word [eax + eax]
cmp dword [eax], esi
je 0x4331b4
add ecx, 0x10
add eax, 0x10
cmp ecx, 0x50
jb 0x433150
mov ebx, dword [ebp - 0x138]
mov ecx, ebx
push 0x506230
call fcn.004062d0
push esi
push 0x50256c
push eax
call fcn.00405280
add esp, 0xc
cmp byte [edi + 0x11c], 0
je 0x43318e
add edi, 0xc
jmp 0x433191
mov edi, dword [edi + 8]
push 0x506244
mov ecx, ebx
call fcn.004062d0
lea ecx, [edi + 4]
push ecx
push 0x50258c
push eax
call fcn.00405280
add esp, 0xc
jmp 0x4330d0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push 0
push 0x80
push edx
push 0
push eax
push ecx
mov dword [ebp - 0x144], ecx
mov ecx, edi
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], eax
call fcn.0040fb90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 4], eax
mov esi, 1
cmp eax, 0xffffffff
jne 0x433270
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x43321d
cmp esi, 3
jge 0x4332bb
cmp byte [ebx + 0x350], 0
je 0x43323e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43323e
cmp eax, 5
jne 0x433280
cmp esi, 3
jge 0x4332bb
push 0x80
mov ecx, edi
call fcn.0040fb90
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push dword [ebp - 0x140]
mov ecx, edi
push 0
push dword [ebp - 0x13c]
push dword [ebp - 0x144]
call fcn.0040fb90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
inc esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x4331f6
push edi
lea ecx, [ebx + 0xc]
call fcn.0040fd90
mov al, 1
jmp 0x4330d2
test eax, eax
jne 0x4332bb
cmp byte [edi + 0x11c], al
je 0x433291
add edi, 0xc
jmp 0x433294
mov edi, dword [edi + 8]
mov ecx, dword [ebp - 0x138]
push 0x506254
call fcn.004062d0
lea ecx, [edi + 4]
push ecx
push 0x50258c
push eax
call fcn.00405280
add esp, 0xc
jmp 0x4330d0
cmp byte [edi + 0x11c], 0
je 0x4332c9
add edi, 0xc
jmp 0x4332cc
mov edi, dword [edi + 8]
mov ecx, dword [ebp - 0x138]
push eax
call fcn.00429880
push 0x506244
mov esi, eax
push 0x50258c
push esi
call fcn.00405280
lea ecx, [edi + 4]
push ecx
push 0x50258c
push esi
call fcn.00405280
add esp, 0x18
jmp 0x4330d0