Function at 0x100015ff
Capabilities:
Create thread
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor eax, eax
mov edi, 0x10017380
push 0x100181c4
stosb byte es:[edi], al
mov dword [0x10017360], 0x188
call sym.bpzweru.dll_kfcmuvmzzog
mov edi, dword [0x100181d8]
mov eax, edi
mov dword [ebp - 0x14], eax
pop ecx
fild dword [ebp - 0x14]
test eax, eax
jns 0x1000163c
fadd qword [0x10013548]
call fcn.1000fd2c
fild dword [0x1001737c]
mov eax, dword [0x1001737c]
test eax, eax
jns 0x10001656
fadd qword [0x10013548]
fcompp
fnstsw ax
test ah, 5
jp 0x10001665
mov dword [0x1001737c], edi
push 0x18
call fcn.1000309f
mov dword [esp], 0x10002bc0
push 0x18
mov edi, eax
push 0xffffffffffffffff
lea eax, [edi + 8]
push 0x1001834c
push eax
mov dword [edi + 4], str.LuZpqtyYbZe
call fcn.10002ca5
xor ebx, ebx
add esp, 0x14
cmp eax, ebx
je 0x1000169b
mov al, byte [eax]
jmp 0x100016a5
test byte [edi], 0x80
je 0x100016a3
mov byte [edi], 3
mov al, 3
cmp byte [edi], al
jne 0x100016ba
push dword [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [0x100181e8], eax
mov byte [edi], bl
mov eax, dword [0x10018348]
push 0x1001737c
imul eax, eax, 7
push ebx
push 0x100180b0
push 0x1000123e
push ebx
push ebx
mov dword [0x10017360], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0xc]
mov dword [0x100181e8], eax
cmp dword [ecx], ebx
jne 0x10001749
cmp byte [0x100182f9], 0x5c
jne 0x1000170d
cmp byte [0x100182f8], 0x3a
jne 0x1000170d
cmp byte [0x100180b2], 0x5c
jne 0x1000170d
mov byte [0x100182ff], 0x5c
fild dword [0x10017360]
dec dword [0x10017360]
fmul dword [0x10017368]
fsub qword [0x10013540]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
call fcn.1000fac0
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
xor eax, eax
fmul dword [0x100181c0]
fstp dword [0x100181c0]
jmp 0x1000190c
mov dword [esi], ebx
mov eax, dword [esi]
mov dword [eax*4 + 0x10018380], eax
inc eax
mov dword [esi], eax
cmp eax, 0x100
jb 0x1000174b
cmp dword [ecx], ebx
je 0x10001909
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [0x10017360]
mov dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
mov edi, 0xff
mov eax, 0xffdc826e
sub eax, ecx
mov ecx, eax
mov eax, dword [esi]
lea edx, [eax*4 + 0x10018380]
mov dword [ebp - 0x14], edx
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
xor edx, edx
div dword [ebp - 0x10]
mov ebx, 0x2176
movsx eax, byte [edx + 0x100181f0]
add eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
and eax, edi
mov dword [ebp - 4], eax
mov eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x14]
lea eax, [eax*4 + 0x10018380]
sub ecx, edx
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [esi]
inc eax
mov dword [esi], eax
cmp eax, 0x100
jb 0x1000177e
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [0x10017360], ecx
mov dword [ebx], eax
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], eax
je 0x10001909
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], eax
je 0x10001909
push 0x100180b0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 1
jne 0x1000181e
push 0x10
push 0x100180b0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x100181e0
push 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadSelectorEntry]
test eax, eax
je 0x1000184a
mov eax, dword [0x1001736c]
shr eax, 2
not eax
test al, 1
jne 0x1000184a
call dword [0x10017390]
mov eax, dword [ebp + 0x14]
and dword [esi], 0
cmp dword [eax], 0
jbe 0x100018f6
mov eax, dword [0x10018348]
mov ecx, eax
xor ecx, 0xffec50af
add ecx, 0x8024
mov dword [ebp - 0x14], ecx
xor ecx, ecx
test eax, eax
sete cl
imul eax, ecx
imul eax, eax, 0x57
mov dword [ebp - 0x10], eax
jmp 0x10001884
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x14]
inc ecx
and ecx, edi
mov dword [ebx], ecx
mov dword [0x10017360], eax
mov eax, dword [ebp - 8]
lea ecx, [ecx*4 + 0x10018380]
mov edx, dword [ecx]
add eax, edx
and eax, edi
cmp dword [ebp - 0x10], 0
mov ebx, dword [eax*4 + 0x10018380]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ecx], ebx
je 0x100018ce
mov eax, dword [0x10017360]
cdq
push 0x57
pop ebx
idiv ebx
mov edx, dword [ebp - 0xc]
mov dword [0x10017360], eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov dword [eax*4 + 0x10018380], edx
mov ecx, dword [ecx]
mov eax, dword [esi]
mov ebx, dword [ebx]
add ecx, edx
and ecx, edi
mov cl, byte [ecx*4 + 0x10018380]
xor byte [ebx + eax], cl
mov ecx, dword [ebp + 0x14]
inc eax
mov dword [esi], eax
cmp eax, dword [ecx]
jb 0x10001881
push 0x10
call fcn.100024e3
neg eax
sbb eax, eax
neg eax
pop ecx
mov dword [0x10017378], eax
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret