Function at 0x45e720
Capabilities:
Accept command line arguments
Check mutex on windows
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x240
mov eax, dword [0x4a1014]
xor eax, esp
mov dword [esp + 0x23c], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x208
mov word [esp + 0x3c], ax
lea eax, [esp + 0x3c]
push eax
push 0xc0
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x45eacf
cmp word [esp + 0x38], 0
je 0x45eacf
push 8
mov dword [0x4a35a0], esi
call fcn.00463918
add esp, 4
mov esi, eax
push 0
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi], eax
test eax, eax
je 0x45e7a5
push str.SetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x45e7a7
xor eax, eax
mov dword [esi + 4], eax
mov dword [0x4a33a8], esi
call fcn.004574b0
mov dword [0x4a36d4], 0x4527f0
mov dword [0x4a36c4], 0x44c5f0
mov dword [0x4a36c8], 0x44c640
mov dword [0x4a36cc], 0x44d170
mov dword [0x4a36d0], 0x44d220
mov dword [0x4a36d8], 0x44ca30
mov dword [0x4a370c], 0x44ca10
mov dword [0x4a36dc], 0x44cb20
mov dword [0x4a3710], 0x44cac0
mov dword [0x4a36e0], 0x44c7d0
mov dword [0x4a3714], 0x44c7b0
mov dword [0x4a36e4], 0x44c830
mov dword [0x4a36f0], 0x44cbc0
mov dword [0x4a36f4], 0x44cdc0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
movzx eax, word [esi]
lea ecx, [esi + 2]
mov edx, eax
cmp eax, 0x22
je 0x45e858
mov ecx, esi
xor eax, eax
cmp edx, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.00464ed7
add esp, 8
test eax, eax
je 0x45e878
lea esi, [eax + 2]
mov ecx, esi
call fcn.00457650
call fcn.00457530
push 2
push 0x104
call fcn.004673e4
add esp, 8
mov dword [0x4a35ec], eax
test eax, eax
je 0x45eab0
push 0x104
push eax
push dword [0x4a35a0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.cf25appsync
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0xffffffffffffffff
push eax
mov dword [0x4a37cc], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor cl, cl
call fcn.0040c5b0
test eax, eax
jne 0x45e8eb
push dword [0x4a37cc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x45eab0
push eax
call fcn.00468c25
mov edx, eax
add esp, 4
mov ecx, edx
mov dword [0x4a3544], edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e901
sub ecx, esi
sar ecx, 1
cmp ecx, 3
jle 0x45e924
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x45e924
xor eax, eax
mov word [edx + ecx*2 - 2], ax
call fcn.0040bc40
push dword [0x4a37cc]
test eax, eax
je 0x45e93e
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x45eab0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.MMFS2.dll_Ordinal_1055]
xor esi, esi
cmp dword [0x4a3570], esi
jne 0x45e962
mov esi, dword [0x4a3588]
test esi, esi
je 0x45eab0
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x4a35a0]
push 0x64
push eax
mov dword [esp + 0x10], 0x30
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0x45e6c0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
push 0x10
push 0x10
push 1
push 0x64
push dword [0x4a35a0]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], str.Mf2MainClassTh
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esp + 0x34], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x45ea93
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x45bce0
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0x48fa88
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45ea93
cmp dword [0x4a3538], 0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov dword [0x4a35e0], 0xc000
jne 0x45ea62
push str.krdp
call edi
movzx eax, ax
push str.kprc
mov dword [0x4a3538], eax
call edi
movzx eax, ax
push str.kspc
mov dword [0x4a3434], eax
call edi
movzx eax, ax
mov dword [0x4a3540], eax
push str.knum
call edi
push 0
push dword [0x4a35a0]
movzx eax, ax
mov dword [0x4a353c], eax
call dword [sym.imp.MMFS2.dll_Ordinal_2]
mov dword [0x4a3560], eax
cmp eax, 0x20
ja 0x45eae7
mov dword [0x4a3560], 0
test byte [0x4a3590], 1
je 0x45eab0
push ecx
mov ecx, dword [0x4a35b0]
mov edx, 0xc1
call fcn.00457c60
add esp, 4
call fcn.004588b0
cmp dword [0x4a375c], 0
je 0x45eaca
push dword [0x4a3760]
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0040cd30
mov ecx, dword [esp + 0x244]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 0x10
push 4
push 0x42000000
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.004019b0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45eab0
call dword [sym.imp.MMFS2.dll_Ordinal_794]
push dword [0x4a3574]
mov ecx, eax
mov dword [0x4a35c8], eax
push dword [0x4a3544]
call dword [sym.imp.MMFS2.dll_Ordinal_1053]
test byte [0x4a3578], 2
je 0x45eb5e
mov eax, dword [0x4a35d4]
test eax, eax
je 0x45eb5e
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x45eb5e
test dword [eax], 0x40000000
je 0x45eb5e
test byte [0x4a35bc], 0x40
je 0x45eb5e
mov ecx, dword [0x4a35c8]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_1128]
mov esi, dword [0x4a3544]
call dword [sym.imp.MMFS2.dll_Ordinal_795]
push dword [0x4a3574]
mov ecx, eax
mov dword [0x4a35cc], eax
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1054]
cmp dword [0x4a35d0], 0
jne 0x45ebaf
mov ecx, dword [0x4a35cc]
test ecx, ecx
je 0x45ebaf
push dword [0x4a35b0]
call dword [sym.imp.MMFS2.dll_Ordinal_389]
mov dword [0x4a35d0], eax
test eax, eax
je 0x45ebaf
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 4]
mov ecx, edi
call fcn.00404d50
test eax, eax
je 0x45ebd8
nop word [eax + eax]
push ecx
xor edx, edx
mov ecx, edi
call fcn.00404f20
add esp, 4
test eax, eax
jne 0x45ebc0
mov ecx, edi
call fcn.00405120
mov ecx, edi
call fcn.00403cf0
jmp 0x45eab0