Function at 0x422fb0
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.0040ee5f
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 0x422ff2
add cl, 3
movsx ecx, cl
movzx edx, si
cmp ecx, edx
jne 0x42302b
movzx edx, word [eax + 2]
cmp ecx, edx
jne 0x42302b
add eax, 4
xor esi, esi
mov dword [ebp - 0x10], eax
inc esi
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4841c8
call fcn.0042df66
add esp, 0xc
test al, al
je 0x42302e
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
jmp 0x423045
xor esi, esi
inc esi
push 5
lea eax, [ebp + 8]
push eax
push str._user
call fcn.0042df66
add esp, 0xc
test al, al
je 0x423051
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], str.UCallBackhWnd
jmp 0x423059
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 0x42306f
mov eax, str.GlobalPECMD:main
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x423092
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
cmp eax, ecx
jne 0x423092
mov eax, ecx
jmp 0x423501
cmp dword [ebp - 8], ebx
je 0x4230a0
mov byte [0x49a003], 0x20
jmp 0x4230b0
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 0x4230df
push 0x4845ba
call fcn.0046c1b3
test eax, eax
pop ecx
je 0x4230df
push edi
push str.D:DebugPeMain.log
mov ecx, esi
call fcn.004155ee
push dword [ebp - 0x1c]
push str.MAIN__s_r_n
push esi
call fcn.0040b27c
add esp, 0xc
call fcn.00412521
cmp byte [ebp - 1], bl
je 0x423101
mov byte [0x49a001], 1
cmp dword [ebp - 8], ebx
jne 0x423140
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x423158
push 0x10000000
push 1
push ebx
push str.Default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
cmp esi, ebx
je 0x423140
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je 0x423139
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 0x423158
mov ecx, dword [ebp - 0xc]
push ebx
push 0x24
push ebx
push edi
call fcn.00419125
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp - 0x24], ecx
jne 0x42317a
add eax, 2
cmp word [eax], 0x23
je 0x42317a
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.00409e64
push edi
push edi
call sym.PECMD.exe_LoadEnvi
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
pop ecx
jne 0x423192
mov byte [0x497175], 1
call fcn.004275ce
call fcn.00422f7c
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.00427da9
push ebx
push 0x496eb8
call fcn.00462594
mov eax, dword [ebp - 0xc]
add esp, 0x20
cmp dword [eax + 0x40], ebx
jne 0x42324d
test byte [0x496f7c], 1
jne 0x4231fa
or dword [0x496f7c], 1
push 0x47f97f
mov dword [0x496f78], ebx
call fcn.0046ce7d
pop ecx
mov ecx, dword [ebp - 0xc]
mov edi, 0x496f78
push 0x10000
mov dword [ecx + 0x40], edi
call fcn.0042a69e
lea ecx, [ebp - 0x14]
call fcn.0042c3f7
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00451613
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.0043969f
lea ecx, [ebp - 0x14]
mov dword [edi + 0x4c], ebx
call fcn.0042704a
mov edi, 0x80000002
cmp dword [ebp - 8], ebx
jne 0x423271
mov al, byte [0x49a003]
push 1
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
push 3
push str.bInMain
push esi
push edi
call fcn.00427da9
add esp, 0x18
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x42327e
call fcn.0040c96a
push 4
push 0x496dd8
push 4
push dword [ebp - 0x20]
push esi
push edi
call fcn.00427da9
add esp, 0x18
cmp word [ebp - 0x24], bx
jne 0x42329f
cmp dword [ebp - 8], ebx
je 0x4232a4
call fcn.0041b54e
mov ecx, dword [ebp - 0xc]
call fcn.00412257
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4232b9
cmp dword [ebp - 8], ebx
je 0x4232fb
lea eax, [ebp - 0x24]
push eax
push 0x10000
push ebx
push 0x422fa1
push 0x80000
push ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x4232f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4232f8
lea ecx, [eax + 2]
cmp word [ecx], 0x23
je 0x423301
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
call fcn.00409e64
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x4232e4
cmp word [eax], bx
je 0x4234bf
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x5c8
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c415
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 0x423354
mov dword [ebp - 0x1c], edi
jmp 0x423359
inc eax
inc eax
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
call fcn.0040bf6d
test eax, eax
pop ecx
je 0x423387
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.004361de
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call fcn.00420c52
lea ecx, [ebp - 0x20]
jmp 0x4234b2
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
call fcn.0042c3f7
mov eax, dword [ebp + 8]
cmp word [eax], 0x22
jne 0x4233c8
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.0040ed85
mov eax, dword [ebp - 8]
cmp word [eax], bx
pop ecx
je 0x4233c5
mov word [eax], bx
jmp 0x4233c8
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0xc]
push 1
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0043d4de
mov eax, dword [ebp - 0x20]
cmp ax, bx
je 0x4233f0
mov word [esi - 2], ax
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4233f0
mov word [eax], 0x22
push dword [ebp - 0x14]
call fcn.0046c1b3
test eax, eax
pop ecx
jne 0x423443
lea ecx, [ebp - 0x38]
call fcn.0042c281
push ebx
lea eax, [ebp - 0x38]
push eax
push str.SCRIPT
push 0x66
push dword [0x496dd4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.0040f211
add esp, 0x14
cmp dword [ebp - 0x34], 4
jb 0x423432
mov dword [ebp + 8], str.102
push dword [ebp - 0x38]
call fcn.00426fb0
pop ecx
lea ecx, [ebp - 0x38]
call fcn.0042704a
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 0x4234a1
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.00427da9
add esp, 0x18
mov ecx, dword [ebp - 0xc]
push ebx
push ebx
push ebx
push ebx
push ecx
push edi
call fcn.00406707
lea ecx, [ebp - 0x14]
call fcn.0042704a
lea ecx, [ebp - 0x24]
call fcn.0042704a
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 0x4234ee
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 0x4234d1
push dword [0x496dc8]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [ebp - 0x4c]
pop esi
pop ebx
leave
ret 4