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

Disassembly:
mov eax, 0x4e55f4
call fcn.004afe60
sub esp, 0x54
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov byte [0x518de2], bl
cmp word [eax], 0x2a
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp + 8]
mov edi, ecx
push eax
mov dword [ebp - 0x24], edi
sete byte [ebp - 0xd]
call fcn.0042277e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov si, word [eax]
cmp si, 0x2d
pop ecx
mov dword [ebp - 0x14], ebx
mov cl, 0x2a
jne 0x437e08
add cl, 3
movsx ecx, cl
movzx edx, si
cmp ecx, edx
jne 0x437e41
movzx edx, word [eax + 2]
cmp ecx, edx
jne 0x437e41
add eax, 4
xor esi, esi
mov dword [ebp - 0x18], eax
inc esi
push esi
lea eax, [ebp - 0x18]
push eax
push 0x4f29c8
call fcn.00448570
add esp, 0xc
test al, al
je 0x437e44
mov eax, dword [ebp - 0x18]
mov dword [ebp + 8], eax
jmp 0x437e5b
xor esi, esi
inc esi
push 5
lea eax, [ebp + 8]
push eax
push str._user
call fcn.00448570
add esp, 0xc
test al, al
je 0x437e67
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], str.UCallBackhWnd
jmp 0x437e6f
mov eax, dword [0x515304]
mov dword [ebp - 0x2c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], ebx
mov eax, str.GlobalPECMD:main_u
jne 0x437e85
mov eax, str.GlobalPECMD:main
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
je 0x437ea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
cmp eax, ecx
jne 0x437ea8
mov eax, ecx
jmp 0x43833c
cmp dword [ebp - 0x14], ebx
je 0x437eb6
mov byte [0x51e003], 0x20
jmp 0x437ec6
mov eax, dword [ebp + 8]
cmp word [eax], bx
setne al
add al, 0x10
mov byte [0x51e003], al
cmp dword [0x51908c], ebx
mov esi, 0x519150
jne 0x437ef3
push 0x4f2dba
call fcn.004abec0
test eax, eax
pop ecx
je 0x437ef3
push 0x4ebd38
push str.D:DebugPeMain.log
mov ecx, esi
call fcn.004294f9
push dword [ebp - 0x28]
push str.MAIN__s_r_n
push esi
call fcn.0041e892
add esp, 0xc
call fcn.00426108
cmp byte [ebp - 0xd], bl
je 0x437f15
mov byte [0x51e001], 1
cmp dword [ebp - 0x14], ebx
jne 0x437f54
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x437f72
push 0x10000000
push 1
push ebx
push str.Default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
cmp esi, ebx
je 0x437f54
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je 0x437f4d
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 0x437f72
push ebx
push 0x24
push ebx
mov esi, 0x4ebd38
push esi
mov ecx, edi
call fcn.0042d3e1
mov eax, dword [ebp + 8]
jmp 0x437f77
mov esi, 0x4ebd38
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp - 0x30], ecx
jne 0x437f99
add eax, 2
cmp word [eax], 0x23
je 0x437f99
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0041d38d
push esi
push esi
call sym.MBROSTool.exe_LoadEnvi
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
pop ecx
jne 0x437fb1
mov byte [0x519435], 1
call fcn.0043f8c0
call fcn.00437d88
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 4
push str.MainPECMDPID
push str.SOFTWAREPELOGON
mov esi, SysReAllocStringLen
push esi
call fcn.004402a0
push ebx
push 0x519150
call fcn.004a0700
add esp, 0x20
cmp dword [edi + 0x40], ebx
jne 0x43806b
test byte [0x51922c], 1
jne 0x438015
or dword [0x51922c], 1
push 0x4ea0fa
mov dword [0x519228], ebx
call fcn.004af401
pop ecx
mov esi, 0x519228
push 0x10000
mov ecx, edi
mov dword [edi + 0x40], esi
call fcn.00443950
lea ecx, [ebp - 0x1c]
call fcn.00446250
push dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00485210
mov eax, dword [0x519228]
push 1
push dword [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov ecx, edi
mov dword [edi + 0x44], eax
call fcn.0045c8b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
mov dword [edi + 0x4c], ebx
call fcn.0043f290
mov esi, SysReAllocStringLen
cmp dword [ebp - 0x14], ebx
jne 0x438093
mov al, byte [0x51e003]
push 1
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xd]
push eax
push 3
push str.bInMain
push str.SOFTWAREPELOGON
push esi
call fcn.004402a0
add esp, 0x18
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4380a0
call fcn.00420133
push 4
push 0x519080
push 4
push dword [ebp - 0x2c]
push str.SOFTWAREPELOGON
push esi
call fcn.004402a0
add esp, 0x18
cmp word [ebp - 0x30], bx
jne 0x4380c5
cmp dword [ebp - 0x14], ebx
je 0x4380ca
call fcn.0042f8c7
mov ecx, edi
call fcn.00425e0e
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4380de
cmp dword [ebp - 0x14], ebx
je 0x438120
lea eax, [ebp - 0x30]
push eax
push 0x10000
push ebx
push 0x437dad
push 0x80000
push ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x43811d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43811d
lea ecx, [eax + 2]
cmp word [ecx], 0x23
je 0x438126
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
call fcn.0041d38d
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x438109
cmp word [eax], bx
je 0x438304
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x5c8
push eax
lea ecx, [ebp - 0x30]
call fcn.00446280
mov edi, dword [ebp - 0x30]
push 0x104
mov dword [ebp - 0x38], edi
add edi, 0x280
push edi
lea eax, [edi + 0x488]
push ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 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 0x438180
mov dword [ebp - 0x1c], edi
jmp 0x438185
inc eax
inc eax
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
call fcn.0041f68f
cmp eax, ebx
pop ecx
je 0x4381b7
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00457400
mov ecx, dword [ebp - 0x24]
push ebx
push ebx
push ebx
push dword [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00435957
lea ecx, [ebp - 0x2c]
jmp 0x4382ef
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
call fcn.00446250
mov eax, dword [ebp + 8]
cmp word [eax], 0x22
mov byte [ebp - 4], 3
jne 0x4381fc
inc esi
inc esi
mov ax, word [esi]
mov word [ebp - 0x2c], ax
push 0x22
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.004226a4
mov eax, dword [ebp - 0x14]
cmp word [eax], bx
pop ecx
je 0x4381f9
mov word [eax], bx
jmp 0x4381fc
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x24]
push 1
push ebx
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00453300
mov eax, dword [ebp - 0x2c]
cmp ax, bx
je 0x438225
dec esi
dec esi
mov word [esi], ax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x438225
mov word [eax], 0x22
push dword [ebp - 0x28]
call fcn.004abec0
cmp eax, ebx
pop ecx
jne 0x438280
lea ecx, [ebp - 0x44]
call fcn.00446060
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push str.SCRIPT
push 0x66
push dword [0x51907c]
mov byte [ebp - 4], 4
call fcn.00422b90
add esp, 0x14
cmp dword [ebp - 0x40], 4
jb 0x43826b
mov dword [ebp + 8], str.102
push dword [ebp - 0x44]
call fcn.0043f270
pop ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0043f290
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edi
mov edi, dword [ebp - 0x34]
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 - 0x38]
add esp, 0xc
cmp word [eax], bx
je 0x4382de
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push str.SysStartuped
push str.SOFTWAREPELOGON
push SysReAllocStringLen
mov dword [ebp - 0x20], 1
call fcn.004402a0
add esp, 0x18
mov ecx, dword [ebp - 0x24]
push ebx
push ebx
push ebx
push ebx
push ecx
push edi
call fcn.004195a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0043f290
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0043f290
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x438320
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x60]
push ebx
push eax
call esi
test eax, eax
jne 0x43830c
push dword [0x519070]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4