Function at 0x100420d0
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x238c
call fcn.102244a0
push ebx
mov ebx, dword [esp + 0x2398]
push ebp
mov ebp, dword [esp + 0x2398]
mov dword [ebx], 0
mov ecx, dword [0x107ab964]
push esi
push edi
mov eax, dword [ecx]
push 0
push 0x8002
push ebp
call dword [eax + 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x100424d9
mov ecx, dword [0x107ab964]
push esi
mov edx, dword [ecx]
call dword [edx + 0x20]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jg 0x1004213f
mov ecx, dword [0x107ab964]
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x238c
ret
mov ecx, dword [0x107ab964]
push 0xa
push 0x1000
push edi
push esi
push ecx
lea ecx, [esp + 0x28]
call fcn.100243a0
test eax, eax
jne 0x10042175
mov ecx, dword [0x107ab964]
push esi
mov edx, dword [ecx]
call dword [edx + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x238c
ret
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x14]
push 1
push eax
push edi
push esi
push ecx
lea ecx, [esp + 0x8c0]
call fcn.10001ab0
test eax, eax
jne 0x100421b7
mov ecx, dword [0x107ab964]
push esi
mov edx, dword [ecx]
call dword [edx + 0x18]
lea ecx, [esp + 0x14]
call fcn.10024430
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x238c
ret
lea ecx, [esp + 0x8ac]
call fcn.10003930
cmp eax, 3
je 0x100421e2
mov ecx, dword [0x107ab964]
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x107ab964]
push ebx
push ebp
push ecx
jmp 0x100424bc
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x8ac]
push edx
push 0
call fcn.10003980
test eax, eax
jne 0x10042213
mov ecx, dword [0x107ab964]
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x107ab964]
push ebx
push ebp
push ecx
jmp 0x100424bc
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x8ac]
push edx
call fcn.100039d0
cmp eax, 2
jne 0x100424a8
mov edi, 0x1026522c
lea eax, [esp + 0x30]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x1004225a
test cl, cl
je 0x10042256
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x1004225a
add eax, 2
add edi, 2
test cl, cl
jne 0x10042236
xor eax, eax
jmp 0x1004225f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100424a8
lea eax, [esp + 0x58]
lea ecx, [esp + 0x2c]
push eax
push 0
push ecx
lea ecx, [esp + 0x8b8]
call fcn.10003a50
test eax, eax
je 0x100424a8
mov eax, dword [esp + 0x9c]
cmp eax, 0xa000
jb 0x100424a8
mov ebx, dword [esp + 0xa0]
push eax
lea ecx, [esp + 0x8b0]
call fcn.10004690
lea ecx, [esp + 0x8ac]
mov edi, eax
call fcn.10001b10
lea ecx, [esp + 0x14]
call fcn.10024430
test edi, edi
jle 0x10042477
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x10042477
lea ecx, [edi + ebx]
cmp ecx, eax
jle 0x100422e3
mov ebx, eax
sub ebx, edi
sub eax, edi
sub eax, ebx
mov ebx, eax
jns 0x100422ed
xor ebx, ebx
mov edx, dword [0x107ab964]
push edi
push esi
push edx
call fcn.10029b90
mov eax, dword [0x107ab964]
push 0
push 0x13a3
push ebx
push esi
push eax
call fcn.10013800
mov ecx, dword [0x107ab964]
add esp, 0x20
mov edx, dword [ecx]
push esi
call dword [edx + 0x18]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac]
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 + 0xac]
push ecx
push ebp
call sub.platform.dll_Ordinal_13
add esp, 8
test eax, eax
jne 0x1004237d
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xac]
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 edi, [esp + 0xac]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
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 edi, dword [sym.imp.MSVCRT.dll_strrchr]
lea ecx, [esp + 0x4b0]
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x100423d3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x238c
ret
lea edx, [esp + 0x4ac]
push 0x5c
push edx
call edi
add esp, 8
test eax, eax
jne 0x100423f6
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x238c
ret
cmp esi, eax
jae 0x1004240a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x238c
ret
mov byte [esi], 0
mov ecx, dword [0x107ab964]
lea edx, [esp + 0xac]
push 0x180
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
lea eax, [esp + 0xac]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1004244c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x238c
ret
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x4ac]
push eax
lea eax, [esp + 0xb0]
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x238c
ret
mov ecx, dword [0x107ab964]
push esi
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [esp + 0x23a4]
mov ecx, dword [0x107ab964]
push eax
push ebp
push ecx
call fcn.1002b040
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x238c
ret
mov ecx, dword [0x107ab964]
push esi
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [0x107ab964]
push ebx
push ebp
push eax
call fcn.1002b040
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.10024430
lea ecx, [esp + 0x8ac]
call fcn.10001b10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x238c
ret