Function at 0x45a170
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 [0x49d014]
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 0x45a51e
cmp word [esp + 0x38], 0
je 0x45a51e
push 8
mov dword [0x49f580], esi
call fcn.0045f360
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 0x45a1f5
push str.SetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x45a1f7
xor eax, eax
push 0xc
mov dword [esi + 4], eax
push 0x14
mov dword [0x49f388], esi
call fcn.00462e24
push 0xc
push 0x14
mov dword [0x49f528], eax
call fcn.00462e24
add esp, 0x10
mov dword [0x49f524], eax
call fcn.00453630
mov dword [0x49f6b4], 0x44e9d0
mov dword [0x49f6a4], 0x448840
mov dword [0x49f6a8], 0x448890
mov dword [0x49f6ac], 0x4493c0
mov dword [0x49f6b0], 0x449470
mov dword [0x49f6b8], 0x448c80
mov dword [0x49f6ec], 0x448c60
mov dword [0x49f6bc], 0x448d70
mov dword [0x49f6f0], 0x448d10
mov dword [0x49f6c0], 0x448a20
mov dword [0x49f6f4], 0x448a00
mov dword [0x49f6c4], 0x448a80
mov dword [0x49f6d0], 0x448e10
mov dword [0x49f6d4], 0x449010
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 0x45a2c7
mov ecx, esi
xor eax, eax
cmp edx, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.00460917
add esp, 8
test eax, eax
je 0x45a2e7
lea esi, [eax + 2]
mov ecx, esi
call fcn.004536b0
push 2
push 0x104
call fcn.00462e24
add esp, 8
mov dword [0x49f5cc], eax
test eax, eax
je 0x45a514
push 0x104
push eax
push dword [0x49f580]
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 [0x49f78c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor cl, cl
call fcn.0040bee0
test eax, eax
jne 0x45a355
push dword [0x49f78c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x45a514
push eax
call fcn.00464665
mov edx, eax
add esp, 4
mov ecx, edx
mov dword [0x49f52c], edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a370
sub ecx, esi
sar ecx, 1
cmp ecx, 3
jle 0x45a393
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x45a393
xor eax, eax
mov word [edx + ecx*2 - 2], ax
call fcn.0040b570
push dword [0x49f78c]
test eax, eax
jne 0x45a34a
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.MMFS2.dll_Ordinal_1055]
xor esi, esi
cmp dword [0x49f554], esi
jne 0x45a3c6
mov esi, dword [0x49f56c]
test esi, esi
je 0x45a514
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x49f580]
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], 0x45a110
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
push 0x10
push 0x10
push 1
push 0x64
push dword [0x49f580]
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 0x45a4f7
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x457c40
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0x48b688
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45a4f7
cmp dword [0x49f518], 0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov dword [0x49f5c0], 0xc000
jne 0x45a4c6
push str.krdp
call edi
movzx eax, ax
push str.kprc
mov dword [0x49f518], eax
call edi
movzx eax, ax
push str.kspc
mov dword [0x49f414], eax
call edi
movzx eax, ax
mov dword [0x49f520], eax
push str.knum
call edi
push 0
push dword [0x49f580]
movzx eax, ax
mov dword [0x49f51c], eax
call dword [sym.imp.MMFS2.dll_Ordinal_2]
mov dword [0x49f544], eax
cmp eax, 0x20
ja 0x45a536
mov dword [0x49f544], 0
test byte [0x49f574], 1
je 0x45a514
push ecx
mov ecx, dword [0x49f590]
mov edx, 0xc1
call fcn.00453c80
add esp, 4
call fcn.004548d0
call fcn.0040c660
mov ecx, dword [esp + 0x244]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0045f34f
mov esp, ebp
pop ebp
ret 0x10
push 4
push 0x42000000
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.004019f0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45a514
call dword [sym.imp.MMFS2.dll_Ordinal_794]
push dword [0x49f558]
mov ecx, eax
mov dword [0x49f5a8], eax
push dword [0x49f52c]
call dword [sym.imp.MMFS2.dll_Ordinal_1053]
test byte [0x49f55c], 2
je 0x45a5ad
mov eax, dword [0x49f5b4]
test eax, eax
je 0x45a5ad
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x45a5ad
test dword [eax], 0x40000000
je 0x45a5ad
test byte [0x49f59c], 0x40
je 0x45a5ad
mov ecx, dword [0x49f5a8]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_1128]
mov esi, dword [0x49f52c]
call dword [sym.imp.MMFS2.dll_Ordinal_795]
push dword [0x49f558]
mov ecx, eax
mov dword [0x49f5ac], eax
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1054]
cmp dword [0x49f5b0], 0
jne 0x45a5fe
mov ecx, dword [0x49f5ac]
test ecx, ecx
je 0x45a5fe
push dword [0x49f590]
call dword [sym.imp.MMFS2.dll_Ordinal_389]
mov dword [0x49f5b0], eax
test eax, eax
je 0x45a5fe
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 4]
mov ecx, edi
call fcn.00404a60
test eax, eax
je 0x45a624
nop dword [eax]
xor edx, edx
mov ecx, edi
call fcn.00404c30
test eax, eax
jne 0x45a610
mov ecx, edi
call fcn.00404e30
mov ecx, edi
call fcn.00403b00
jmp 0x45a514