Function at 0x403c00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
push 0
push 1
push 0x43390c
mov edi, edx
mov ebx, ecx
call dword [sym.imp.ntdll.dll_RtlRunOnceBeginInitialize]
test eax, eax
jns 0x403c77
push 0
push 0
push 0x43390c
call dword [sym.imp.ntdll.dll_RtlRunOnceBeginInitialize]
lea ecx, [ecx]
cmp eax, 0x103
jne 0x403c77
call fcn.00401b80
mov eax, dword ds:[eax + 4]
push eax
push str._scache
push 0x200
push 0x433508
call fcn.00409bc0
add esp, 0x10
push 0
push 0
push 0x43390c
call dword [sym.imp.ntdll.dll_RtlRunOnceComplete]
lea edx, [esp + 0x10]
mov ecx, 0x433508
call fcn.00408de0
test eax, eax
jns 0x403c93
mov ecx, 0x433508
call fcn.00408a00
lea eax, [esp + 0xc]
mov edx, 5
push eax
push ecx
mov ecx, dword [edi + 0x10]
push 0
push 0
push 0x180
mov ecx, dword [ecx + 4]
push 1
push 0x40000000
call fcn.00408b20
lea esp, [esp]
test eax, eax
js 0x403e56
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 0x1c], esi
setne byte [esp + 0x28]
mov dword [esp + 0x20], 0x403b80
mov dword [esp + 0x24], ebx
call fcn.00401c00
mov edx, dword [edi + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x10]
push eax
mov dword [esp + 0x14], eax
call fcn.0040c9c0
push esi
mov bl, al
call dword [sym.imp.ntdll.dll_NtClose]
test bl, bl
jne 0x403d2f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403d18
push eax
call fcn.00407f40
mov eax, 0xc0000120
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00414c55
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1c], 4
je 0x403db1
mov eax, dword [edi + 0x14]
lea edx, [esp + 0x10]
mov ecx, dword [eax + 4]
call fcn.00408de0
test eax, eax
js 0x403d57
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + 4]
call fcn.00408d40
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov edx, dword [edx + 4]
mov ecx, dword [ecx + 4]
call fcn.00408f60
test eax, eax
jns 0x403d7d
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov edx, dword [edx + 4]
mov ecx, dword [ecx + 4]
call fcn.00408c00
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x10]
mov ecx, dword [eax + 4]
call fcn.00408de0
test eax, eax
js 0x403d9b
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx + 4]
call fcn.00408d40
mov edx, dword [edi + 0xc]
lea ecx, [edi + 8]
and dword [edi + 0x1c], 0xfffffffe
call fcn.00407fa0
mov dword [edi + 0xc], 0
lea eax, ds:[esp + 0x10]
mov dword [esp + 0x18], 0
push eax
push ecx
push 1
push 0x204000
push 0x80
push 7
push 0x10181
mov edx, 1
mov ecx, 0x433508
call fcn.00408b20
test eax, eax
js 0x403e46
mov esi, dword [esp + 0x10]
xor edx, edx
push ecx
mov ecx, esi
call fcn.00409080
call fcn.0040ac00
lea esp, [esp]
cmp eax, 0xa06
jb 0x403e2a
push 0x40
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x13
push eax
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x403e46
push 0xd
push 1
lea eax, [esp + 0x1f]
mov byte [esp + 0x1f], 1
push eax
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403e54
push eax
call fcn.00407f40
xor eax, eax
mov ecx, dword ds:[esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00414c55
mov esp, ebp
pop ebp
ret