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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov byte [0x496b86], 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.0040efd8
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 0x423311
add cl, 3
movsx ecx, cl
movzx edx, si
cmp ecx, edx
jne 0x42334a
movzx edx, word [eax + 2]
cmp ecx, edx
jne 0x42334a
add eax, 4
xor esi, esi
mov dword [ebp - 0x10], eax
inc esi
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4841d0
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x42334d
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
jmp 0x423364
xor esi, esi
inc esi
push 5
lea eax, [ebp + 8]
push eax
push str._user
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x423370
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], str.UCallBackhWnd
jmp 0x423378
mov eax, dword [0x49529c]
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 0x42338e
mov eax, str.GlobalPECMD:main
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x4233b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
cmp eax, ecx
jne 0x4233b1
mov eax, ecx
jmp 0x423820
cmp dword [ebp - 8], ebx
je 0x4233bf
mov byte [0x49a003], 0x20
jmp 0x4233cf
mov eax, dword [ebp + 8]
cmp word [eax], bx
setne al
add al, 0x10
mov byte [0x49a003], al
cmp dword [0x496de4], ebx
push edi
mov edi, 0x480934
mov esi, 0x496eb8
jne 0x4233fe
push 0x4845c2
call fcn.0046c682
test eax, eax
pop ecx
je 0x4233fe
push edi
push str.D:DebugPeMain.log
mov ecx, esi
call fcn.00415896
push dword [ebp - 0x1c]
push str.MAIN__s_r_n
push esi
call fcn.0040b42c
add esp, 0xc
call fcn.004126eb
cmp byte [ebp - 1], bl
je 0x423420
mov byte [0x49a001], 1
cmp dword [ebp - 8], ebx
jne 0x42345f
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x423477
push 0x10000000
push 1
push ebx
push str.Default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
cmp esi, ebx
je 0x42345f
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je 0x423458
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 0x423477
mov ecx, dword [ebp - 0xc]
push ebx
push 0x24
push ebx
push edi
call fcn.00419456
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp - 0x24], ecx
jne 0x423499
add eax, 2
cmp word [eax], 0x23
je 0x423499
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.00409fda
push edi
push edi
call sym.PECMD.exe_LoadEnvi
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
pop ecx
jne 0x4234b1
mov byte [0x497175], 1
call fcn.0042791d
call fcn.0042329b
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 edi, str.SOFTWAREPELOGON
push edi
mov esi, 0x80000002
push esi
call fcn.004280f8
push ebx
push 0x496eb8
call fcn.004629d7
mov eax, dword [ebp - 0xc]
add esp, 0x20
cmp dword [eax + 0x40], ebx
jne 0x42356c
test byte [0x496f7c], 1
jne 0x423519
or dword [0x496f7c], 1
push 0x47fe4f
mov dword [0x496f78], ebx
call fcn.0046d34d
pop ecx
mov ecx, dword [ebp - 0xc]
mov edi, 0x496f78
push 0x10000
mov dword [ecx + 0x40], edi
call fcn.0042aa5e
lea ecx, [ebp - 0x14]
call fcn.0042c809
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00451a05
mov eax, dword [0x496f78]
mov edi, dword [ebp - 0xc]
push 1
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
mov eax, dword [eax]
mov ecx, edi
mov dword [edi + 0x44], eax
call fcn.00439a97
lea ecx, [ebp - 0x14]
mov dword [edi + 0x4c], ebx
call fcn.00427365
mov edi, str.SOFTWAREPELOGON
cmp dword [ebp - 8], ebx
jne 0x423590
mov al, byte [0x49a003]
push 1
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
push 3
push str.bInMain
push edi
push esi
call fcn.004280f8
add esp, 0x18
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x42359d
call fcn.0040cb24
push 4
push 0x496dd8
push 4
push dword [ebp - 0x20]
push edi
push esi
call fcn.004280f8
add esp, 0x18
cmp word [ebp - 0x24], bx
jne 0x4235be
cmp dword [ebp - 8], ebx
je 0x4235c3
call fcn.0041b87f
mov ecx, dword [ebp - 0xc]
call fcn.00412421
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4235d8
cmp dword [ebp - 8], ebx
je 0x42361a
lea eax, [ebp - 0x24]
push eax
push 0x10000
push ebx
push 0x4232c0
push 0x80000
push ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x423617
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x423617
lea ecx, [eax + 2]
cmp word [ecx], 0x23
je 0x423620
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
call fcn.00409fda
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x423603
cmp word [eax], bx
je 0x4237de
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x5c8
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c827
mov edi, dword [ebp - 0x24]
push 0x104
mov dword [ebp - 0x2c], edi
add edi, 0x280
push edi
lea eax, [edi + 0x488]
push ebx
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebx
jne 0x423673
mov dword [ebp - 0x1c], edi
jmp 0x423678
inc eax
inc eax
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
call fcn.0040c127
test eax, eax
pop ecx
je 0x4236a6
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.004365ba
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call fcn.00420f64
lea ecx, [ebp - 0x20]
jmp 0x4237d1
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
call fcn.0042c809
mov eax, dword [ebp + 8]
cmp word [eax], 0x22
jne 0x4236e7
inc esi
inc esi
mov ax, word [esi]
mov word [ebp - 0x20], ax
push 0x22
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.0042c33c
mov eax, dword [ebp - 8]
cmp word [eax], bx
pop ecx
je 0x4236e4
mov word [eax], bx
jmp 0x4236e7
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0xc]
push 1
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0043d8d6
mov eax, dword [ebp - 0x20]
cmp ax, bx
je 0x42370f
mov word [esi - 2], ax
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x42370f
mov word [eax], 0x22
push dword [ebp - 0x14]
call fcn.0046c682
test eax, eax
pop ecx
jne 0x423762
lea ecx, [ebp - 0x38]
call fcn.0042c693
push ebx
lea eax, [ebp - 0x38]
push eax
push 0x483e8c
push 0x66
push dword [0x496dd4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.0040f3dc
add esp, 0x14
cmp dword [ebp - 0x34], 4
jb 0x423751
mov dword [ebp + 8], 0x484560
push dword [ebp - 0x38]
call fcn.004272e4
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00427365
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edi
mov edi, dword [ebp - 0x28]
push str.___exe:__s_____s_
push edi
call esi
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp + 8]
lea eax, [edi + eax*2]
push str.LOAD_sysinit__s
push eax
call esi
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp word [eax], bx
je 0x4237c0
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.004280f8
add esp, 0x18
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push ebx
push ecx
push edi
call fcn.004067ac
lea ecx, [ebp - 0x14]
call fcn.00427365
lea ecx, [ebp - 0x24]
call fcn.00427365
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
call esi
pop edi
jmp 0x42380d
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
call esi
test eax, eax
jne 0x4237f0
push dword [0x496dc8]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [ebp - 0x4c]
pop esi
pop ebx
leave
ret 4