Function at 0x417100
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x467dd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x34]
push 0x46de3c
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x34], 0
call fcn.0044ccc7
add esp, 0xc
test eax, eax
jne 0x417169
mov edx, dword [esp + 0x14]
push edx
call fcn.0044c9cc
mov eax, dword [esp + 0x38]
add esp, 4
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [0x48d2bc]
mov edx, dword [0x48d2b8]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
push ecx
push edx
push eax
push ebp
call fcn.0044d600
add eax, 1
adc edx, 0
cmp byte [esi + 0x13a0], 0
mov edi, eax
mov dword [esp + 0x1c], edx
je 0x4171d2
mov eax, dword [0x48d2c4]
cdq
mov ebp, ecx
cmp edi, eax
jne 0x4171ad
cmp dword [esp + 0x1c], edx
je 0x4171c4
mov ecx, esi
call fcn.00416ab0
test al, al
jne 0x4171c4
mov byte [0x48d267], 1
jmp 0x4174d0
mov dword [esi + 0x1390], ebp
mov dword [esi + 0x1394], ebx
jmp 0x4171d6
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor eax, eax
mov dword [esi + 0x1388], eax
mov dword [esi + 0x138c], eax
mov dword [esi + 0x1180], ecx
mov dword [esi + 0x1184], edx
cmp dword [esi + 0x1160], eax
je 0x4174d0
push 1
sub esp, 0xc
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.004252b0
lea edi, [esi + 8]
mov ecx, edi
mov dword [esp + 0x4c], edi
call fcn.00415df0
mov byte [esi + 0x918], al
test al, al
je 0x4174d0
mov ecx, dword [esp + 0x44]
or ecx, dword [esp + 0x48]
jne 0x41725e
mov ecx, edi
call fcn.00416460
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00425410
mov al, 1
jmp 0x4174e3
xor eax, eax
lea edx, [esi + 0x840]
push edx
push eax
push ebx
mov dword [esi + 0x1158], eax
mov dword [esi + 0x115c], eax
mov eax, dword [esi + 0x1160]
push ebp
push eax
call fcn.00416230
add esp, 0x14
cmp byte [esp + 0x4c], 0
je 0x4172c1
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
push ebx
push ebp
mov ecx, edi
call fcn.00415de0
push eax
mov ecx, esi
call fcn.00416fb0
lea ecx, [esp + 0x30]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
call fcn.00425410
mov al, bl
jmp 0x4174e3
lea ebx, [esi + 0x848]
push ebx
push 0
push 5
push 0x48ea30
mov ecx, esi
call fcn.00416d90
test al, al
jne 0x4172e3
mov ecx, edi
jmp 0x4174cb
push ebx
push 0
lea eax, [esi + 0x838]
push 8
push eax
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00416d90
test al, al
je 0x4172dc
mov edi, dword [esi + 0x1180]
sub edi, 0xd
push edi
mov dword [0x48ea00], edi
call fcn.0044c49a
xor ebp, ebp
add esp, 4
mov dword [0x48ea0c], eax
cmp eax, ebp
je 0x4174c7
push ebx
push ebp
push edi
push eax
mov ecx, esi
call fcn.00416d90
test al, al
je 0x4174c7
mov cl, byte [0x48ea30]
mov byte [0x48ea2c], cl
mov dword [0x48ea20], ebp
cmp cl, 0x2d
jb 0x417383
movzx edi, cl
mov eax, 0x6c16c16d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, al
mov dword [0x48ea20], eax
add cl, 0xd3
sub eax, 1
jne 0x417375
mov byte [0x48ea2c], cl
mov dword [0x48ea24], ebp
cmp cl, 9
jb 0x4173b0
movzx edx, cl
mov eax, 0x38e38e39
mul edx
shr edx, 1
movzx eax, dl
mov dword [0x48ea24], eax
add cl, 0xf7
sub eax, 1
jne 0x4173a2
mov byte [0x48ea2c], cl
mov eax, dword [0x48ea24]
movzx edi, cl
lea ecx, [edi + eax]
mov ebp, 0x300
shl ebp, cl
mov ecx, dword [esi + 0x838]
push ecx
mov dword [0x48ea28], edi
lea ebp, [ebp + ebp + 0xe6c]
mov dword [0x48e9f8], ebp
call fcn.0044c49a
mov ebx, eax
push ebp
mov dword [0x48ea08], ebx
call fcn.0044c49a
add esp, 8
mov dword [0x48ea04], eax
test ebx, ebx
je 0x4174c7
test eax, eax
je 0x4174c7
mov ecx, dword [0x48ea0c]
mov edx, dword [0x48ea00]
push 0x48e9fc
mov dword [0x48ea14], ecx
mov dword [0x48ea18], edx
mov dword [0x48ea10], 0x416590
mov eax, dword [esi + 0x838]
push eax
mov eax, dword [0x48ea04]
push ebx
push edx
mov edx, dword [0x48ea24]
push ecx
mov ecx, dword [0x48ea20]
push ecx
push edx
push edi
push ebp
push eax
call fcn.0041e7e0
add esp, 0x28
mov dword [0x48ea1c], eax
test eax, eax
jne 0x4174c7
mov ecx, dword [esi + 0x83c]
mov edx, dword [esi + 0x838]
mov eax, dword [0x48ea08]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004165e0
mov ecx, dword [esp + 0x3c]
call fcn.00416460
mov ecx, dword [0x48ea04]
push ecx
call fcn.0044c3bd
mov edx, dword [0x48ea08]
push edx
call fcn.0044c3bd
mov eax, dword [0x48ea0c]
push eax
call fcn.0044c3bd
add esp, 0xc
cmp byte [0x48d267], 0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
jne 0x4174dc
call fcn.00425410
mov al, 1
jmp 0x4174e3
mov ecx, dword [esp + 0x3c]
call fcn.00416460
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00425410
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x24