Function at 0x43ec40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e93a
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x4beb20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0xbc], 0
cmp dword [ebp + 0x24], 0
jne 0x43ec8e
cmp dword [ebp + 0xc], 0
jne 0x43ec8e
xor al, al
jmp 0x43f226
lea ecx, [ebp - 0x6c]
call fcn.004445f0
mov dword [ebp - 4], 0
movzx eax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x154]
call fcn.0043d260
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041afb0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x43ecd2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x158], eax
jmp 0x43ed20
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00445640
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xbc]
or eax, 1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041afb0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xbc]
and edx, 1
je 0x43ed62
and dword [ebp - 0xbc], 0xfffffffe
mov eax, dword [ebp - 0x98]
sub eax, 0x10
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.004199e0
push 0x4a38a0
lea ecx, [ebp - 0x14]
call fcn.00422770
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x43edc9
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0043e470
add esp, 8
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xbc]
or eax, 2
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x168], ecx
jmp 0x43ee1c
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.0043e590
add esp, 8
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], edx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xbc]
or eax, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
push 0x4a38a0
lea ecx, [ebp - 0xa8]
push ecx
call fcn.0042db00
add esp, 0xc
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0xfc], edx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a840
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xa8]
sub ecx, 0x10
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0x100]
call fcn.004199e0
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0xbc]
and edx, 4
je 0x43eee2
and dword [ebp - 0xbc], 0xfffffffb
mov eax, dword [ebp - 0xa4]
sub eax, 0x10
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
call fcn.004199e0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0xbc]
and ecx, 2
je 0x43ef15
and dword [ebp - 0xbc], 0xfffffffd
mov edx, dword [ebp - 0xa0]
sub edx, 0x10
mov dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x108]
call fcn.004199e0
push ecx
mov eax, esp
mov dword [ebp - 0xac], esp
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10c]
call fcn.0041a380
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x154]
call fcn.0043e9d0
mov byte [ebp - 0x179], al
movzx eax, byte [ebp - 0x179]
test eax, eax
je 0x43efb3
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043e6b0
add esp, 4
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 0xad], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00420d50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00420d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004446a0
mov al, byte [ebp - 0xad]
jmp 0x43f226
movzx ecx, word [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x154]
call fcn.0043d460
movzx edx, al
test edx, edx
jne 0x43f003
mov byte [ebp - 0xae], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00420d50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00420d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004446a0
mov al, byte [ebp - 0xae]
jmp 0x43f226
cmp dword [ebp + 0x20], 0
je 0x43f013
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp + 0x20]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.0043e2e0
add esp, 8
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.0043e6b0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.00420d50
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x130], edx
push 0x1021
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x84]
call fcn.004467c6
mov byte [ebp - 4], 9
cmp dword [ebp + 0x18], 0
je 0x43f0ae
lea ecx, [ebp - 0x6c]
call fcn.00445590
mov dword [ebp - 0x184], eax
jmp 0x43f0b8
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], 0
push 0
mov edx, dword [ebp + 0x24]
push edx
lea ecx, [ebp - 0x90]
call fcn.00442160
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.0043d710
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x43f172
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x84]
call fcn.00445f04
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x94]
mov dword [ebp - 0x70], ecx
cmp dword [ebp + 0x18], 0
je 0x43f172
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [ebp + 0x18]
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x43f172
jmp 0x43f190
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x140]
je 0x43f0dd
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x154]
call fcn.0043da90
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xb5], al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
call fcn.004421a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.004462ba
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00420d50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00420d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004446a0
mov al, byte [ebp - 0xb5]
jmp 0x43f226
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004694b0
mov esp, ebp
pop ebp
ret 0x20