Function at 0x100fdb00
Capabilities:
Create thread
Get process image filename
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10184a23
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
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 dword [ebp - 0x498], edx
mov dword [ebp - 0x49c], ecx
cmp dword [ecx + 0x14], 8
mov eax, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x494], edi
mov dword [ebp - 0x430], 0
jb 0x100fdb57
mov eax, dword [ecx]
push eax
lea ecx, [ebp - 0x430]
call fcn.100ff430
push str.kernel32.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
or ebx, 0xffffffff
test eax, eax
je 0x100fe06d
push str.GetFinalPathNameByHandleW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100fe06d
push 0
push 0
push 1
lea ecx, [ebp - 0x428]
mov dword [0x101e9ecc], 0
push 0
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x490], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x484], eax
test eax, eax
je 0x100fe06d
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x480], eax
test eax, eax
je 0x100fe06d
mov ecx, dword [ebp - 0x494]
xor edi, edi
mov eax, dword [0x101e9ecc]
cmp eax, dword [ecx]
jae 0x100fe051
test edi, edi
jne 0x100fdc27
push edi
push edi
lea eax, [ebp - 0x490]
push eax
push 0x100fd9f0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x100fe06d
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x100fe06d
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x100fe06d
push 0xfa
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100fdc7e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
jmp 0x100fe017
cmp byte [ebp - 0x47c], 0
je 0x100fe017
mov eax, dword [ebp - 0x488]
lea ecx, [ebp - 0x42c]
add eax, 8
mov dword [ebp - 0x42c], 0
push eax
call fcn.100ff430
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x100fe0b2
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x100fdce2
push esi
lea ecx, [ebp - 0x42c]
call fcn.100ff670
mov eax, dword [ebp - 0x42c]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.10164443
mov eax, dword [ebp - 0x42c]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x100fe0b2
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x42c]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x430]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x100fe0b2
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x100fdd41
push esi
lea ecx, [ebp - 0x430]
call fcn.100ff670
mov eax, dword [ebp - 0x430]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.10164443
mov eax, dword [ebp - 0x430]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x100fe0b2
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x430]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x49c]
push dword [eax + 0x10]
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
call fcn.101645ff
add esp, 0xc
test eax, eax
jne 0x100fdff6
mov eax, dword [0x101e9ecc]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x494]
push dword [eax + ecx*4 - 0x10]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x100fdff3
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x100fdfec
mov edx, dword [ebp - 0x488]
add edx, 8
mov dword [ebp - 0x438], 0
xor eax, eax
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100fde06
sub eax, esi
lea ecx, [ebp - 0x448]
sar eax, 1
push eax
push edx
call fcn.10001c20
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
cmp byte [eax], 0
je 0x100fdec5
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x478]
call fcn.10004390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x218]
xor eax, eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x460], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100fde70
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.10001c20
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x4d0]
mov byte [ebp - 4], 4
push eax
call fcn.100ff990
lea ecx, [ebp - 0x460]
call fcn.10001bc0
lea ecx, [ebp - 0x478]
jmp 0x100fdfdc
xor eax, eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x4a4], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x4a0], 7
mov word [ebp - 0x4b4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100fdf06
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4b4]
call fcn.10001c20
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4b4]
cmp dword [ebp - 0x4a0], 8
cmovae eax, dword [ebp - 0x4b4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x100fdf50
sub edx, esi
lea ecx, [ebp - 0x460]
sar edx, 1
push edx
push eax
call fcn.10001c20
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 5
call fcn.10001bc0
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x4cc]
call fcn.10004390
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x4b4]
call fcn.10004390
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x4cc]
push eax
lea eax, [ebp - 0x4d4]
mov byte [ebp - 4], 8
push eax
call fcn.100ff990
lea ecx, [ebp - 0x4b4]
call fcn.10001bc0
lea ecx, [ebp - 0x4cc]
call fcn.10001bc0
lea ecx, [ebp - 0x460]
call fcn.10001bc0
lea ecx, [ebp - 0x448]
call fcn.10001bc0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100fe017
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x494]
mov eax, dword [0x101e9ecc]
cmp eax, dword [ecx]
jb 0x100fdc03
test edi, edi
je 0x100fe051
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100fe04a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x100fe06f
xor bl, bl
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100fe094
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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
push 0x80070057
call fcn.100e5440
int3