Function at 0x45e390
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 0x45e73f
cmp word [esp + 0x38], 0
je 0x45e73f
push 8
mov dword [0x4a3598], esi
call fcn.0046356e
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 0x45e415
push str.SetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x45e417
xor eax, eax
mov dword [esi + 4], eax
mov dword [0x4a33a0], esi
call fcn.004571e0
mov dword [0x4a36cc], 0x452520
mov dword [0x4a36bc], 0x44c320
mov dword [0x4a36c0], 0x44c370
mov dword [0x4a36c4], 0x44cea0
mov dword [0x4a36c8], 0x44cf50
mov dword [0x4a36d0], 0x44c760
mov dword [0x4a3704], 0x44c740
mov dword [0x4a36d4], 0x44c850
mov dword [0x4a3708], 0x44c7f0
mov dword [0x4a36d8], 0x44c500
mov dword [0x4a370c], 0x44c4e0
mov dword [0x4a36dc], 0x44c560
mov dword [0x4a36e8], 0x44c8f0
mov dword [0x4a36ec], 0x44caf0
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 0x45e4c8
mov ecx, esi
xor eax, eax
cmp edx, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.00464b27
add esp, 8
test eax, eax
je 0x45e4e8
lea esi, [eax + 2]
mov ecx, esi
call fcn.00457380
call fcn.00457260
push 2
push 0x104
call fcn.00467034
add esp, 8
mov dword [0x4a35e4], eax
test eax, eax
je 0x45e720
push 0x104
push eax
push dword [0x4a3598]
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 [0x4a37c4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor cl, cl
call fcn.0040c2b0
test eax, eax
jne 0x45e55b
push dword [0x4a37c4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x45e720
push eax
call fcn.00468875
mov edx, eax
add esp, 4
mov ecx, edx
mov dword [0x4a353c], edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e571
sub ecx, esi
sar ecx, 1
cmp ecx, 3
jle 0x45e594
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x45e594
xor eax, eax
mov word [edx + ecx*2 - 2], ax
call fcn.0040b940
push dword [0x4a37c4]
test eax, eax
je 0x45e5ae
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x45e720
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.MMFS2.dll_Ordinal_1055]
xor esi, esi
cmp dword [0x4a3568], esi
jne 0x45e5d2
mov esi, dword [0x4a3580]
test esi, esi
je 0x45e720
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x4a3598]
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], 0x45e330
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
push 0x10
push 0x10
push 1
push 0x64
push dword [0x4a3598]
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 0x45e703
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x45ba20
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0x48fa88
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45e703
cmp dword [0x4a3530], 0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov dword [0x4a35d8], 0xc000
jne 0x45e6d2
push str.krdp
call edi
movzx eax, ax
push str.kprc
mov dword [0x4a3530], eax
call edi
movzx eax, ax
push str.kspc
mov dword [0x4a342c], eax
call edi
movzx eax, ax
mov dword [0x4a3538], eax
push str.knum
call edi
push 0
push dword [0x4a3598]
movzx eax, ax
mov dword [0x4a3534], eax
call dword [sym.imp.MMFS2.dll_Ordinal_2]
mov dword [0x4a3558], eax
cmp eax, 0x20
ja 0x45e757
mov dword [0x4a3558], 0
test byte [0x4a3588], 1
je 0x45e720
push ecx
mov ecx, dword [0x4a35a8]
mov edx, 0xc1
call fcn.00457990
add esp, 4
call fcn.004585e0
cmp dword [0x4a3754], 0
je 0x45e73a
push dword [0x4a3758]
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0040ca30
mov ecx, dword [esp + 0x244]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0046355d
mov esp, ebp
pop ebp
ret 0x10
push 4
push 0x42000000
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.004019a0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45e720
call dword [sym.imp.MMFS2.dll_Ordinal_794]
push dword [0x4a356c]
mov ecx, eax
mov dword [0x4a35c0], eax
push dword [0x4a353c]
call dword [sym.imp.MMFS2.dll_Ordinal_1053]
test byte [0x4a3570], 2
je 0x45e7ce
mov eax, dword [0x4a35cc]
test eax, eax
je 0x45e7ce
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x45e7ce
test dword [eax], 0x40000000
je 0x45e7ce
test byte [0x4a35b4], 0x40
je 0x45e7ce
mov ecx, dword [0x4a35c0]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_1128]
mov esi, dword [0x4a353c]
call dword [sym.imp.MMFS2.dll_Ordinal_795]
push dword [0x4a356c]
mov ecx, eax
mov dword [0x4a35c4], eax
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1054]
cmp dword [0x4a35c8], 0
jne 0x45e81f
mov ecx, dword [0x4a35c4]
test ecx, ecx
je 0x45e81f
push dword [0x4a35a8]
call dword [sym.imp.MMFS2.dll_Ordinal_389]
mov dword [0x4a35c8], eax
test eax, eax
je 0x45e81f
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 4]
mov ecx, edi
call fcn.00404cb0
test eax, eax
je 0x45e848
nop word [eax + eax]
push ecx
xor edx, edx
mov ecx, edi
call fcn.00404e80
add esp, 4
test eax, eax
jne 0x45e830
mov ecx, edi
call fcn.00405080
mov ecx, edi
call fcn.00403c50
jmp 0x45e720