Function at 0x10112c00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185fe1
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x101e42fc]
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 dword [ebp - 0x2d0], esi
mov eax, dword [esi + 0x268]
lea ecx, [ebp - 0x88]
add eax, 0xfc
push eax
call fcn.10004390
lea ebx, [esi + 0x278]
mov dword [ebp - 4], 0
push ecx
mov ecx, ebx
mov dword [ebp - 0x2dc], ebx
call fcn.10106cd0
nop dword [eax + eax]
lea eax, [ebp - 0x2c0]
mov ecx, ebx
push eax
call fcn.10106dc0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.10004390
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10112cba
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x10112cba
push 1
push 0x101a4ae8
lea ecx, [ebp - 0x40]
call fcn.10001d30
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x2f4], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112ce0
sub ecx, edx
lea eax, [ebp - 0x2c0]
push ecx
push eax
lea ecx, [ebp - 0x2f4]
call fcn.100040c0
push ecx
lea edx, [ebp - 0x2f4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.100faf70
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2e0]
cmp edx, 0x10
jb 0x10112d50
mov ecx, dword [ebp - 0x2f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10112d46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101131ba
push edx
push ecx
call fcn.1014d535
add esp, 8
lea eax, [ebp - 0x70]
mov dword [ebp - 0x2e4], 0
push eax
lea ecx, [esi + 0x60]
mov dword [ebp - 0x2e0], 0xf
mov byte [ebp - 0x2f4], 0
call fcn.101136b0
mov cl, byte [ebp - 0x8c]
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0xf
mov byte [eax], cl
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x30c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112da3
sub ecx, edx
lea eax, [ebp - 0x2c0]
push ecx
push eax
lea ecx, [ebp - 0x30c]
call fcn.100040c0
push ecx
lea edx, [ebp - 0x30c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.100faf70
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2f8]
cmp edx, 0x10
jb 0x10112e13
mov ecx, dword [ebp - 0x30c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10112e09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101131ba
push edx
push ecx
call fcn.1014d535
add esp, 8
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0xf
mov byte [ebp - 0x30c], 0
call fcn.10001d30
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x94]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10165232
mov edi, eax
push 0x5c
push edi
call fcn.1015126b
add esp, 0xc
test eax, eax
je 0x10112e7a
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push edi
call fcn.10106f50
push edi
call fcn.101586be
add esp, 4
cmp byte [ebp - 0x8c], 0
je 0x10112ebd
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
test esi, esi
je 0x10112ea8
cmp esi, 0xffffffff
je 0x10112ea8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x58]
call fcn.10001bc0
lea ecx, [ebp - 0x70]
call fcn.10001bc0
jmp 0x10113166
mov ebx, dword [ebp - 0x2d0]
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x10112ee5
cmp dword [eax + 0x38], 0
je 0x10112ee5
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d8], eax
mov esi, dword [ebp - 0x90]
sub esp, 8
movd xmm1, dword [ebx + 0x10]
mov eax, esi
shr eax, 0x1f
cvtdq2pd xmm1, xmm1
movd xmm0, esi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x101cf6f0]
divsd xmm0, xmm1
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.1017ca30
movd xmm1, dword [ebx + 0x10]
add esi, 0x1e
fstp qword [ebp - 0x18]
cvttsd2si eax, qword [ebp - 0x18]
cvtdq2pd xmm1, xmm1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xa0]
add eax, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101cf6f0]
divsd xmm0, xmm1
movsd qword [ebp - 0x2cc], xmm0
fld qword [ebp - 0x2cc]
fstp qword [esp]
call fcn.1017ca30
fstp qword [ebp - 0x2cc]
cvttsd2si esi, qword [ebp - 0x2cc]
push 0x10
call fcn.1015bd59
mov ecx, dword [ebp - 0x2d4]
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2d8]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov byte [eax + 0xc], 0
mov edx, dword [ebx + 0x58]
mov edi, edx
mov esi, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov cl, byte [eax + 0xd]
test cl, cl
jne 0x10112fcf
mov ecx, eax
cmp dword [ecx + 0x10], esi
jge 0x10112fc2
mov ecx, dword [ecx + 8]
jmp 0x10112fc6
mov edi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10112fb8
mov cl, byte [eax + 0xd]
cmp byte [edi + 0xd], 0
jne 0x10112fda
cmp esi, dword [edi + 0x10]
jge 0x10112fdc
mov edi, edx
cmp edi, edx
je 0x10113034
test cl, cl
jne 0x10112ff8
cmp dword [eax + 0x10], esi
jge 0x10112fee
mov eax, dword [eax + 8]
jmp 0x10112ff2
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10112fe4
cmp byte [edx + 0xd], 0
jne 0x10113003
cmp esi, dword [edx + 0x10]
jge 0x10113006
mov edx, dword [ebx + 0x58]
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0x18]
cmp eax, dword [ecx + 8]
je 0x10113022
mov edx, dword [ebp - 0x2c8]
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x10113150
lea edx, [ebp - 0x2c8]
push edx
push eax
call fcn.100ee980
jmp 0x10113150
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 8
push eax
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x28], 0
call fcn.100ee980
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x58]
call fcn.101136d0
mov cl, byte [ebp - 0x28]
lea edi, [eax + 4]
mov byte [eax], cl
lea eax, [ebp - 0x24]
cmp edi, eax
je 0x10113148
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ebx, eax
mov ecx, dword [edi + 8]
mov esi, ebx
mov edx, dword [edi]
sub ecx, edx
sar esi, 2
sar ecx, 2
cmp esi, ecx
jbe 0x10113135
cmp esi, 0x3fffffff
ja 0x101131bf
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x2c8], eax
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x2c8]
cmp ecx, eax
ja 0x101130d4
mov eax, dword [ebp - 0x2c8]
add eax, ecx
cmp eax, esi
cmovb eax, esi
mov esi, eax
test edx, edx
je 0x10113121
shl ecx, 2
cmp ecx, 0x1000
jb 0x10113103
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c8], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x101131ba
mov edx, dword [ebp - 0x2c8]
push ecx
push edx
call fcn.1014d535
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push esi
call fcn.100eea90
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [eax + esi*4]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [edi]
push ebx
push eax
push esi
call fcn.10150520
lea eax, [esi + ebx]
add esp, 0xc
mov dword [edi + 4], eax
lea ecx, [ebp - 0x24]
call fcn.10009f90
lea ecx, [ebp - 0x58]
call fcn.10001bc0
lea ecx, [ebp - 0x70]
call fcn.10001bc0
mov ebx, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10001bc0
push ecx
mov ecx, ebx
call fcn.10106d30
test al, al
je 0x10113189
mov esi, dword [ebp - 0x2d0]
jmp 0x10112c70
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x88]
mov byte [eax + 0xa], 1
call fcn.10001bc0
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.1014d1d5
mov esp, ebp
pop ebp
ret
call fcn.10158895
call fcn.1000bf50
int3