Function at 0x45d360
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 0x45d70e
cmp word [esp + 0x38], 0
je 0x45d70e
push 8
mov dword [0x4a25a0], esi
call fcn.00462522
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 0x45d3e5
push str.SetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x45d3e7
xor eax, eax
push 0xc
mov dword [esi + 4], eax
push 0x14
mov dword [0x4a23a0], esi
call fcn.00465ff4
push 0xc
push 0x14
mov dword [0x4a2540], eax
call fcn.00465ff4
add esp, 0x10
mov dword [0x4a253c], eax
call fcn.00456290
mov dword [0x4a26d4], 0x4515d0
mov dword [0x4a26c4], 0x44b3b0
mov dword [0x4a26c8], 0x44b400
mov dword [0x4a26cc], 0x44bf30
mov dword [0x4a26d0], 0x44bfe0
mov dword [0x4a26d8], 0x44b7f0
mov dword [0x4a270c], 0x44b7d0
mov dword [0x4a26dc], 0x44b8e0
mov dword [0x4a2710], 0x44b880
mov dword [0x4a26e0], 0x44b590
mov dword [0x4a2714], 0x44b570
mov dword [0x4a26e4], 0x44b5f0
mov dword [0x4a26f0], 0x44b980
mov dword [0x4a26f4], 0x44bb80
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 0x45d4b7
mov ecx, esi
xor eax, eax
cmp edx, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.00463ae7
add esp, 8
test eax, eax
je 0x45d4d7
lea esi, [eax + 2]
mov ecx, esi
call fcn.00456430
call fcn.00456310
push 2
push 0x104
call fcn.00465ff4
add esp, 8
mov dword [0x4a25ec], eax
test eax, eax
je 0x45d704
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 0x45d54a
push dword [0x4a27ac]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x45d704
push eax
call fcn.00467835
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 0x45d560
sub ecx, esi
sar ecx, 1
cmp ecx, 3
jle 0x45d583
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x45d583
xor eax, eax
mov word [edx + ecx*2 - 2], ax
call fcn.0040b930
push dword [0x4a27ac]
test eax, eax
jne 0x45d53f
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.MMFS2.dll_Ordinal_1055]
xor esi, esi
cmp dword [0x4a2570], esi
jne 0x45d5b6
mov esi, dword [0x4a2588]
test esi, esi
je 0x45d704
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], 0x45d300
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 0x45d6e7
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x45aae0
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0x48ea80
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45d6e7
cmp dword [0x4a2530], 0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov dword [0x4a25e0], 0xc000
jne 0x45d6b6
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 0x45d726
mov dword [0x4a2560], 0
test byte [0x4a2590], 1
je 0x45d704
push ecx
mov ecx, dword [0x4a25b0]
mov edx, 0xc1
call fcn.00456a40
add esp, 4
call fcn.00457690
call fcn.0040ca20
mov ecx, dword [esp + 0x244]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00462511
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 0x45d704
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 0x45d79d
mov eax, dword [0x4a25d4]
test eax, eax
je 0x45d79d
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x45d79d
test dword [eax], 0x40000000
je 0x45d79d
test byte [0x4a25bc], 0x40
je 0x45d79d
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 0x45d7ee
mov ecx, dword [0x4a25cc]
test ecx, ecx
je 0x45d7ee
push dword [0x4a25b0]
call dword [sym.imp.MMFS2.dll_Ordinal_389]
mov dword [0x4a25d0], eax
test eax, eax
je 0x45d7ee
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 4]
mov ecx, edi
call fcn.00404c90
test eax, eax
je 0x45d814
nop dword [eax]
xor edx, edx
mov ecx, edi
call fcn.00404e60
test eax, eax
jne 0x45d800
mov ecx, edi
call fcn.00405060
mov ecx, edi
call fcn.00403c30
jmp 0x45d704