Function at 0x415210
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x451968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x2c]
push 0x456e28
push eax
mov dword [esp + 0x28], 0
call fcn.00433f45
add esp, 8
test eax, eax
je 0x415265
push eax
call fcn.00433dba
mov ecx, dword [esp + 0x30]
add esp, 4
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [0x46b19c]
mov eax, dword [0x46b198]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call fcn.00434440
add eax, 1
mov ebp, eax
mov al, byte [esi + 0xb3a0]
adc edx, 0
test al, al
mov edi, ebx
mov dword [esp + 0x14], edx
je 0x4152d0
mov eax, dword [0x46b1a4]
cdq
cmp ebp, eax
mov ebx, ecx
jne 0x4152ab
cmp dword [esp + 0x14], edx
je 0x4152c2
mov ecx, esi
call fcn.00414b40
test al, al
jne 0x4152c2
mov byte [0x46b147], 1
jmp 0x4155fa
mov dword [esi + 0xb390], ebx
mov dword [esi + 0xb394], edi
jmp 0x4152d8
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
xor eax, eax
mov dword [esi + 0xb184], ecx
cmp dword [esi + 0x1160], eax
mov dword [esi + 0xb388], eax
mov dword [esi + 0xb38c], eax
mov dword [esi + 0xb180], ebp
je 0x4155fa
push 1
sub esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004213d0
lea ecx, [esi + 8]
mov dword [esp + 0x44], ecx
call fcn.00414290
test al, al
mov byte [esi + 0x918], al
je 0x4155fa
mov ecx, dword [esp + 0x40]
mov eax, ebp
or eax, ecx
jne 0x415370
mov ecx, dword [esp + 0x34]
call fcn.004141a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.00421240
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x20
mov edx, dword [esi + 0x1160]
xor eax, eax
lea ecx, [esi + 0x840]
push ecx
push eax
push edi
push ebx
push edx
mov dword [esi + 0x1158], eax
mov dword [esi + 0x115c], eax
call fcn.00413f90
mov al, byte [esp + 0x58]
add esp, 0x14
test al, al
je 0x4153e2
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
push eax
push ebp
push edi
push ebx
call fcn.00413f00
push eax
mov ecx, esi
call fcn.004150c0
lea ecx, [esp + 0x28]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.00421240
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x20
lea ebx, [esi + 0x848]
push ebx
xor ebp, ebp
push ebp
push 5
push 0x476908
mov ecx, esi
call fcn.00414e20
test al, al
je 0x4155f1
push ebx
push ebp
lea edi, [esi + 0x838]
push 8
push edi
mov ecx, esi
mov dword [edi], ebp
mov dword [edi + 4], ebp
call fcn.00414e20
test al, al
je 0x4155f1
mov eax, dword [esi + 0xb180]
sub eax, 0xd
push eax
mov dword [0x4768d8], eax
call fcn.00433d5c
add esp, 4
cmp eax, ebp
mov dword [0x4768e4], eax
je 0x4155f1
mov ecx, dword [0x4768d8]
push ebx
push ebp
push ecx
push eax
mov ecx, esi
call fcn.00414e20
test al, al
je 0x4155f1
mov cl, byte [0x476908]
cmp cl, 0x2d
mov byte [0x476904], cl
mov dword [0x4768f8], ebp
jb 0x41549c
movzx ebx, cl
mov eax, 0x6c16c16d
mul ebx
sub ebx, edx
shr ebx, 1
add ebx, edx
shr ebx, 5
movzx eax, bl
mov dword [0x4768f8], eax
add cl, 0xd3
dec eax
jne 0x415490
mov byte [0x476904], cl
xor edx, edx
cmp cl, 9
mov dword [0x4768fc], edx
jb 0x4154cc
movzx edx, cl
mov eax, 0x38e38e39
mul edx
shr edx, 1
movzx eax, dl
mov edx, eax
mov dword [0x4768fc], edx
add cl, 0xf7
dec eax
jne 0x4154c0
mov byte [0x476904], cl
movzx eax, cl
lea ecx, [eax + edx]
mov edx, dword [edi]
mov dword [0x476900], eax
mov eax, 0x300
shl eax, cl
push edx
lea ecx, [eax + eax + 0xe6c]
mov dword [0x4768d0], ecx
call fcn.00433d5c
mov dword [0x4768e0], eax
mov eax, dword [0x4768d0]
push eax
call fcn.00433d5c
mov ebx, dword [0x4768e0]
add esp, 8
cmp ebx, ebp
mov dword [0x4768dc], eax
je 0x4155f1
cmp eax, ebp
je 0x4155f1
mov ecx, dword [0x4768e4]
mov edx, dword [0x4768d8]
push 0x4768d4
mov dword [0x4768ec], ecx
mov dword [0x4768f0], edx
mov dword [0x4768e8], 0x414700
mov ebp, dword [edi]
push ebp
push ebx
push edx
mov edx, dword [0x4768fc]
push ecx
mov ecx, dword [0x4768f8]
push ecx
mov ecx, dword [0x476900]
push edx
mov edx, dword [0x4768d0]
push ecx
push edx
push eax
call fcn.0041be20
add esp, 0x28
test eax, eax
mov dword [0x4768f4], eax
jne 0x4155f1
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [0x4768e0]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00414750
mov ecx, dword [esp + 0x34]
call fcn.004141a0
mov eax, dword [0x4768dc]
push eax
call fcn.00433c44
mov ecx, dword [0x4768e0]
push ecx
call fcn.00433c44
mov edx, dword [0x4768e4]
push edx
call fcn.00433c44
mov al, byte [0x46b147]
add esp, 0xc
test al, al
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
jne 0x415606
call fcn.00421240
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x20
mov ecx, dword [esp + 0x34]
call fcn.004141a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.00421240
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x20