Function at 0x100369a0
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1404
call fcn.102244a0
mov eax, dword [esp + 0x140c]
push ebx
push ebp
push esi
push edi
mov dword [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x414]
mov ebx, dword [esp + 0x1418]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1014]
rep stosd dword es:[edi], eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x400
jb 0x100369fd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1404
ret
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x414]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1014]
push ecx
push ebx
call sub.platform.dll_Ordinal_13
add esp, 8
cmp eax, 1
jne 0x10036a64
lea edi, [esp + 0x1014]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x414]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
push 0x180
push ebx
mov edx, dword [ecx]
call dword [edx + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push ebx
call ebp
mov ecx, dword [0x107ab964]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x10036aa0
mov ecx, dword [esp + 0x141c]
mov dword [ecx], 1
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0xc14]
lea edx, [esp + 0xc14]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x814]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x414]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc18]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
add esp, 8
test edx, edx
je 0x10036d19
inc edx
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [esp + 0x814]
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x14]
mov byte [edx], 0
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
lea edi, [esp + 0xc14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1420]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x814]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x814]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.10036630
mov ecx, dword [0x107ab964]
add esp, 8
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x18]
push eax
call dword [edx]
test eax, eax
jne 0x10036d19
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x14]
push 0x180
push eax
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0x14]
push 0x80
push ecx
call ebp
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x414]
push eax
lea eax, [esp + 0x18]
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
cmp eax, 0xffffffff
jne 0x10036c3a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1404
ret
lea ecx, [esp + 0x14]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
test eax, eax
je 0x10036c51
mov byte [eax], 0
mov edi, str..ico
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x18]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x10036d19
mov ecx, dword [0x107ab964]
push 0
lea edx, [esp + 0x18]
push 0x8000
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x10036d19
mov ecx, dword [0x107ab964]
push esi
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x107ab964]
test eax, eax
je 0x10036ce2
mov edx, dword [ecx]
push esi
call dword [edx + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1404
ret
mov eax, dword [ecx]
push esi
call dword [eax + 0x18]
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x14]
push 0x180
push eax
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0x14]
push 0x80
push ecx
call ebp
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1404
ret