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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0445
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], edi
push 0x4fbed4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [edi + 4]
lea esi, [edi + 0x358]
mov dword [ebp - 0xa4], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x46f8ff
call fcn.004a8c87
mov dword [esi + 0x14], eax
test eax, eax
jne 0x46f8ff
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x46f96d
push 0
push 0
push eax
call fcn.004a8d86
add esi, 8
je 0x470029
lea eax, [edi + 0x358]
test eax, eax
je 0x470029
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x529124
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x52913c]
mov dword [esi + 8], eax
push 0x529124
mov dword [0x52913c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x419910
push dword [ebp - 0xa4]
push 0xc8
push dword [0x534b98]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push dword [edi + 0x35c]
call esi
push 0xb8
mov dword [edi + 0x394], eax
call fcn.004ab698
add esp, 4
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x46f9c2
push 0xb8
push 0
push eax
call fcn.004c3810
mov ecx, dword [ebp - 0xa4]
add esp, 0xc
call fcn.00458dd0
jmp 0x46f9c4
xor eax, eax
push 0
push 0
push 0x31
push dword [edi + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x31c], eax
call esi
mov ecx, dword [edi + 0x31c]
push 0
push 0
push 0x100002
push 0x5600004c
push 0
mov dword [ecx + 0xa8], eax
mov ecx, dword [edi + 0x31c]
push 0x52914c
push dword [edi + 4]
call fcn.00463820
push dword [edi + 4]
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [edi + 0x31c]
push eax
call fcn.0045f8d0
mov ecx, dword [edi + 0x31c]
push 0
push 0
push 0
push 0
push 0x80
call fcn.004802e0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetMenu]
push 0
push dword [0x534b94]
push 0xe800
push dword [edi + 4]
push 0x64
push 0x64
push 0
push 0
push 0x56002640
push 0
push str.ReBarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x46fa87
mov dword [ebp - 0xa8], eax
jmp 0x46facd
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0xc
push ecx
push 0
push 0x404
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x98], xmm0
call esi
test eax, eax
jne 0x46fac7
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov dword [ebp - 0xa8], eax
jmp 0x46facd
mov eax, dword [ebp - 0xa8]
push 0
push 0
push 0x418
push dword [ebp - 0xac]
mov dword [edi + 0x24], eax
call esi
mov dword [ebp - 0xa4], eax
call fcn.0047ca20
push 0x60
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004c3810
add esp, 0xc
mov dword [ebp - 0x70], 0x371
cmp dword [ebp - 0xa4], 0
mov ecx, 0x204
mov eax, 4
mov dword [ebp - 0x60], 0
cmovg eax, ecx
push 0
push 0
push 0x40c
push dword [ebp - 0xa8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x54], eax
call esi
add eax, 0xeb00
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa4]
movups xmmword [ebp - 0xa0], xmm0
test eax, eax
jle 0x46fbac
lea ecx, [ebp - 0xa0]
dec eax
push ecx
push eax
push 0x41d
push dword [ebp - 0xac]
call esi
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xa0]
push eax
push 0
push 0x41d
push dword [ebp - 0xac]
call esi
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
jmp 0x46fbe4
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x98]
sub ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x30], ecx
push eax
push 0xffffffffffffffff
push 0x401
push dword [ebp - 0xa8]
call esi
test eax, eax
je 0x46fc22
push 0
push 0
push 0x455
push dword [ebp - 0xac]
call esi
or eax, 0x10
push eax
push 0
push 0x454
push dword [ebp - 0xac]
call esi
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004c3810
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x80
push eax
push 0xe001
push dword [0x534b98]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0xe801
push dword [edi + 4]
lea eax, [ebp - 0x90]
push eax
push 0x56000100
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov esi, dword [edi + 0x318]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xa4], esi
test eax, eax
jne 0x46fca6
call fcn.004a8c87
mov dword [esi + 0x14], eax
test eax, eax
jne 0x46fca6
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x46fd14
push 0
push 0
push eax
call fcn.004a8d86
add esi, 8
je 0x470029
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x470029
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x529124
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x52913c]
mov dword [esi + 8], eax
push 0x529124
mov dword [0x52913c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x419910
push dword [ebp - 0xa8]
push 0xca
push dword [0x534b98]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0
push 1
push 0xe800
lea ecx, [edi + 0x300]
mov dword [edi + 0x2c], eax
call fcn.0047cf90
push 0
push 1
push 0xe801
lea ecx, [edi + 0x300]
call fcn.0047cf90
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x534b2c
call fcn.004291f0
mov edx, edi
lea ecx, [edi + 0x240]
neg edx
mov esi, eax
sbb edx, edx
and edx, ecx
mov ecx, esi
push edx
call fcn.00424270
mov ecx, dword [esi + 0x14]
lea eax, [edi + 0x244]
mov edx, edi
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xa8], edx
cmp ecx, eax
jne 0x46fdfd
mov edx, dword [esi + 0x10]
lea edi, [ebp - 0xb4]
cmp edi, edx
mov edi, dword [ebp - 0xb0]
jb 0x46fdb3
lea edi, [ebp - 0xb4]
lea eax, [edx + eax*4]
cmp edi, eax
mov edi, dword [ebp - 0xb0]
jb 0x470035
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x46fdc4
mov eax, 1
mov dword [ebp - 0xa4], eax
jmp 0x46fdd8
lea eax, [ecx + ecx]
mov dword [ebp - 0xa4], eax
test eax, eax
js 0x46fe12
cmp eax, 0x1fffffff
ja 0x46fe12
push 4
push eax
push edx
call fcn.004d29cc
add esp, 0xc
test eax, eax
je 0x46fe12
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
lea eax, [eax + ecx*4]
test eax, eax
je 0x46fe0c
mov dword [eax], edx
mov ecx, dword [esi + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
mov esi, dword [edi + 0x24]
xor eax, eax
cmp dword [0x52977c], eax
push 0
push 0xeb01
push 0x410
sete al
push esi
mov dword [0x52977c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x52977c]
push eax
push 0x423
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push dword [0x52977c]
lea ecx, [edi + 0x300]
push 0xe800
call fcn.0047cf90
push 1
mov ecx, edi
call fcn.0047d6e0
mov edi, dword [0x534b98]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0x32
call esi
push eax
push 0x31
call esi
push eax
push 1
push 0x80
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, dword [ebp - 0xb0]
xor edx, edx
lea edi, [esi + 0x34]
mov ecx, esi
test edi, edi
cmove ecx, edx
mov edx, edi
mov ecx, dword [ecx + 4]
mov dword [edi + 0xc], ecx
mov ecx, 0x4fbf04
mov dword [edi + 0x1c], eax
sub edx, ecx
mov eax, dword [edi + 4]
mov dword [edi + 0x10], 0x81
mov dword [edi + 0x14], 7
mov dword [edi + 0x18], eax
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx + 0x1f], al
test al, al
jne 0x46fed0
lea eax, [edi + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test eax, eax
push str._SNC_SERVICE_MODE
setne al
push 1
mov byte [edi + 0x204], al
push 0
mov dword [esi + 0x23c], 0x8014
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov dword [ebp - 0xa4], ecx
test edi, edi
je 0x46ff36
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x46ff97
mov eax, dword [esi + 4]
push str._SNC_SERVICE_MODE
push 1
push 0
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov dword [ebp - 0xa4], ecx
test edi, edi
je 0x46ff7b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x46ff97
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xb0]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
mov dword [0x53490c], eax
call fcn.0046d1e0
push 0x10
call fcn.004ab698
mov edi, eax
add esp, 4
mov dword [ebp - 0xa4], edi
test edi, edi
je 0x46ffc8
mov ecx, dword [esi + 4]
mov dword [edi], vtable.._AVLocal__1__StartShutdownMonitoring_MainFrame_Presentation__QAEXXZ_.0
mov dword [edi + 0xc], ecx
jmp 0x46ffca
xor edi, edi
push 0
push 0
push 1
push 0
mov dword [esi + 0x39c], edi
mov dword [ebp - 0xb0], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 4], eax
lea eax, [ebp - 0xb0]
push eax
push 0
push edi
push 0x46e860
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0xc0000005
call fcn.0041b4c0
push 0x80004005
call fcn.00412c50
int3