Function at 0x415950
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x463478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x30]
push 0x469cb4
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], 0
call fcn.00447ca9
add esp, 0xc
test eax, eax
jne 0x4159ae
mov edx, dword [esp + 0x10]
push edx
call fcn.00447978
mov eax, dword [esp + 0x34]
add esp, 4
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [0x48807c]
mov edx, dword [0x488078]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
push ecx
push edx
push eax
push ebp
call fcn.00448890
add eax, 1
adc edx, 0
cmp byte [esi + 0xb3a0], 0
mov edi, eax
mov dword [esp + 0x18], edx
je 0x415a17
mov eax, dword [0x488084]
cdq
cmp edi, eax
mov ebp, ecx
jne 0x4159f2
cmp dword [esp + 0x18], edx
je 0x415a09
mov ecx, esi
call fcn.00415310
test al, al
jne 0x415a09
mov byte [0x488027], 1
jmp 0x415d51
mov dword [esi + 0xb390], ebp
mov dword [esi + 0xb394], ebx
jmp 0x415a1b
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
xor eax, eax
cmp dword [esi + 0x1160], eax
mov dword [esi + 0xb388], eax
mov dword [esi + 0xb38c], eax
mov dword [esi + 0xb180], ecx
mov dword [esi + 0xb184], edx
je 0x415d51
push 1
sub esp, 0xc
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004224b0
lea edi, [esi + 8]
mov ecx, edi
mov dword [esp + 0x48], edi
call fcn.00414a50
test al, al
mov byte [esi + 0x918], al
je 0x415d51
mov ecx, dword [esp + 0x40]
or ecx, dword [esp + 0x44]
jne 0x415ab3
mov ecx, edi
call fcn.00414960
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004222c0
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x24
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.00414750
add esp, 0x14
cmp byte [esp + 0x48], 0
je 0x415b26
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
push ebx
push ebp
mov ecx, edi
call fcn.004146c0
push eax
mov ecx, esi
call fcn.00415820
lea ecx, [esp + 0x2c]
mov bl, al
mov dword [esp + 0x24], 0xffffffff
call fcn.004222c0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x24
lea ebx, [esi + 0x848]
push ebx
push 0
push 5
push 0x4937e0
mov ecx, esi
call fcn.00415600
test al, al
jne 0x415b48
mov ecx, edi
jmp 0x415d4c
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.00415600
test al, al
je 0x415b41
mov edi, dword [esi + 0xb180]
sub edi, 0xd
push edi
mov dword [0x4937b0], edi
call fcn.00447451
xor ebp, ebp
add esp, 4
cmp eax, ebp
mov dword [0x4937bc], eax
je 0x415d48
push ebx
push ebp
push edi
push eax
mov ecx, esi
call fcn.00415600
test al, al
je 0x415d48
mov cl, byte [0x4937e0]
cmp cl, 0x2d
mov byte [0x4937dc], cl
mov dword [0x4937d0], ebp
jb 0x415bee
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 [0x4937d0], eax
lea ebx, [ebx]
add cl, 0xd3
sub eax, 1
jne 0x415be0
mov byte [0x4937dc], cl
cmp cl, 9
mov dword [0x4937d4], ebp
jb 0x415c1e
movzx edx, cl
mov eax, 0x38e38e39
mul edx
shr edx, 1
movzx eax, dl
mov dword [0x4937d4], eax
lea ecx, [ecx]
add cl, 0xf7
sub eax, 1
jne 0x415c10
mov byte [0x4937dc], cl
mov eax, dword [0x4937d4]
movzx edi, cl
lea ecx, [edi + eax]
mov ebp, 0x300
shl ebp, cl
mov ecx, dword [esi + 0x838]
push ecx
mov dword [0x4937d8], edi
lea ebp, [ebp + ebp + 0xe6c]
mov dword [0x4937a8], ebp
call fcn.00447451
mov ebx, eax
push ebp
mov dword [0x4937b8], ebx
call fcn.00447451
add esp, 8
test ebx, ebx
mov dword [0x4937b4], eax
je 0x415d48
test eax, eax
je 0x415d48
mov ecx, dword [0x4937bc]
mov edx, dword [0x4937b0]
push 0x4937ac
mov dword [0x4937c4], ecx
mov dword [0x4937c8], edx
mov dword [0x4937c0], 0x414eb0
mov eax, dword [esi + 0x838]
push eax
mov eax, dword [0x4937b4]
push ebx
push edx
mov edx, dword [0x4937d4]
push ecx
mov ecx, dword [0x4937d0]
push ecx
push edx
push edi
push ebp
push eax
call fcn.0041cd30
add esp, 0x28
test eax, eax
mov dword [0x4937cc], eax
jne 0x415d48
mov ecx, dword [esi + 0x83c]
mov edx, dword [esi + 0x838]
mov eax, dword [0x4937b8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00414f00
mov ecx, dword [esp + 0x38]
call fcn.00414960
mov ecx, dword [0x4937b4]
push ecx
call fcn.00447374
mov edx, dword [0x4937b8]
push edx
call fcn.00447374
mov eax, dword [0x4937bc]
push eax
call fcn.00447374
add esp, 0xc
cmp byte [0x488027], 0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
jne 0x415d5d
call fcn.004222c0
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x24
mov ecx, dword [esp + 0x38]
call fcn.00414960
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004222c0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x24