Function at 0x107e7fd
Capabilities:
Create thread
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x461c
call fcn.01077950
mov eax, dword [0x10de03c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x4614], esi
mov dword [ebp - 0x4610], edi
mov dword [ebp - 0x460c], edi
mov dword [ebp - 0x4618], CompareStringW
mov dword [0x10e6be8], 0xffffffff
call fcn.01021462
movsx ebx, word [eax + reloc.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x4618]
imul ebx, ebx, reloc.KERNEL32.dll_GetTapeParameters
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push edi
push 0x1010318
lea eax, [ebp - 0x204]
push eax
call fcn.0107d959
cmp eax, 0xffffffff
mov dword [0x10e6c1c], eax
jne 0x107e88b
xor eax, eax
jmp 0x107ea98
add esi, 0x28
mov edi, 0x10e6bc4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x461c]
push eax
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
push 0x107b0d4
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x10e6c14], eax
je 0x107e953
cmp dword [0x10e6be8], 0xffffffff
mov dword [ebp - 0x4608], esi
jne 0x107e941
xor edi, edi
inc edi
inc dword [ebp - 0x4608]
cmp dword [ebp - 0x4608], 0x4b0
jl 0x107e8e5
call fcn.0104ed25
cmp dword [0x10e6c08], esi
jne 0x107e8fa
mov eax, ebx
dec ebx
test eax, eax
jg 0x107e8fa
mov dword [ebp - 0x460c], edi
call fcn.0104e8a8
test eax, eax
mov eax, dword [0x10e6c1c]
je 0x107e920
cmp word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], si
jne 0x107e920
cmp eax, 0xffffffff
je 0x107e920
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x107e933
push eax
mov dword [ebp - 0x460c], edi
call fcn.010cb2b0
or dword [0x10e6c1c], 0xffffffff
call fcn.01075a13
cmp dword [0x10e6be8], 0xffffffff
je 0x107e8ce
push dword [0x10e6c14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10e6c14], esi
mov eax, dword [0x10e6c1c]
cmp eax, 0xffffffff
je 0x107e96a
push eax
call fcn.010cb2b0
or dword [0x10e6c1c], 0xffffffff
cmp dword [0x10e6be8], esi
jne 0x107ea92
cmp word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], si
je 0x107e9b4
push 0x10e6bb4
call fcn.0107e74c
call fcn.0101726b
test eax, eax
je 0x107ea92
call fcn.0101726b
push esi
push 0x8023
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x107ea92
push 0x25c
call dword [sym.imp.msvcrt.dll_malloc]
cmp eax, esi
pop ecx
mov dword [ebp - 0x4610], eax
je 0x107ea92
mov ebx, dword [ebp - 0x4610]
xor eax, eax
push eax
push 0xe
pop esi
push esi
mov ecx, 0x97
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4608]
push eax
lea eax, [ebp - 0x4604]
push eax
push 0x10e6bb4
push dword [0x10de044]
mov dword [ebp - 0x4608], 0x3e8
call fcn.010cb2ec
test eax, eax
jne 0x107ea4e
cmp dword [ebp - 0x4608], eax
je 0x107ea4e
lea eax, [ebp - 0x784]
push eax
lea eax, [ebp - 0x4604]
push eax
push dword [0x10de044]
mov dword [ebp - 0x784], 0x580
mov dword [ebp - 0x780], esi
call fcn.010cb2bc
lea edi, [ebx + 0x24]
lea esi, [ebp - 0x5c4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x4614]
mov dword [ebx + 0x10], ebx
add esi, 0x38
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x14]
mov esi, 0x10e6bb4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x100205c
add ebx, 0x58
push ebx
movsd dword es:[edi], dword [esi]
call dword [sym.imp.msvcrt.dll_wcscpy]
mov ebx, dword [ebp - 0x4614]
mov edi, dword [ebp - 0x4610]
pop ecx
pop ecx
add ebx, 0x14
call fcn.0107c208
mov eax, dword [ebp - 0x4610]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075aef
leave
ret 4