Function at 0x413110
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b581c
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4faee4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00436490
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0042e720
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.00406890
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x413182
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0xf
push eax
mov ecx, edi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00436490
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042e720
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00406890
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4131d0
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004046a0
push 4
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2c], 0xf
push eax
mov ecx, edi
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00436390
mov ebx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
mov dword [ebp - 0x2d8], ebx
call fcn.00436490
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0042e720
mov edx, eax
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp byte [edx], 0
jne 0x413234
xor ecx, ecx
jmp 0x41324f
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413240
sub ecx, ebx
mov ebx, dword [ebp - 0x2dc]
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00404290
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x413275
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0xf
push eax
mov ecx, edi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00436490
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0042e720
mov edx, eax
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp byte [edx], 0
jne 0x4132ba
xor ecx, ecx
jmp 0x4132c9
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4132c0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00404290
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4132e8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004046a0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xc
cmp byte [esi + 0x51], 0
je 0x413431
lea eax, [esi + 0x54]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00466070
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x264]
call fcn.00466190
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004670d0
mov ecx, eax
call fcn.00466850
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00467310
lea ecx, [ebp - 0x1c0]
call fcn.00466c20
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00466d70
push eax
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0xf
call fcn.00467470
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x11
call fcn.004663e0
lea ecx, [ebp - 0x1f4]
call fcn.00467880
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00467330
mov edi, eax
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x4133f2
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4133d7
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004046a0
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00406fb0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x413407
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
lea ecx, [ebp - 0x1f4]
call fcn.004676a0
lea ecx, [ebp - 0x264]
call fcn.004663e0
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0xc
call fcn.004663e0
jmp 0x4134ea
push 0
push 0x4e2a60
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00404290
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00413990
mov edi, eax
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x4134aa
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x41348f
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004046a0
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00406fb0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4134bf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x4134ea
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004046a0
push 0x100000
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x150]
call fcn.004070e0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x150], 0
je 0x413692
cmp dword [ebp - 0x138], 0x10
lea eax, [ebp - 0x14c]
push ebx
cmovae eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x150]
call fcn.00407dd0
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x150]
call fcn.00407f10
push 0
lea ecx, [ebp - 0x3c]
call fcn.00436270
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x150]
call fcn.004076e0
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 0x10
jb 0x413583
mov eax, dword [eax]
push dword [ebp - 0x2d8]
mov edx, dword [esi + 0xd0]
push eax
movsx eax, word [esi + 4]
push eax
mov ecx, dword [edx]
push str._04X_file:__s_set_attr:__08X_n
push edx
call dword [ecx + 0x18]
mov byte [ebp - 4], 0x16
add esp, 0x14
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4135bc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x150]
call fcn.004076e0
mov byte [ebp - 4], 0x18
lea edi, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
cmovae edi, dword [ebp - 0x88]
cmp dword [eax + 0x14], 0x10
jb 0x4135e8
mov eax, dword [eax]
mov ecx, dword [esi + 0xd0]
push edi
push eax
movsx eax, word [esi + 4]
mov edx, dword [ecx]
push eax
push str._04X_file__s_creation_time:__s_n
push ecx
call dword [edx + 0x18]
mov byte [ebp - 4], 0x16
add esp, 0x14
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41361c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x150]
call fcn.004076e0
mov byte [ebp - 4], 0x19
lea edi, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
cmovae edi, dword [ebp - 0x70]
cmp dword [eax + 0x14], 0x10
jb 0x413642
mov eax, dword [eax]
mov ecx, dword [esi + 0xd0]
push edi
push eax
movsx eax, word [esi + 4]
mov edx, dword [ecx]
push eax
push str._04X_file__s_modification_time:__s_n
push ecx
call dword [edx + 0x18]
mov byte [ebp - 4], 0x16
add esp, 0x14
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x413676
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
push 0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
push 0x73
call fcn.00414060
lea ecx, [ebp - 0x3c]
call fcn.00436370
jmp 0x413727
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x150]
call fcn.004076e0
mov byte [ebp - 4], 0x1a
cmp dword [eax + 0x14], 0x10
jb 0x4136ad
mov eax, dword [eax]
mov ecx, dword [esi + 0xd0]
push eax
movsx eax, word [esi + 4]
push eax
mov edx, dword [ecx]
push str._04X_file:__s_not_exist__n
push ecx
call dword [edx + 0x18]
mov byte [ebp - 4], 0x15
add esp, 0x10
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4136e0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
push 0xe
push str.file_not_exist
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00404290
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1b
push eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.004142d0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x413727
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004046a0
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x413744
push eax
call fcn.0048dbbc
add esp, 4
mov dword [ebp - 0x150], 0
lea ecx, [ebp - 0x114]
call fcn.00436fc0
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x41376d
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.004046a0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
cmp eax, 0x10
jb 0x41379d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004046a0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x4137c4
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004046a0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x4137f1
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004046a0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x413824
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004046a0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x41385d
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004046a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464228
mov esp, ebp
pop ebp
ret 4