Function at 0x4255f2
Capabilities:
Check mutex on windows
Create thread
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov byte [0x4acb8a], bl
cmp word [eax], 0x2a
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
push esi
push eax
mov dword [ebp - 0xc], ecx
sete byte [ebp - 1]
call fcn.004103a1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov si, word [eax]
cmp si, 0x2d
pop ecx
mov dword [ebp - 8], ebx
mov cl, 0x2a
jne 0x425634
add cl, 3
movsx ecx, cl
movzx edx, si
cmp ecx, edx
jne 0x42566d
movzx edx, word [eax + 2]
cmp ecx, edx
jne 0x42566d
add eax, 4
xor esi, esi
mov dword [ebp - 0x10], eax
inc esi
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4980fc
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x425670
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
jmp 0x425687
xor esi, esi
inc esi
push 5
lea eax, [ebp + 8]
push eax
push str._user
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x425693
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], str.UCallBackhWnd
jmp 0x42569b
mov eax, dword [0x4ab2a8]
mov dword [ebp - 0x24], eax
push ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
cmp dword [ebp - 8], ebx
mov eax, str.GlobalPECMD:main_u
jne 0x4256b1
mov eax, str.GlobalPECMD:main
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
test eax, eax
je 0x4256d4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, 0xb7
cmp eax, ecx
jne 0x4256d4
mov eax, ecx
jmp 0x425b6a
cmp dword [ebp - 8], ebx
je 0x4256e2
mov byte [0x4b0003], 0x20
jmp 0x4256f2
mov eax, dword [ebp + 8]
cmp word [eax], bx
setne al
add al, 0x10
mov byte [0x4b0003], al
cmp dword [0x4ace14], ebx
mov esi, 0x4acf10
jne 0x42571f
push 0x498d3c
call fcn.0047f7b4
test eax, eax
pop ecx
je 0x42571f
push 0x4949a4
push str._D:DebugPeMain2.log
mov ecx, esi
call fcn.00418f46
push dword [ebp - 0x20]
push str.MAIN__s_r_n
push esi
call fcn.0040cde2
add esp, 0xc
call fcn.00415680
cmp byte [ebp - 1], bl
je 0x425741
mov byte [0x4b0001], 1
cmp dword [ebp - 8], ebx
push edi
mov edi, str.MAIN_DBG:_d_r_n
jne 0x4257f9
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x425815
push str.SOFTWAREPELOGONRAMDATA
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push str.SOFTWAREPELOGONRAMDATA
push 0x80000002
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x14], ebx
je 0x425798
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x252f
push edi
push esi
call fcn.0040cde2
push 0x2531
push edi
push esi
call fcn.0040cde2
add esp, 0x18
push 0x10000000
push 1
push ebx
push str.Default
call dword [sym.imp.USER32.dll_OpenDesktopW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4257ea
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je 0x4257e1
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SwitchDesktop]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_CloseDesktop]
push 0x253b
push edi
push esi
call fcn.0040cde2
add esp, 0xc
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x425815
mov ecx, dword [ebp - 0xc]
push ebx
push 0x24
push ebx
push 0x4949a4
call fcn.0041d2a1
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp - 0x1c], ecx
jne 0x425837
add eax, 2
cmp word [eax], 0x23
je 0x425837
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0040bc51
mov eax, 0x4949a4
push eax
push eax
call sym.PECMD.exe_LoadEnvi
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
pop ecx
jne 0x425854
mov byte [0x4ad251], 1
call fcn.00430f76
call fcn.004255a7
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 4
push str.MainPECMDPID
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00431794
push 0x2545
push edi
push esi
call fcn.0040cde2
push ebx
push 0x4acf10
call fcn.00477ace
mov ecx, dword [ebp - 0xc]
add esp, 0x2c
cmp dword [ecx + 0x44], ebx
jne 0x425917
test byte [0x4acfe8], 1
jne 0x4258c9
or dword [0x4acfe8], 1
push 0x493215
mov dword [0x4acfe4], ebx
call fcn.00480166
pop ecx
mov ecx, dword [ebp - 0xc]
push 0x10000
mov dword [ecx + 0x44], 0x4acfe4
call fcn.00434c15
lea ecx, [ebp - 0x14]
call fcn.00435d62
push dword [ebp - 0x14]
mov ecx, 0x4acfe4
call fcn.004618fb
mov eax, dword [0x4acfe4]
mov ecx, dword [ebp - 0xc]
push 1
push dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov eax, dword [eax]
mov dword [ecx + 0x48], eax
call fcn.00443839
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x14]
mov dword [eax + 0x50], ebx
call fcn.0043092f
push 0x2551
push edi
push esi
call fcn.0040cde2
add esp, 0xc
cmp dword [ebp - 8], ebx
jne 0x425952
mov al, byte [0x4b0003]
push 1
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
push 3
push str.bInMain
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00431794
add esp, 0x18
push 0x2555
push edi
push esi
call fcn.0040cde2
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
je 0x42596e
call fcn.0040ece9
push 4
push 0x4ace08
push 4
push dword [ebp - 0x24]
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00431794
add esp, 0x18
cmp word [ebp - 0x1c], bx
jne 0x425997
cmp dword [ebp - 8], ebx
je 0x42599c
call fcn.0041f963
mov ecx, dword [ebp - 0xc]
call fcn.004150ca
push 0x8000
call fcn.0043a683
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
jne 0x4259bc
cmp dword [ebp - 8], ebx
je 0x425a0d
push 0x2561
push edi
push esi
mov dword [ebp - 0x24], ebx
call fcn.0040cde2
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push 0x10000
push ebx
push 0x4255cc
push 0x80000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, ebx
je 0x425a0a
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x425a0a
lea ecx, [eax + 2]
cmp word [ecx], 0x23
je 0x425a13
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
call fcn.0040bc51
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x4259f6
cmp word [eax], bx
je 0x425b28
push 0x256a
push edi
push esi
call fcn.0040cde2
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
add esp, 0xc
push dword [ebp + 8]
call edi
add eax, 0x5c8
push eax
lea ecx, [ebp - 8]
call fcn.00435d80
mov eax, dword [ebp - 8]
mov word [eax], bx
mov esi, dword [ebp - 8]
push 0x104
add esi, 0x280
mov dword [ebp - 0x20], eax
push esi
lea eax, [esi + 0x488]
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x5c
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebx
jne 0x425a7f
mov dword [ebp - 0x24], esi
jmp 0x425a84
inc eax
inc eax
mov dword [ebp - 0x24], eax
push dword [ebp + 8]
call fcn.0040e3a1
test eax, eax
pop ecx
je 0x425ab4
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.004403c3
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push dword [ebp - 0x24]
call fcn.00426546
lea ecx, [ebp - 0x24]
call fcn.0043092f
jmp 0x425b20
push dword [ebp - 0x24]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.___exe:__s_____s_
push dword [ebp - 0x14]
call esi
add esp, 0x10
push dword [ebp - 0x14]
call edi
push dword [ebp + 8]
mov edi, dword [ebp - 0x14]
lea eax, [edi + eax*2]
push str.LOAD_sysinit__s
push eax
call esi
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp word [eax], bx
je 0x425b12
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push str.SysStartuped
push str.SOFTWAREPELOGONRAMDATA
push 0x80000002
mov dword [ebp - 0x18], 1
call fcn.00431794
add esp, 0x18
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push ebx
push ecx
push edi
call fcn.004072ee
lea ecx, [ebp - 8]
call fcn.0043092f
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
call esi
pop edi
jmp 0x425b57
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
call esi
test eax, eax
jne 0x425b3a
push dword [0x4acdf4]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [ebp - 0x38]
pop esi
pop ebx
leave
ret 4