Function at 0x415ea0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x462e08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486904]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x34]
push 0x469d2c
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x34], 0
call fcn.00447468
add esp, 0xc
test eax, eax
jne 0x415f09
mov edx, dword [esp + 0x14]
push edx
call fcn.00447137
mov eax, dword [esp + 0x38]
add esp, 4
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [0x48809c]
mov edx, dword [0x488098]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
push ecx
push edx
push eax
push ebp
call fcn.00447d80
add eax, 1
adc edx, 0
cmp byte [esi + 0xb3a0], 0
mov edi, eax
mov dword [esp + 0x1c], edx
je 0x415f72
mov eax, dword [0x4880a4]
cdq
cmp edi, eax
mov ebp, ecx
jne 0x415f4d
cmp dword [esp + 0x1c], edx
je 0x415f64
mov ecx, esi
call fcn.00415860
test al, al
jne 0x415f64
mov byte [0x488047], 1
jmp 0x416270
mov dword [esi + 0xb390], ebp
mov dword [esi + 0xb394], ebx
jmp 0x415f76
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
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 0x416270
push 1
sub esp, 0xc
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00421420
lea edi, [esi + 8]
mov ecx, edi
mov dword [esp + 0x4c], edi
call fcn.00414f60
test al, al
mov byte [esi + 0x918], al
je 0x416270
mov ecx, dword [esp + 0x44]
or ecx, dword [esp + 0x48]
jne 0x415ffe
mov ecx, edi
call fcn.00414e90
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.004212c0
mov al, 1
jmp 0x416283
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.00414d80
add esp, 0x14
cmp byte [esp + 0x4c], 0
je 0x416061
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
push ebx
push ebp
mov ecx, edi
call fcn.00414cf0
push eax
mov ecx, esi
call fcn.00415d70
lea ecx, [esp + 0x30]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
call fcn.004212c0
mov al, bl
jmp 0x416283
lea ebx, [esi + 0x848]
push ebx
push 0
push 5
push 0x493810
mov ecx, esi
call fcn.00415b50
test al, al
jne 0x416083
mov ecx, edi
jmp 0x41626b
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.00415b50
test al, al
je 0x41607c
mov edi, dword [esi + 0xb180]
sub edi, 0xd
push edi
mov dword [0x4937e0], edi
call fcn.00446c17
xor ebp, ebp
add esp, 4
cmp eax, ebp
mov dword [0x4937ec], eax
je 0x416267
push ebx
push ebp
push edi
push eax
mov ecx, esi
call fcn.00415b50
test al, al
je 0x416267
mov cl, byte [0x493810]
cmp cl, 0x2d
mov byte [0x49380c], cl
mov dword [0x493800], ebp
jb 0x416123
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 [0x493800], eax
add cl, 0xd3
sub eax, 1
jne 0x416115
mov byte [0x49380c], cl
cmp cl, 9
mov dword [0x493804], ebp
jb 0x416150
movzx edx, cl
mov eax, 0x38e38e39
mul edx
shr edx, 1
movzx eax, dl
mov dword [0x493804], eax
add cl, 0xf7
sub eax, 1
jne 0x416142
mov byte [0x49380c], cl
mov eax, dword [0x493804]
movzx edi, cl
lea ecx, [edi + eax]
mov ebp, 0x300
shl ebp, cl
mov ecx, dword [esi + 0x838]
push ecx
mov dword [0x493808], edi
lea ebp, [ebp + ebp + 0xe6c]
mov dword [0x4937d8], ebp
call fcn.00446c17
mov ebx, eax
push ebp
mov dword [0x4937e8], ebx
call fcn.00446c17
add esp, 8
test ebx, ebx
mov dword [0x4937e4], eax
je 0x416267
test eax, eax
je 0x416267
mov ecx, dword [0x4937ec]
mov edx, dword [0x4937e0]
push 0x4937dc
mov dword [0x4937f4], ecx
mov dword [0x4937f8], edx
mov dword [0x4937f0], 0x4153a0
mov eax, dword [esi + 0x838]
push eax
mov eax, dword [0x4937e4]
push ebx
push edx
mov edx, dword [0x493804]
push ecx
mov ecx, dword [0x493800]
push ecx
push edx
push edi
push ebp
push eax
call fcn.0041c5d0
add esp, 0x28
test eax, eax
mov dword [0x4937fc], eax
jne 0x416267
mov ecx, dword [esi + 0x83c]
mov edx, dword [esi + 0x838]
mov eax, dword [0x4937e8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004153f0
mov ecx, dword [esp + 0x3c]
call fcn.00414e90
mov ecx, dword [0x4937e4]
push ecx
call fcn.00446b3a
mov edx, dword [0x4937e8]
push edx
call fcn.00446b3a
mov eax, dword [0x4937ec]
push eax
call fcn.00446b3a
add esp, 0xc
cmp byte [0x488047], 0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
jne 0x41627c
call fcn.004212c0
mov al, 1
jmp 0x416283
mov ecx, dword [esp + 0x3c]
call fcn.00414e90
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004212c0
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