Function at 0x10031b91
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x100d889d
call fcn.100ac440
sub esp, 0xe4
mov eax, dword [0x1011c710]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x74], eax
push edi
lea eax, [esi + 0x22c]
push eax
lea ecx, [ebp - 0x60]
call fcn.1000174b
xor edi, edi
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], edi
call fcn.100c787c
push edi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.1000192d
mov ecx, dword [esi + 0x1f0]
push 0x10000000
push str.everyone
push eax
call fcn.1006df5a
push 0x80
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
push 0x4042
push dword [ebp - 0x60]
lea ecx, [ebp - 0x98]
call fcn.100c7892
test eax, eax
jne 0x10031c32
push edi
push 0x5042
push dword [ebp - 0x60]
lea ecx, [ebp - 0x98]
call fcn.100c7892
lea ecx, [ebp - 0x98]
call fcn.100c7b33
inc eax
push eax
call fcn.100c6c30
pop ecx
lea ecx, [ebp - 0x98]
mov esi, eax
call fcn.100c7b33
inc eax
push eax
push edi
push esi
call fcn.100ab720
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.100c7b33
inc eax
push eax
call fcn.100139fe
pop ecx
lea ecx, [ebp - 0x98]
mov edi, eax
call fcn.100c7b33
push eax
push esi
lea ecx, [ebp - 0x98]
call fcn.100c79a8
lea ecx, [ebp - 0x98]
call fcn.100c7c15
lea ebx, [edi + 1]
push ebx
call fcn.100c6c30
push ebx
push 0
push eax
mov dword [ebp - 0x58], eax
call fcn.100ab720
mov ebx, dword [ebp - 0x58]
push ebx
push edi
push esi
call fcn.10013bb9
add esp, 0x1c
lea ecx, [ebp - 0x70]
call fcn.10008ed3
xor edi, edi
push edi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.1005209b
cmp esi, edi
je 0x10031cdc
push esi
call fcn.100c6c35
pop ecx
cmp ebx, edi
je 0x10031ce7
push ebx
call fcn.100c6c35
pop ecx
cmp dword [ebp - 0x70], edi
mov esi, 0x100e8500
jne 0x10031d0c
push 0x100e84fc
lea ecx, [ebp - 0x70]
call fcn.10051f4d
mov ecx, dword [ebp - 0x70]
push 0x100e6a80
push esi
call fcn.100513e1
mov ecx, dword [ebp - 0x70]
cmp ecx, edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x78], edi
je 0x10032336
add ecx, 0x10
push 0x100e84fc
call fcn.100083f3
test eax, eax
jne 0x100320e0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x50], ecx
je 0x10032005
mov eax, dword [ebp - 0x50]
mov edi, dword [eax + 8]
cmp dword [edi + 4], 5
mov dword [ebp - 0x48], edi
jne 0x10031f15
push str.action
lea ecx, [edi + 0x10]
call fcn.100083f3
test eax, eax
jne 0x10031f15
push str.action_id
lea eax, [ebp - 0xd4]
push eax
mov ecx, edi
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
jb 0x10031d8b
mov eax, dword [eax + 4]
jmp 0x10031d8e
add eax, 4
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.100ace10
pop ecx
pop ecx
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0xd4]
inc bl
call fcn.100017d0
test bl, bl
je 0x10031f15
xor ebx, ebx
push str.date
lea eax, [ebp - 0xf0]
inc ebx
push eax
mov ecx, edi
mov dword [ebp - 0x58], ebx
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 3
jb 0x10031de3
mov eax, dword [eax + 4]
jmp 0x10031de6
add eax, 4
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000223a
push 0
push ebx
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
call fcn.100017d0
lea eax, [ebp - 0x84]
push eax
call fcn.10008248
mov edi, str._Y_m_d
push edi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x84]
call fcn.10031b1c
push dword [eax]
push dword [ebp - 0x5c]
call fcn.100ace10
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x7c]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.10001199
test bl, bl
mov ecx, dword [ebp - 0x48]
je 0x10031eba
push 0x100e84cc
lea eax, [ebp - 0xb4]
push eax
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
jb 0x10031e64
mov eax, dword [eax + 4]
jmp 0x10031e67
add eax, 4
push eax
call fcn.100ad185
pop ecx
xor edi, edi
push 0
inc edi
push edi
lea ecx, [ebp - 0xb4]
mov ebx, eax
call fcn.100017d0
cmp ebx, dword [ebp + 0xc]
jl 0x10031e8b
mov dword [ebp - 0x78], edi
jmp 0x10031f06
and word [ebp - 0x1c], 0
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
lea eax, [ebp - 0x1c]
push eax
inc ebx
push ebx
call fcn.100af751
mov ecx, dword [ebp - 0x48]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x100e84cc
call fcn.1005202e
jmp 0x10031f00
push 0x100e7cd0
push 0x100e84cc
call fcn.1005202e
push edi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10008248
mov ecx, eax
call fcn.10031b1c
push dword [eax]
mov ecx, dword [ebp - 0x48]
push str.date
mov byte [ebp - 4], 6
call fcn.1005202e
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001199
cmp dword [ebp - 0x78], 0
je 0x10031f2e
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001199
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x70]
cmp eax, dword [ecx + 0x4c]
mov dword [ebp - 0x50], eax
jne 0x10031d45
jmp 0x10031ffb
mov ecx, dword [ebp - 0x48]
push esi
lea eax, [ebp - 0xb4]
push eax
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
jb 0x10031f49
mov eax, dword [eax + 4]
jmp 0x10031f4c
add eax, 4
push eax
call fcn.100ad185
pop ecx
xor edi, edi
push 0
inc edi
push edi
lea ecx, [ebp - 0xb4]
mov ebx, eax
call fcn.100017d0
cmp ebx, dword [ebp + 0x10]
jl 0x10031f70
mov dword [ebp - 0x78], edi
jmp 0x10031fec
and word [ebp - 0x28], 0
xor eax, eax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
lea eax, [ebp - 0x28]
push eax
inc ebx
push ebx
call fcn.100af751
mov ecx, dword [ebp - 0x48]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1005202e
mov ecx, dword [ebp - 0x70]
push esi
lea eax, [ebp - 0xb4]
push eax
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
jb 0x10031fb4
mov eax, dword [eax + 4]
jmp 0x10031fb7
add eax, 4
push eax
call fcn.100ad185
pop ecx
push 0
push 1
lea ecx, [ebp - 0xb4]
mov edi, eax
call fcn.100017d0
push 0xa
lea eax, [ebp - 0x28]
push eax
inc edi
push edi
call fcn.100af751
mov ecx, dword [ebp - 0x70]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1005202e
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001199
cmp dword [ebp - 0x58], 0
jne 0x100320e0
and word [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x70]
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0xb4]
push eax
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
jb 0x1003202c
mov eax, dword [eax + 4]
jmp 0x1003202f
add eax, 4
push eax
call fcn.100ad185
pop ecx
push 0
push 1
lea ecx, [ebp - 0xb4]
mov edi, eax
call fcn.100017d0
push 0xa
lea eax, [ebp - 0x1c]
push eax
inc edi
push edi
call fcn.100af751
mov ecx, dword [ebp - 0x70]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.1005202e
mov ecx, dword [ebp - 0x70]
push str.action
call fcn.10051fc0
mov edi, eax
test edi, edi
je 0x100320e0
mov eax, dword [ebp - 0x74]
push dword [eax]
mov ecx, edi
push str.action_id
call fcn.100513e1
mov ebx, 0x100e7cd0
push ebx
push esi
mov ecx, edi
call fcn.100513e1
push ebx
push 0x100e84cc
mov ecx, edi
call fcn.100513e1
push str._Y_m_d
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10008248
mov ecx, eax
call fcn.10031b1c
push dword [eax]
mov ecx, edi
push str.date
mov byte [ebp - 4], 7
call fcn.100513e1
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001199
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x10032336
add ecx, 0x10
push 0x100e84fc
call fcn.100083f3
test eax, eax
jne 0x10032336
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x4c]
mov ebx, dword [eax]
cmp ebx, eax
mov dword [ebp - 0x48], ebx
je 0x10032336
mov edi, dword [ebx + 8]
cmp dword [edi + 4], 5
mov byte [ebp - 0x49], 0
mov dword [ebp - 0x5c], edi
jne 0x10032323
push str.action
lea ecx, [edi + 0x10]
call fcn.100083f3
test eax, eax
jne 0x10032323
push str.date
lea eax, [ebp - 0xb4]
push eax
mov ecx, edi
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 8
jb 0x1003215e
mov eax, dword [eax + 4]
jmp 0x10032161
add eax, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.1000223a
push 0
push 1
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xa
call fcn.100017d0
mov eax, dword [ebp - 0x50]
cmp dword [eax - 0xc], 8
jne 0x1003230e
push 2
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.10008b05
mov edi, eax
push 2
push 4
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.10003ff3
mov ebx, eax
push 4
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call fcn.1000430d
mov ecx, dword [edi]
mov edi, dword [ebx]
mov eax, dword [eax]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push ebx
push ebx
push ecx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x54], eax
call fcn.100ad185
pop ecx
push eax
push edi
call fcn.100ad185
pop ecx
push eax
push dword [ebp - 0x54]
call fcn.100ad185
pop ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.10007bb9
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xa
call fcn.10001199
lea eax, [ebp - 0x28]
push eax
call fcn.10008248
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x24]
sbb ecx, dword [ebp - 0x80]
push ebx
push 0x15180
push ecx
push eax
call fcn.100ad830
cmp edx, ebx
jl 0x1003230b
jg 0x10032258
cmp eax, 0x3c
jb 0x1003230b
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov word [ebp - 0x1c], bx
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0xf0]
push eax
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
jb 0x1003227e
mov eax, dword [eax + 4]
jmp 0x10032281
add eax, 4
push eax
call fcn.100ad185
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x54], eax
call fcn.100017d0
mov ecx, dword [ebp - 0x70]
push esi
lea eax, [ebp - 0xd4]
push eax
call fcn.1005077e
cmp dword [eax + 0x18], 0x10
jb 0x100322b4
mov eax, dword [eax + 4]
jmp 0x100322b7
add eax, 4
push eax
call fcn.100ad185
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xd4]
mov edi, eax
call fcn.100017d0
sub edi, dword [ebp - 0x54]
push 0xa
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.100af751
mov ecx, dword [ebp - 0x70]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.1005202e
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0xb8]
push eax
add ecx, 0x48
call fcn.1002b994
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], 1
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001199
cmp byte [ebp - 0x49], 0
jne 0x1003232a
mov eax, dword [ebx]
mov dword [ebp - 0x48], eax
mov ebx, eax
mov eax, dword [ebp - 0x70]
cmp ebx, dword [eax + 0x4c]
jne 0x10032113
mov ebx, dword [ebp - 0x60]
xor esi, esi
push esi
push 0x4042
push ebx
lea ecx, [ebp - 0x98]
call fcn.100c7892
test eax, eax
jne 0x10032363
push esi
push 0x5042
push ebx
lea ecx, [ebp - 0x98]
call fcn.100c7892
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
call fcn.10001594
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.1005238e
push dword [ebp - 0x30]
call fcn.100139d8
lea esi, [eax + 1]
push esi
call fcn.100c6c30
push esi
mov edi, eax
push 0
push edi
call fcn.100ab720
mov eax, dword [ebp - 0x40]
add esp, 0x14
cmp dword [ebp - 0x2c], 0x10
jae 0x100323ae
lea eax, [ebp - 0x40]
push edi
push dword [ebp - 0x30]
push eax
call fcn.100137a3
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x98]
call fcn.100c7a09
test edi, edi
je 0x100323d3
push edi
call fcn.100c6c35
pop ecx
lea ecx, [ebp - 0x98]
call fcn.100c7c15
xor esi, esi
cmp dword [ebp - 0x78], 1
jne 0x100323e7
inc esi
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.100017d0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.10050485
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.100c7c51
lea ecx, [ebx - 0x10]
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 0xc