Function at 0x403060
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4494a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460df4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xb4], 0x2e
je 0x4030bb
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x5404
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov dword [esi + 0x94], 1
call fcn.00418ca8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4030df
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
push 0x68
mov dword [esp + 0x28], 0
call fcn.00418c57
test eax, eax
je 0x403112
push 0x68
push eax
lea ecx, [esp + 0x1c]
call fcn.00401540
mov ebp, dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
push 0
push ebp
push 0x5400
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x10
cmp dword [esi + 0xd4], eax
jb 0x403139
mov edx, dword [esi + 0xc0]
jmp 0x40313f
lea edx, [esi + 0xc0]
cmp dword [esi + 0xb8], eax
jb 0x40314f
mov eax, dword [esi + 0xa4]
jmp 0x403155
lea eax, [esi + 0xa4]
mov ebx, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
mov edi, dword [ecx]
push 1
push ebx
push edx
mov edx, dword [edi + 0x10]
push eax
call edx
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push 1
call edx
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
and eax, 0xffff0000
cmp eax, 0x20000
je 0x40325d
call fcn.00418ca8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4031c0
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 0x69
mov byte [esp + 0x28], 1
call fcn.00418c57
test eax, eax
je 0x4031f0
push 0x69
push eax
lea ecx, [esp + 0x20]
call fcn.00401540
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x1c]
push 0
push edi
push 0x5404
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
cmp dword [esi + 0xd4], 0x10
jb 0x40327b
mov eax, dword [esi + 0xc0]
jmp 0x403281
lea eax, [esi + 0xc0]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x84
call fcn.00418c57
test eax, eax
je 0x4032ab
push 0x84
push eax
lea ecx, [esp + 0x1c]
call fcn.00401540
mov ebp, dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
push 0
push ebp
push 0x5400
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4032e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret