Function at 0x45d580
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 [0x4a0014]
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 0x45d92e
cmp word [esp + 0x38], 0
je 0x45d92e
push 8
mov dword [0x4a25a0], esi
call fcn.00462744
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 0x45d605
push str.SetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x45d607
xor eax, eax
push 0xc
mov dword [esi + 4], eax
push 0x14
mov dword [0x4a23a0], esi
call fcn.00466214
push 0xc
push 0x14
mov dword [0x4a2540], eax
call fcn.00466214
add esp, 0x10
mov dword [0x4a253c], eax
call fcn.00456490
mov dword [0x4a26d4], 0x4517d0
mov dword [0x4a26c4], 0x44b5c0
mov dword [0x4a26c8], 0x44b610
mov dword [0x4a26cc], 0x44c140
mov dword [0x4a26d0], 0x44c1f0
mov dword [0x4a26d8], 0x44ba00
mov dword [0x4a270c], 0x44b9e0
mov dword [0x4a26dc], 0x44baf0
mov dword [0x4a2710], 0x44ba90
mov dword [0x4a26e0], 0x44b7a0
mov dword [0x4a2714], 0x44b780
mov dword [0x4a26e4], 0x44b800
mov dword [0x4a26f0], 0x44bb90
mov dword [0x4a26f4], 0x44bd90
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 0x45d6d7
mov ecx, esi
xor eax, eax
cmp edx, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.00463d07
add esp, 8
test eax, eax
je 0x45d6f7
lea esi, [eax + 2]
mov ecx, esi
call fcn.00456630
call fcn.00456510
push 2
push 0x104
call fcn.00466214
add esp, 8
mov dword [0x4a25ec], eax
test eax, eax
je 0x45d924
push 0x104
push eax
push dword [0x4a25a0]
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 [0x4a27ac], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor cl, cl
call fcn.0040c2a0
test eax, eax
jne 0x45d76a
push dword [0x4a27ac]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x45d924
push eax
call fcn.00467a55
mov edx, eax
add esp, 4
mov ecx, edx
mov dword [0x4a2544], edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d780
sub ecx, esi
sar ecx, 1
cmp ecx, 3
jle 0x45d7a3
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x45d7a3
xor eax, eax
mov word [edx + ecx*2 - 2], ax
call fcn.0040b930
push dword [0x4a27ac]
test eax, eax
jne 0x45d75f
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.MMFS2.dll_Ordinal_1055]
xor esi, esi
cmp dword [0x4a2570], esi
jne 0x45d7d6
mov esi, dword [0x4a2588]
test esi, esi
je 0x45d924
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x4a25a0]
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], 0x45d520
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
push 0x10
push 0x10
push 1
push 0x64
push dword [0x4a25a0]
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 0x45d907
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x45acf0
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0x48ea80
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45d907
cmp dword [0x4a2530], 0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov dword [0x4a25e0], 0xc000
jne 0x45d8d6
push str.krdp
call edi
movzx eax, ax
push str.kprc
mov dword [0x4a2530], eax
call edi
movzx eax, ax
push str.kspc
mov dword [0x4a242c], eax
call edi
movzx eax, ax
mov dword [0x4a2538], eax
push str.knum
call edi
push 0
push dword [0x4a25a0]
movzx eax, ax
mov dword [0x4a2534], eax
call dword [sym.imp.MMFS2.dll_Ordinal_2]
mov dword [0x4a2560], eax
cmp eax, 0x20
ja 0x45d946
mov dword [0x4a2560], 0
test byte [0x4a2590], 1
je 0x45d924
push ecx
mov ecx, dword [0x4a25b0]
mov edx, 0xc1
call fcn.00456c40
add esp, 4
call fcn.004578a0
call fcn.0040ca20
mov ecx, dword [esp + 0x244]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00462733
mov esp, ebp
pop ebp
ret 0x10
push 4
push 0x42000000
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00401980
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45d924
call dword [sym.imp.MMFS2.dll_Ordinal_794]
push dword [0x4a2574]
mov ecx, eax
mov dword [0x4a25c8], eax
push dword [0x4a2544]
call dword [sym.imp.MMFS2.dll_Ordinal_1053]
test byte [0x4a2578], 2
je 0x45d9bd
mov eax, dword [0x4a25d4]
test eax, eax
je 0x45d9bd
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x45d9bd
test dword [eax], 0x40000000
je 0x45d9bd
test byte [0x4a25bc], 0x40
je 0x45d9bd
mov ecx, dword [0x4a25c8]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_1128]
mov esi, dword [0x4a2544]
call dword [sym.imp.MMFS2.dll_Ordinal_795]
push dword [0x4a2574]
mov ecx, eax
mov dword [0x4a25cc], eax
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1054]
cmp dword [0x4a25d0], 0
jne 0x45da0e
mov ecx, dword [0x4a25cc]
test ecx, ecx
je 0x45da0e
push dword [0x4a25b0]
call dword [sym.imp.MMFS2.dll_Ordinal_389]
mov dword [0x4a25d0], eax
test eax, eax
je 0x45da0e
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 4]
mov ecx, edi
call fcn.00404c90
test eax, eax
je 0x45da34
nop dword [eax]
xor edx, edx
mov ecx, edi
call fcn.00404e60
test eax, eax
jne 0x45da20
mov ecx, edi
call fcn.00405060
mov ecx, edi
call fcn.00403c30
jmp 0x45d924