Function at 0x40b9c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40d4
call fcn.00421600
mov eax, dword [0x4416b4]
xor eax, ebp
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x40a0], 0
mov eax, dword [0x441314]
mov dword [ebp - 0x409c], eax
mov ecx, dword [0x441318]
mov dword [ebp - 0x4098], ecx
mov edx, dword [0x44131c]
mov dword [ebp - 0x4094], edx
mov eax, dword [0x441320]
mov dword [ebp - 0x4090], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x4084]
push edx
call fcn.004173c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ba3c
mov eax, 0xfffffe70
jmp 0x40bde6
lea eax, [ebp - 0x408c]
push eax
call fcn.004177f0
add esp, 4
push 0
lea ecx, [ebp - 0x4080]
push ecx
call fcn.00417bd0
add esp, 8
lea edx, [ebp - 0x408c]
mov dword [ebp - 0x4070], edx
lea eax, [ebp - 0x4080]
push eax
call fcn.00417e60
add esp, 4
call fcn.00417910
lea ecx, [ebp - 0x58]
push ecx
call fcn.004142e0
add esp, 4
lea edx, [ebp - 0x4094]
push edx
lea eax, [ebp - 0x409c]
push eax
lea ecx, [ebp - 0x4080]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00414550
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40bdb2
mov dword [ebp - 0x40ac], 0xffffffff
mov dword [ebp - 0x40a8], 0
mov dword [ebp - 0x40b0], 0
mov dword [ebp - 0x40a4], 0
jmp 0x40baef
mov eax, dword [ebp - 0x40a4]
add eax, 1
mov dword [ebp - 0x40a4], eax
mov ecx, dword [ebp - 0x40a4]
cmp ecx, dword [ebp - 0x3c]
jae 0x40bd9b
mov dword [ebp - 0x40cc], 0
mov dword [ebp - 0x40c8], 0
mov edx, dword [ebp - 0x40a4]
shl edx, 5
add edx, dword [ebp - 0x48]
mov dword [ebp - 0x40bc], edx
push 0
mov eax, dword [ebp - 0x40a4]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.004144d0
add esp, 0xc
mov dword [ebp - 0x40c4], eax
mov edx, dword [ebp - 0x40c4]
cmp edx, dword [ebp - 0x40a0]
jbe 0x40bb91
mov eax, dword [ebp - 0x5c]
push eax
push 0
call dword [0x441318]
add esp, 8
mov ecx, dword [ebp - 0x40c4]
mov dword [ebp - 0x40a0], ecx
mov edx, dword [ebp - 0x40a0]
shl edx, 1
push edx
push 0
call dword [0x441314]
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x40bb91
mov dword [ebp - 4], 2
jmp 0x40bd9b
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x40a4]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.004144d0
add esp, 0xc
mov eax, dword [ebp - 0x40bc]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
jne 0x40bc0f
lea edx, [ebp - 0x4094]
push edx
lea eax, [ebp - 0x409c]
push eax
lea ecx, [ebp - 0x40c8]
push ecx
lea edx, [ebp - 0x40cc]
push edx
lea eax, [ebp - 0x40b0]
push eax
lea ecx, [ebp - 0x40a8]
push ecx
lea edx, [ebp - 0x40ac]
push edx
mov eax, dword [ebp - 0x40a4]
push eax
lea ecx, [ebp - 0x4080]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00417110
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40bc0f
jmp 0x40bd9b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40c0], eax
mov ecx, dword [ebp - 0x40c0]
mov dword [ebp - 0x40b8], ecx
mov dword [ebp - 0x40d4], 0
jmp 0x40bc3f
mov edx, dword [ebp - 0x40d4]
add edx, 1
mov dword [ebp - 0x40d4], edx
mov eax, dword [ebp - 0x40d4]
mov ecx, dword [ebp - 0x40c0]
movzx edx, word [ecx + eax*2]
test edx, edx
je 0x40bcc1
mov eax, dword [ebp - 0x40d4]
mov ecx, dword [ebp - 0x40c0]
movzx edx, word [ecx + eax*2]
cmp edx, 0x2f
jne 0x40bcbc
cmp dword [ebp + 0xc], 0
je 0x40bca6
xor eax, eax
mov ecx, dword [ebp - 0x40d4]
mov edx, dword [ebp - 0x40c0]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x40c0]
push eax
call fcn.0040be00
add esp, 4
mov ecx, 0x5c
mov edx, dword [ebp - 0x40d4]
mov eax, dword [ebp - 0x40c0]
mov word [eax + edx*2], cx
jmp 0x40bcbc
mov ecx, dword [ebp - 0x40d4]
mov edx, dword [ebp - 0x40c0]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x40b8], eax
jmp 0x40bc30
mov ecx, dword [ebp - 0x40bc]
movzx edx, byte [ecx + 0x19]
test edx, edx
je 0x40bce5
mov eax, dword [ebp - 0x40b8]
push eax
call fcn.0040be00
add esp, 4
jmp 0x40bae0
mov ecx, dword [ebp - 0x40b8]
push ecx
lea edx, [ebp - 0x40b4]
push edx
call fcn.0040be30
add esp, 8
test eax, eax
je 0x40bd0b
mov dword [ebp - 4], 0xfffffed4
jmp 0x40bd9b
mov eax, dword [ebp - 0x40c8]
mov dword [ebp - 0x40d0], eax
lea ecx, [ebp - 0x40d0]
push ecx
mov edx, dword [ebp - 0x40a8]
add edx, dword [ebp - 0x40cc]
push edx
lea eax, [ebp - 0x40b4]
push eax
call fcn.004175e0
add esp, 0xc
test eax, eax
jne 0x40bd4c
mov ecx, dword [ebp - 0x40d0]
cmp ecx, dword [ebp - 0x40c8]
je 0x40bd55
mov dword [ebp - 4], 0xfffffed4
jmp 0x40bd9b
lea edx, [ebp - 0x40b4]
push edx
call fcn.00417500
add esp, 4
test eax, eax
je 0x40bd71
mov dword [ebp - 4], 0xfffffed4
jmp 0x40bd9b
mov eax, dword [ebp - 0x40bc]
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x40bd96
mov edx, dword [ebp - 0x40bc]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x40b8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x40bae0
mov edx, dword [ebp - 0x40a8]
push edx
lea eax, [ebp - 0x409c]
push eax
call dword [ebp - 0x4098]
add esp, 8
lea ecx, [ebp - 0x409c]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00414340
add esp, 8
mov eax, dword [ebp - 0x5c]
push eax
push 0
call dword [0x441318]
add esp, 8
lea ecx, [ebp - 0x4084]
push ecx
call fcn.00417500
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x60]
xor ecx, ebp
call fcn.0041eb43
mov esp, ebp
pop ebp
ret