Function at 0x426822
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 [0x4a5b86], 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.004102f4
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 0x426864
add cl, 3
movsx ecx, cl
movzx edx, si
cmp ecx, edx
jne 0x42689d
movzx edx, word [eax + 2]
cmp ecx, edx
jne 0x42689d
add eax, 4
xor esi, esi
mov dword [ebp - 0x10], eax
inc esi
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4925ac
call fcn.004349fd
add esp, 0xc
test al, al
je 0x4268a0
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
jmp 0x4268b7
xor esi, esi
inc esi
push 5
lea eax, [ebp + 8]
push eax
push str._user
call fcn.004349fd
add esp, 0xc
test al, al
je 0x4268c3
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], str.UCallBackhWnd
jmp 0x4268cb
mov eax, dword [0x4a42a8]
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 0x4268e1
mov eax, str.GlobalPECMD:main
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x426904
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
cmp eax, ecx
jne 0x426904
mov eax, ecx
jmp 0x426cb3
cmp dword [ebp - 8], ebx
je 0x426912
mov byte [0x4a9003], 0x20
jmp 0x426922
mov eax, dword [ebp + 8]
cmp word [eax], bx
setne al
add al, 0x10
mov byte [0x4a9003], al
cmp dword [0x4a5e10], ebx
push edi
mov edi, 0x48e984
mov esi, 0x4a5f08
jne 0x426951
push 0x492a0a
call fcn.00479791
test eax, eax
pop ecx
je 0x426951
push edi
push str.D:DebugPeMain.log
mov ecx, esi
call fcn.00416fa7
push dword [ebp - 0x1c]
push str.MAIN__s_r_n
push esi
call fcn.0040c86c
add esp, 0xc
call fcn.00413cfe
cmp byte [ebp - 1], bl
je 0x426973
mov byte [0x4a9001], 1
cmp dword [ebp - 8], ebx
jne 0x4269b2
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4269ca
push 0x10000000
push 1
push ebx
push str.Default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
cmp esi, ebx
je 0x4269b2
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je 0x4269ab
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 0x4269ca
mov ecx, dword [ebp - 0xc]
push ebx
push 0x24
push ebx
push edi
call fcn.0041a664
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp - 0x24], ecx
jne 0x4269ec
add eax, 2
cmp word [eax], 0x23
je 0x4269ec
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0040b430
push edi
push edi
call sym.PECMD.exe_LoadEnvi
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
pop ecx
jne 0x426a04
mov byte [0x4a6219], 1
call fcn.0042e364
call fcn.004267ee
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.0042eb45
push ebx
push 0x4a5f08
call fcn.00471b1f
mov eax, dword [ebp - 0xc]
add esp, 0x20
cmp dword [eax + 0x48], ebx
jne 0x426abf
test byte [0x4a5fe0], 1
jne 0x426a6c
or dword [0x4a5fe0], 1
push 0x48d189
mov dword [0x4a5fdc], ebx
call fcn.0047a76d
pop ecx
mov ecx, dword [ebp - 0xc]
mov esi, 0x4a5fdc
push 0x10000
mov dword [ecx + 0x48], esi
call fcn.00431b8e
lea ecx, [ebp - 0x14]
call fcn.00432cb7
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0045c586
mov eax, dword [0x4a5fdc]
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.004401d6
lea ecx, [ebp - 0x14]
mov dword [esi + 0x54], ebx
call fcn.0042dd2d
mov esi, str.SOFTWAREPELOGON
cmp dword [ebp - 8], ebx
jne 0x426ae3
mov al, byte [0x4a9003]
push 1
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
push 3
push str.bInMain
push esi
push edi
call fcn.0042eb45
add esp, 0x18
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x426af0
call fcn.0040e2e5
push 4
push 0x4a5e04
push 4
push dword [ebp - 0x20]
push esi
push edi
call fcn.0042eb45
add esp, 0x18
cmp word [ebp - 0x24], bx
jne 0x426b11
cmp dword [ebp - 8], ebx
je 0x426b16
call fcn.0041caf4
mov ecx, dword [ebp - 0xc]
call fcn.00413a30
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x426b2b
cmp dword [ebp - 8], ebx
je 0x426b6d
lea eax, [ebp - 0x24]
push eax
push 0x10000
push ebx
push 0x426813
push 0x80000
push ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x426b6a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426b6a
lea ecx, [eax + 2]
cmp word [ecx], 0x23
je 0x426b73
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
call fcn.0040b430
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x426b56
cmp word [eax], bx
je 0x426c71
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
add eax, 0x5c8
push eax
lea ecx, [ebp - 0x1c]
call fcn.00432cd5
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 0x426bc8
mov dword [ebp - 0x20], esi
jmp 0x426bcd
inc eax
inc eax
mov dword [ebp - 0x20], eax
push dword [ebp + 8]
call fcn.0040d85d
test eax, eax
pop ecx
je 0x426bfd
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0043ccfc
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call fcn.0042442a
lea ecx, [ebp - 0x20]
call fcn.0042dd2d
jmp 0x426c69
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 0x426c5b
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.0042eb45
add esp, 0x18
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push ebx
push ecx
push edi
call fcn.00406e39
lea ecx, [ebp - 0x1c]
call fcn.0042dd2d
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 0x426ca0
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 0x426c83
push dword [0x4a5df0]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [ebp - 0x38]
pop esi
pop ebx
leave
ret 4