Function at 0x75929033
Capabilities:
Create thread
Delete registry key
Delete registry value
Get hostname
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x7594d0ac]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], ebx
call fcn.75927559
test eax, eax
jne 0x7592fb0f
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
cmp dword [ebp - 0x30], ebx
jne 0x7592909f
push edi
push 5
call fcn.75929905
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x75929156
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.7592915f
test eax, eax
je 0x7592fbb3
cmp dword [ebp - 0x48], ebx
jne 0x759290d1
cmp dword [ebp - 0x38], ebx
je 0x7592fb20
cmp dword [ebp - 0x4c], edi
je 0x7592fb29
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov eax, dword [esi + 0x48]
cmp eax, ebx
jne 0x7592fbc0
cmp dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x34], eax
je 0x759290fe
or dword [esi + 0x44], 0x10
lea edi, [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
cmp dword [ebp - 0x3c], ebx
jne 0x7592fbcb
mov dword [esi + 0x3c], 3
push dword [ebp - 0x30]
call fcn.75927ee9
test eax, eax
je 0x7592fc05
cmp dword [esi + 0x3c], 3
jne 0x7592fc0e
mov edi, dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
push esi
call edi
cmp dword [ebp - 0x44], ebx
jne 0x7592fc3b
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.75921930
leave
ret 0xc
xor eax, eax
jmp 0x75929147
cmp dword [ebp - 0x30], ebx
je 0x75929081
xor edi, edi
inc edi
jmp 0x75929087
cmp dword [ebp - 0x3c], ebx
jne 0x759290c8
push dword [ebp - 0x30]
call fcn.75927288
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogonDomainCache
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CachePrimaryDomain
push dword [0x7594d180]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 0x34], ebx
je 0x7592fba5
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x40], 0x14
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x7592fba5
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x7592fba5
mov eax, dword [ebp - 0x40]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push 0x75927114
push dword [0x7594d180]
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x48], edi
jmp 0x75929087
push dword [ebp - 0x30]
call fcn.75927288
jmp 0x75929156
push eax
call fcn.75927288
jmp 0x759290e3
cmp dword [ebp - 0x38], ebx
jne 0x7592fbf5
mov eax, dword [edi]
sub eax, dword [esi + 0x30]
mov edi, dword [edi + 4]
sbb edi, dword [esi + 0x34]
cmp edi, 0xb00
jg 0x7592fbf5
jl 0x7592fbec
cmp eax, 0x51c88000
jae 0x7592fbf5
mov dword [esi + 0x3c], 2
jmp 0x7592fbfc
mov dword [esi + 0x3c], 1
or dword [esi + 0x44], 8
jmp 0x75929118
or dword [esi + 0x44], 0x20
jmp 0x75929128
cmp dword [ebp + 0x10], ebx
je 0x75929132
cmp dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], 1
je 0x7592fc33
push dword [ebp - 0x34]
call fcn.75929b3b
mov dword [esi + 0x40], eax
jmp 0x75929132
mov dword [esi + 0x40], ebx
jmp 0x75929132
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
push 0x75937053
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x7592fc5e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x75929144
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push esi
mov dword [esi + 0x3c], 3
call edi
jmp 0x75929144