Function at 0x437720
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632802
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x9c
mov eax, dword [0x721970]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x54], ax
push 0x3e
push 0
lea ecx, [ebp - 0x52]
push ecx
call fcn.0060f700
add esp, 0xc
mov dword [ebp - 0x78], 0x40
push 0
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x54]
push eax
push 5
mov ecx, dword [ebp + 8]
call fcn.004f79cf
lea ecx, [ebp - 0x54]
push ecx
call fcn.0060fc2b
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x6c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x4377c3
push 0x6646f4
mov edx, dword [ebp + 0xc]
push edx
call fcn.0060fc3f
add esp, 8
test eax, eax
je 0x4377c3
mov byte [ebp - 0x55], 1
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x4377ea
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004483b0
movzx edx, al
test edx, edx
je 0x4377ea
push 0x80
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0xa8]
call fcn.004f61a2
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x90]
call fcn.004f0dff
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
movzx ecx, byte [ebp - 0x55]
test ecx, ecx
je 0x43787e
push 0
push 0x1021
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0xa8]
call fcn.004f663d
cmp eax, 1
je 0x43787e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.004383a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.004f61c9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00482f10
mov eax, dword [ebp - 0x94]
jmp 0x437a5c
push 0x4000
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x5c], ecx
push 0x4000
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jbe 0x437956
movzx ecx, byte [ebp - 0x55]
test ecx, ecx
je 0x4378d4
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004f698c
jmp 0x437903
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00438130
mov byte [ebp - 4], 4
push 4
lea ecx, [ebp - 0x74]
call fcn.004a7500
push eax
call fcn.00439fb0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.004068c0
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
push 0x4000
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x68], eax
push 0
lea ecx, [ebp + 0x10]
push ecx
call fcn.00438080
add esp, 8
movzx edx, al
test edx, edx
je 0x437951
cmp dword [ebp - 0x64], 0
je 0x437951
imul eax, dword [ebp - 0x60], 0x64
cdq
idiv dword [ebp - 0x64]
push eax
lea ecx, [ebp + 0x10]
call fcn.00438580
jmp 0x4378ad
cmp dword [ebp - 0x5c], 0
je 0x43797b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004e69f4
add esp, 4
mov dword [ebp - 0x5c], 0
movzx edx, byte [ebp - 0x55]
test edx, edx
je 0x43798e
lea ecx, [ebp - 0xa8]
call fcn.004f63f7
jmp 0x4379f3
mov dword [ebp - 4], 2
jmp 0x437a03
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.004383a0
cmp dword [ebp - 0x64], 0
jne 0x437a1e
cmp dword [ebp - 0x60], 0
jne 0x437a2e
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x64]
je 0x437a2e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
jmp 0x437a35
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.004f61c9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00482f10
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0060f7c8
mov esp, ebp
pop ebp
ret