Function at 0x4275a8
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov byte [0x4a6b86], bl
cmp word [eax], 0x2a
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
push esi
push eax
mov dword [ebp - 0xc], ecx
sete byte [ebp - 1]
call fcn.00410488
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 0x4275ea
add cl, 3
movsx ecx, cl
movzx edx, si
cmp ecx, edx
jne 0x427623
movzx edx, word [eax + 2]
cmp ecx, edx
jne 0x427623
add eax, 4
xor esi, esi
mov dword [ebp - 0x10], eax
inc esi
push esi
lea eax, [ebp - 0x10]
push eax
push 0x49360c
call fcn.00435950
add esp, 0xc
test al, al
je 0x427626
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
jmp 0x42763d
xor esi, esi
inc esi
push 5
lea eax, [ebp + 8]
push eax
push str._user
call fcn.00435950
add esp, 0xc
test al, al
je 0x427649
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], str.UCallBackhWnd
jmp 0x427651
mov eax, dword [0x4a52a8]
mov dword [ebp - 0x20], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 8], ebx
mov eax, str.GlobalPECMD:main_u
jne 0x427667
mov eax, str.GlobalPECMD:main
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x42768a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
cmp eax, ecx
jne 0x42768a
mov eax, ecx
jmp 0x427a39
cmp dword [ebp - 8], ebx
je 0x427698
mov byte [0x4aa003], 0x20
jmp 0x4276a8
mov eax, dword [ebp + 8]
cmp word [eax], bx
setne al
add al, 0x10
mov byte [0x4aa003], al
cmp dword [0x4a6e10], ebx
push edi
mov edi, 0x496134
mov esi, 0x4a6f08
jne 0x4276d7
push 0x493a6a
call fcn.0047acb6
test eax, eax
pop ecx
je 0x4276d7
push edi
push str.D:DebugPeMain.log
mov ecx, esi
call fcn.0041719b
push dword [ebp - 0x1c]
push str.MAIN__s_r_n
push esi
call fcn.0040c816
add esp, 0xc
call fcn.00413ef2
cmp byte [ebp - 1], bl
je 0x4276f9
mov byte [0x4aa001], 1
cmp dword [ebp - 8], ebx
jne 0x427738
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x427750
push 0x10000000
push 1
push ebx
push 0x493a40
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
cmp esi, ebx
je 0x427738
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je 0x427731
push esi
call dword [sym.imp.USER32.dll_SwitchDesktop]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x427750
mov ecx, dword [ebp - 0xc]
push ebx
push 0x24
push ebx
push edi
call fcn.0041ae73
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp - 0x24], ecx
jne 0x427772
add eax, 2
cmp word [eax], 0x23
je 0x427772
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0040b43e
push edi
push edi
call sym.PECMD.exe_LoadEnvi
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
pop ecx
jne 0x42778a
mov byte [0x4a721d], 1
call fcn.0042f19b
call fcn.00427574
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
mov esi, str.SOFTWAREPELOGON
push esi
mov edi, 0x80000002
push edi
call fcn.0042f97c
push ebx
push 0x4a6f08
call fcn.00473033
mov eax, dword [ebp - 0xc]
add esp, 0x20
cmp dword [eax + 0x48], ebx
jne 0x427845
test byte [0x4a6fe0], 1
jne 0x4277f2
or dword [0x4a6fe0], 1
push 0x48e6a9
mov dword [0x4a6fdc], ebx
call fcn.0047bc8d
pop ecx
mov ecx, dword [ebp - 0xc]
mov esi, 0x4a6fdc
push 0x10000
mov dword [ecx + 0x48], esi
call fcn.00432b58
lea ecx, [ebp - 0x14]
call fcn.00433c24
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0045d97c
mov eax, dword [0x4a6fdc]
mov esi, dword [ebp - 0xc]
push 1
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
mov eax, dword [eax]
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004411c1
lea ecx, [ebp - 0x14]
mov dword [esi + 0x54], ebx
call fcn.0042eb98
mov esi, str.SOFTWAREPELOGON
cmp dword [ebp - 8], ebx
jne 0x427869
mov al, byte [0x4aa003]
push 1
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
push 3
push str.bInMain
push esi
push edi
call fcn.0042f97c
add esp, 0x18
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x427876
call fcn.0040e735
push 4
push 0x4a6e04
push 4
push dword [ebp - 0x20]
push esi
push edi
call fcn.0042f97c
add esp, 0x18
cmp word [ebp - 0x24], bx
jne 0x427897
cmp dword [ebp - 8], ebx
je 0x42789c
call fcn.0041d303
mov ecx, dword [ebp - 0xc]
call fcn.00413c24
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4278b1
cmp dword [ebp - 8], ebx
je 0x4278f3
lea eax, [ebp - 0x24]
push eax
push 0x10000
push ebx
push 0x427599
push 0x80000
push ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x4278f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4278f0
lea ecx, [eax + 2]
cmp word [ecx], 0x23
je 0x4278f9
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
call fcn.0040b43e
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x4278dc
cmp word [eax], bx
je 0x4279f7
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
add eax, 0x5c8
push eax
lea ecx, [ebp - 0x1c]
call fcn.00433c42
mov esi, dword [ebp - 0x1c]
push 0x104
mov dword [ebp - 0x24], esi
add esi, 0x280
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 0x42794e
mov dword [ebp - 0x20], esi
jmp 0x427953
inc eax
inc eax
mov dword [ebp - 0x20], eax
push dword [ebp + 8]
call fcn.0040dcad
test eax, eax
pop ecx
je 0x427983
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0043ddc9
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call fcn.00424fb6
lea ecx, [ebp - 0x20]
call fcn.0042eb98
jmp 0x4279ef
push dword [ebp - 0x20]
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 - 0x24]
add esp, 0xc
cmp word [eax], bx
je 0x4279e1
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push str.SysStartuped
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp - 0x18], 1
call fcn.0042f97c
add esp, 0x18
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push ebx
push ecx
push edi
call fcn.00406e56
lea ecx, [ebp - 0x1c]
call fcn.0042eb98
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 0x427a26
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 0x427a09
push dword [0x4a6df0]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [ebp - 0x38]
pop esi
pop ebx
leave
ret 4