Function at 0x441010
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.0044f270
push 0x104
lea ecx, [ebp - 0x414]
push 0
push ecx
call fcn.0044f270
push 0x104
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.0044f270
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x20c]
add esp, 0x24
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441070
mov eax, dword [0x4946a4]
push esi
push edi
cmp byte [eax + 0x16], cl
jne 0x441108
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x310]
push edx
push 0
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004589f8
push 0x104
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.0044f270
add esp, 0x20
xor eax, eax
mov cl, byte [ebp + eax - 0x310]
mov byte [ebp + eax - 0x20c], cl
inc eax
test cl, cl
jne 0x4410c0
lea eax, [ebp - 0x414]
mov edx, eax
jmp 0x4410e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4410e0
lea edi, [ebp - 0x20c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4410f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x104
lea edx, [ebp - 0x310]
push 0
push edx
call fcn.0044f270
push 0x104
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0044f270
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.0044f270
mov eax, dword [0x4946a4]
add eax, 0x22b
add esp, 0x24
cmp byte [eax], 0
je 0x4411b4
lea edx, [ebp - 0x108]
sub edx, eax
jmp 0x441160
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441160
cmp byte [ebp - 0x108], cl
je 0x441212
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441180
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x441212
lea edi, [ebp - 0x108]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4411a0
mov dx, word [0x4726c4]
mov word [edi], dx
jmp 0x441212
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00458cec
add esp, 8
cmp byte [ebp - 0x108], 0
je 0x441212
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4411e0
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x441212
lea edi, [ebp - 0x108]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x441200
mov cx, word [0x4726c4]
mov word [edi], cx
lea eax, [ebp - 0x20c]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441220
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x441230
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, eax
push 0
and ecx, 3
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x310]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.004589f8
lea eax, [ebp - 0x414]
add esp, 0x14
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x441271
lea edi, [ebp - 0x310]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x441283
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x310]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.00440de0
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.004553d6
add esp, 0xc
test eax, eax
je 0x4412c4
or esi, 0xffffffff
jmp 0x4412d1
xor edx, edx
cmp dword [ebp - 0x424], edx
sete dl
mov esi, edx
mov eax, dword [0x4946a4]
cmp byte [eax + 0xa], 0
jne case.default.0x441337
lea ecx, [ebp - 0x108]
push 0x473618
push ecx
call fcn.004508f8
mov edx, dword [0x4946a4]
mov dword [edx + 4], eax
mov eax, dword [0x4946a4]
add esp, 8
cmp dword [eax + 4], 0
je case.default.0x441337
mov eax, dword [eax + 4]
push eax
call fcn.0045069c
add esp, 4
cmp esi, 0xffffffff
je 0x44131d
test esi, esi
jne case.default.0x441337
lea ecx, [ebp - 0x108]
push ecx
call int.00443e30
movsx eax, al
add eax, 0xffffff98
add esp, 4
cmp eax, 3
ja case.default.0x441337
jmp dword [eax*4 + 0x441404]
mov byte [0x4946a9], 0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6d0
mov esp, ebp
pop ebp
ret
mov byte [0x4946a9], 1
push 0x80
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x108]
push 0x47689c
push ecx
call fcn.004508f8
mov edx, dword [0x4946a4]
mov dword [edx + 4], eax
mov eax, dword [0x4946a4]
add esp, 8
cmp dword [eax + 4], 0
jne 0x441345
lea ecx, [ebp - 0x108]
push ecx
push 0x3e8
call fcn.00443060
add esp, 8
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6d0
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4946a4]
mov byte [0x4946a9], 1
mov byte [edx + 0xa], 1
jmp case.default.0x441337
push 0x4727a6
push 0x3fb
call fcn.00443060
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
mov byte [0x4946a9], 0
mov eax, 1
pop esi
call fcn.0044f6d0
mov esp, ebp
pop ebp
ret